Home
last modified time | relevance | path

Searched refs:hwaddr_type (Results 1 – 6 of 6) sorted by relevance

/external/dnsmasq/src/
Dhelper.c36 unsigned char action, hwaddr_len, hwaddr_type; member
120 if (data.hwaddr_type != ARPHRD_ETHER || data.hwaddr_len == 0) in create_helper()
121 p += sprintf(p, "%.2x-", data.hwaddr_type); in create_helper()
289 buf->hwaddr_type = lease->hwaddr_type; in queue_script()
Dlease.c146 lease->hwaddr, lease->hwaddr_len, lease->hwaddr_type, NULL)) && in lease_update_from_configs()
178 if (lease->hwaddr_type != ARPHRD_ETHER || lease->hwaddr_len == 0) in lease_update_file()
179 ourprintf(&err, "%.2x-", lease->hwaddr_type); in lease_update_file()
269 lease->hwaddr_type == hw_type && memcmp(hwaddr, lease->hwaddr, hw_len) == 0) in lease_find_by_client()
331 if (hw_len != lease->hwaddr_len || hw_type != lease->hwaddr_type || in lease_set_hwaddr()
335 lease->hwaddr_type = hw_type; in lease_set_hwaddr()
Ddhcp.c512 (conf_addr->hwaddr_type == type || conf_addr->hwaddr_type == 0) && in config_has_mac()
556 (conf_addr->hwaddr_type == hw_type || conf_addr->hwaddr_type == 0) && in find_config()
Ddnsmasq.h414 int hwaddr_len, hwaddr_type; member
434 int hwaddr_len, hwaddr_type; member
519 int hwaddr_len, hwaddr_type; member
Drfc2131.c261 (mac->hwaddr_type == mess->htype || mac->hwaddr_type == 0) && in dhcp_reply()
394 (lease->hwaddr_len != mess->hlen || lease->hwaddr_type != mess->htype || in dhcp_reply()
799 … !config_has_mac(config, ltmp->hwaddr, ltmp->hwaddr_len, ltmp->hwaddr_type)) { in dhcp_reply()
802 extended_hwaddr(ltmp->hwaddr_type, ltmp->hwaddr_len, ltmp->hwaddr, in dhcp_reply()
973 config_has_mac(config, ltmp->hwaddr, ltmp->hwaddr_len, ltmp->hwaddr_type)) { in dhcp_reply()
Doption.c1625 &newhw->wildcard_mask, &newhw->hwaddr_type); in one_opt()
1862 parse_hex(comma, new->hwaddr, DHCP_CHADDR_MAX, &new->mask, &new->hwaddr_type); in one_opt()