Lines Matching refs:clid
119 unsigned char *opt, *clid = NULL; in dhcp_reply() local
242 clid = option_ptr(opt, 0); in dhcp_reply()
246 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len); in dhcp_reply()
250 if (lease && !clid && lease->clid) { in dhcp_reply()
252 clid = lease->clid; in dhcp_reply()
256 emac = extended_hwaddr(mess->htype, mess->hlen, mess->chaddr, clid_len, clid, &emac_len); in dhcp_reply()
336 config = find_config(daemon->dhcp_conf, context, clid, clid_len, mess->chaddr, mess->hlen, in dhcp_reply()
628 if (have_config(config, CONFIG_NOCLID)) clid = NULL; in dhcp_reply()
803 ltmp->clid_len, ltmp->clid, &len); in dhcp_reply()
1063 lease_set_hwaddr(lease, mess->chaddr, clid, mess->hlen, mess->htype, clid_len); in dhcp_reply()
1164 unsigned char* clid, int* len_out) { in extended_hwaddr() argument
1165 if (hwlen == 0 && clid && clid_len > 3) { in extended_hwaddr()
1166 if (clid[0] == hwtype) { in extended_hwaddr()
1168 return clid + 1; in extended_hwaddr()
1172 if (clid[0] == ARPHRD_EUI64 && hwtype == ARPHRD_IEEE1394) { in extended_hwaddr()
1174 return clid + 1; in extended_hwaddr()
1179 return clid; in extended_hwaddr()