Lines Matching refs:duid
254 get_duid(unsigned char *duid, const struct interface *iface) in get_duid() argument
262 unsigned char *p = duid; in get_duid()
278 hwaddr_aton(duid, option); in get_duid()
310 len = p - duid; in get_duid()
311 x = fprintf(f, "%s\n", hwaddr_ntoa(duid, len)); in get_duid()
466 unsigned char *duid = NULL; in client_setup() local
528 duid = xmalloc(DUID_LEN); in client_setup()
529 if ((len = get_duid(duid, iface)) == 0) in client_setup()
536 hwaddr_ntoa(duid, len)); in client_setup()
556 memcpy(iface->clientid + 6, duid, len); in client_setup()
557 free(duid); in client_setup()