OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:duid
(Results
1 - 6
of
6
) sorted by null
/external/dhcpcd/
duid.h
33
size_t get_duid(unsigned char *
duid
, const struct interface *iface);
duid.c
38
#include "
duid
.h"
42
get_duid(unsigned char *
duid
, const struct interface *iface)
50
unsigned char *p =
duid
;
54
/* If we already have a
DUID
then use it as it's never supposed
56
if ((f = fopen(
DUID
, "r"))) {
60
hwaddr_aton(
duid
, line);
74
if (!(f = fopen(
DUID
, "w")))
82
/* time returns seconds from jan 1 1970, but
DUID
-LLT is
91
len = p -
duid
;
92
x = fprintf(f, "%s\n", hwaddr_ntoa(
duid
, len))
[
all
...]
Android.mk
9
LOCAL_SRC_FILES := arp.c bind.c common.c control.c dhcp.c dhcpcd.c
duid
.c \
client.c
256
get_duid(unsigned char *
duid
, const struct interface *iface)
264
unsigned char *p =
duid
;
268
/* If we already have a
DUID
then use it as it's never supposed
270
if ((f = fopen(
DUID
, "r"))) {
280
hwaddr_aton(
duid
, option);
295
if (!(f = fopen(
DUID
, "w")))
303
/* time returns seconds from jan 1 1970, but
DUID
-LLT is
312
len = p -
duid
;
313
x = fprintf(f, "%s\n", hwaddr_ntoa(
duid
, len));
315
/* Failed to write the
duid
? scrub it, we cannot use it *
469
unsigned char *
duid
= NULL;
local
[
all
...]
Makefile
4
SRCS= arp.c bind.c common.c control.c dhcp.c dhcpcd.c
duid
.c eloop.c
dhcpcd.c
65
#include "
duid
.h"
752
uint8_t *
duid
;
local
791
duid
= xmalloc(DUID_LEN);
792
if ((len = get_duid(
duid
, iface)) == 0)
[
all
...]
Completed in 69 milliseconds