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

  /external/dhcpcd/
defs.h 39 #ifndef DUID
40 # define DUID SYSCONFDIR "/" PACKAGE ".duid"
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...]

Completed in 445 milliseconds