Home | History | Annotate | Download | only in src

Lines Matching defs:clid

124   unsigned char *opt, *clid = NULL;
255 clid = option_ptr(opt, 0);
259 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len);
261 /* If this request is missing a clid, but we've seen one before,
263 if (lease && !clid && lease->clid)
266 clid = lease->clid;
270 emac = extended_hwaddr(mess->htype, mess->hlen, mess->chaddr, clid_len, clid, &emac_len);
362 config = find_config(daemon->dhcp_conf, context, clid, clid_len,
579 Only accept configs without CLID and HWADDR here, (they won't match)
708 clid = NULL;
905 ltmp->hwaddr, ltmp->clid_len, ltmp->clid, &len);
1199 lease_set_hwaddr(lease, mess->chaddr, clid, mess->hlen, mess->htype, clid_len);
1311 int clid_len, unsigned char *clid, int *len_out)
1313 if (hwlen == 0 && clid && clid_len > 3)
1315 if (clid[0] == hwtype)
1318 return clid + 1;
1322 if (clid[0] == ARPHRD_EUI64 && hwtype == ARPHRD_IEEE1394)
1325 return clid + 1;
1330 return clid;