/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...] |
dhcp.c | 664 unsigned char *clid, int clid_len, 676 if (config->clid_len == clid_len && 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 &&
|
dnsmasq.h | 407 int clid_len; /* length of client identifier */ member in struct:dhcp_lease 447 int clid_len; /* length of client identifier */ member in struct:dhcp_config 812 unsigned char *clid, int clid_len, 831 unsigned char *clid, int hw_len, int hw_type, int clid_len); 836 unsigned char *clid, int clid_len); 849 int clid_len, unsigned char *clid, int *len_out);
|
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...] |
dbus.c | 409 lease->hwaddr, lease->clid_len, lease->clid, &i);
|
option.c | [all...] |
/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;
|