/external/dnsmasq/contrib/wrt/ |
dhcp_release.c | 311 unsigned int clid_len = parse_hex(argv[4], p+2, 255, NULL); local 313 *(p++) = clid_len; 314 p += clid_len;
|
/external/dnsmasq/src/ |
helper.c | 38 unsigned char clid_len, hostname_len, uclass_len, vclass_len, shost_len; member in struct:script_data 142 if (!read_write(pipefd[0], buf, data.clid_len, 1)) 144 for (p = daemon->packet, i = 0; i < data.clid_len; i++) 147 if (i != data.clid_len - 1) 195 if (data.clid_len != 0) 302 unsigned int hostname_len = 0, clid_len = 0, vclass_len = 0; local 316 clid_len = lease->clid_len; 320 size = sizeof(struct script_data) + clid_len + vclass_len + uclass_len + shost_len + hostname_len; 341 buf->clid_len = clid_len [all...] |
lease.c | 29 int clid_len, hw_len, hw_type; local 87 clid_len = 0; 89 clid_len = parse_hex(daemon->packet, (unsigned char *)daemon->packet, 255, NULL, NULL); 106 lease_set_hwaddr(lease, (unsigned char *)daemon->dhcp_buff2, (unsigned char *)daemon->packet, hw_len, hw_type, clid_len); local 154 if ((config = find_config(daemon->dhcp_conf, NULL, lease->clid, lease->clid_len, 205 if (lease->clid && lease->clid_len != 0) 207 for (i = 0; i < lease->clid_len - 1; i++) 293 unsigned char *clid, int clid_len) 299 if (lease->clid && clid_len == lease->clid_len & [all...] |
rfc2131.c | 129 int clid_len = 0, ignore = 0, do_classes = 0, selecting = 0, pxearch = -1; local 254 clid_len = option_len(opt); 259 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len); 265 clid_len = lease->clid_len; 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, 905 ltmp->hwaddr, ltmp->clid_len, ltmp->clid, &len); [all...] |
dnsmasq.h | 405 int clid_len; /* length of client identifier */ member in struct:dhcp_lease 445 int clid_len; /* length of client identifier */ 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);
|