HomeSort by relevance Sort by last modified time
    Searched full:hw_len (Results 1 - 3 of 3) sorted by null

  /external/dnsmasq/src/
lease.c 29 int clid_len, hw_len, hw_type; local
79 hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, DHCP_CHADDR_MAX, NULL, &hw_type);
81 if (hw_type == 0 && hw_len != 0)
106 lease_set_hwaddr(lease, (unsigned char *)daemon->dhcp_buff2, (unsigned char *)daemon->packet, hw_len, hw_type, clid_len); local
292 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,
305 hw_len != 0 &&
306 lease->hwaddr_len == hw_len &&
308 memcmp(hwaddr, lease->hwaddr, hw_len) == 0)
378 unsigned char *clid, int hw_len, int hw_type, int clid_len)
380 if (hw_len != lease->hwaddr_len |
    [all...]
dhcp.c 531 struct in_addr *addrp, unsigned char *hwaddr, int hw_len,
544 for (j = 0, i = 0; i < hw_len; i++)
665 unsigned char *hwaddr, int hw_len,
691 if (config_has_mac(config, hwaddr, hw_len, hw_type) &&
707 conf_addr->hwaddr_len == hw_len &&
709 (new = memcmp_masked(conf_addr->hwaddr, hwaddr, hw_len, conf_addr->wildcard_mask)) > count)
dnsmasq.h 804 struct in_addr *addrp, unsigned char *hwaddr, int hw_len,
810 unsigned char *hwaddr, int hw_len,
828 unsigned char *clid, int hw_len, int hw_type, int clid_len);
832 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,

Completed in 49 milliseconds