Lines Matching refs:clid
124 unsigned char *opt, *clid = NULL; in dhcp_reply() local
255 clid = option_ptr(opt, 0); in dhcp_reply()
259 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len); in dhcp_reply()
263 if (lease && !clid && lease->clid) in dhcp_reply()
266 clid = lease->clid; in dhcp_reply()
270 emac = extended_hwaddr(mess->htype, mess->hlen, mess->chaddr, clid_len, clid, &emac_len); in dhcp_reply()
362 config = find_config(daemon->dhcp_conf, context, clid, clid_len, in dhcp_reply()
708 clid = NULL; in dhcp_reply()
905 ltmp->hwaddr, ltmp->clid_len, ltmp->clid, &len); in dhcp_reply()
1199 lease_set_hwaddr(lease, mess->chaddr, clid, mess->hlen, mess->htype, clid_len); in dhcp_reply()
1311 int clid_len, unsigned char *clid, int *len_out) in extended_hwaddr() argument
1313 if (hwlen == 0 && clid && clid_len > 3) in extended_hwaddr()
1315 if (clid[0] == hwtype) in extended_hwaddr()
1318 return clid + 1; in extended_hwaddr()
1322 if (clid[0] == ARPHRD_EUI64 && hwtype == ARPHRD_IEEE1394) in extended_hwaddr()
1325 return clid + 1; in extended_hwaddr()
1330 return clid; in extended_hwaddr()