HomeSort by relevance Sort by last modified time
    Searched refs:DUID (Results 1 - 3 of 3) sorted by null

  /external/dhcpcd/
config.h 65 #ifndef DUID
66 # define DUID SYSCONFDIR "/" PACKAGE ".duid"
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...]
dhcpcd.c 90 {"duid", no_argument, NULL, 'D'},
676 /* If the duid file exists, then enable duid by default
678 if ((f = fopen(DUID, "r"))) {

Completed in 21 milliseconds