/external/dhcpcd-6.8.2/ |
duid.c | 51 #include "duid.h" 69 /* time returns seconds from jan 1 1970, but DUID-LLT is 92 /* If we already have a DUID then use it as it's never supposed 94 if ((fp = fopen(DUID, "r"))) { 114 "error reading DUID: %s: %m", DUID); 128 "picked interface %s to generate a DUID", 137 if (!(fp = fopen(DUID, "w"))) { 138 logger(ifp->ctx, LOG_ERR, "error writing DUID: %s: %m", DUID); [all...] |
dhcpcd.h | 102 unsigned char *duid; member in struct:dhcpcd_ctx
|
Android.mk | 26 duid.c \
|
Makefile | 4 SRCS= common.c control.c dhcpcd.c duid.c eloop.c
|
dhcpcd.c | 65 #include "duid.h" 424 * force a DUID based ClientID. */ 775 /* Report client DUID */ 776 if (ifp->ctx->duid == NULL) { 780 logger(ifp->ctx, LOG_INFO, "DUID %s", 781 hwaddr_ntoa(ifp->ctx->duid, [all...] |
dhcp6.c | 48 #include "duid.h" 757 memcpy(D6_OPTION_DATA(o), ifp->ctx->duid, ifp->ctx->duid_len); [all...] |
dhcp.c | 59 #include "duid.h" [all...] |
/external/toybox/toys/pending/ |
dhcp6.c | 106 } DUID; 127 static DUID *duid; variable 188 if(!duid) { 190 duid = (DUID*)malloc(sizeof(DUID)); 191 duid->type = htons(1); 192 duid->hwtype = htons(1); 193 duid->time = htonl((uint32_t)(time(NULL) - 946684800) & 0xffffffff) [all...] |
dhcpd.c | 186 uint8_t duid[20]; member in struct:static_lease6_s 203 uint8_t duid[20]; member in struct:__anon23101 [all...] |