HomeSort by relevance Sort by last modified time
    Searched refs:clid (Results 1 - 8 of 8) sorted by null

  /external/dnsmasq/src/
lease.c 154 if ((config = find_config(daemon->dhcp_conf, NULL, lease->clid, lease->clid_len,
205 if (lease->clid && lease->clid_len != 0)
208 ourprintf(&err, "%.2x:", lease->clid[i]);
209 ourprintf(&err, "%.2x\n", lease->clid[i]);
293 unsigned char *clid, int clid_len)
297 if (clid)
299 if (lease->clid && clid_len == lease->clid_len &&
300 memcmp(clid, lease->clid, clid_len) == 0)
304 if ((!lease->clid || !clid) &&
    [all...]
rfc2131.c 124 unsigned char *opt, *clid = NULL; local
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,
    [all...]
dhcp.c 664 unsigned char *clid, int clid_len,
672 if (clid)
677 memcmp(config->clid, clid, clid_len) == 0 &&
683 if (*clid == 0 && config->clid_len == clid_len-1 &&
684 memcmp(config->clid, clid+1, clid_len-1) == 0 &&
745 /* cannot have a clid */
helper.c 141 /* and CLID into packet */
315 if (lease->clid)
373 memcpy(p, lease->clid, clid_len);
dnsmasq.h 406 unsigned char *clid; /* clientid */ member in struct:dhcp_lease
412 char aux_changed; /* CLID or expiry changed */
446 unsigned char *clid; /* clientid */ member in struct:dhcp_config
810 unsigned char *clid, int clid_len,
829 unsigned char *clid, int hw_len, int hw_type, int clid_len);
834 unsigned char *clid, int clid_len);
847 int clid_len, unsigned char *clid, int *len_out);
dbus.c 409 lease->hwaddr, lease->clid_len, lease->clid, &i);
option.c     [all...]
  /external/dhcpcd/
if-options.c 175 parse_string_hwaddr(char *sbuf, ssize_t slen, const char *str, int clid)
205 if (clid && *str) {

Completed in 138 milliseconds