Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dhelper.c37 unsigned char action, hwaddr_len, hwaddr_type; member
132 if (data.hwaddr_type != ARPHRD_ETHER || data.hwaddr_len == 0) in create_helper()
133 p += sprintf(p, "%.2x-", data.hwaddr_type); in create_helper()
340 buf->hwaddr_type = lease->hwaddr_type; in queue_script()
Dlease.c155 lease->hwaddr, lease->hwaddr_len, lease->hwaddr_type, NULL)) && in lease_update_from_configs()
193 if (lease->hwaddr_type != ARPHRD_ETHER || lease->hwaddr_len == 0) in lease_update_file()
194 ourprintf(&err, "%.2x-", lease->hwaddr_type); in lease_update_file()
307 lease->hwaddr_type == hw_type && in lease_find_by_client()
381 hw_type != lease->hwaddr_type || in lease_set_hwaddr()
386 lease->hwaddr_type = hw_type; in lease_set_hwaddr()
Ddhcp.c593 (conf_addr->hwaddr_type == type || conf_addr->hwaddr_type == 0) && in config_has_mac()
646 (conf_addr->hwaddr_type == hw_type || conf_addr->hwaddr_type == 0) && in find_config()
Ddnsmasq.h413 int hwaddr_len, hwaddr_type; member
433 int hwaddr_len, hwaddr_type; member
518 int hwaddr_len, hwaddr_type; member
Drfc2131.c275 (mac->hwaddr_type == mess->htype || mac->hwaddr_type == 0) && in dhcp_reply()
431 lease->hwaddr_type != mess->htype || in dhcp_reply()
901 !config_has_mac(config, ltmp->hwaddr, ltmp->hwaddr_len, ltmp->hwaddr_type)) in dhcp_reply()
904 unsigned char *mac = extended_hwaddr(ltmp->hwaddr_type, ltmp->hwaddr_len, in dhcp_reply()
1092 if (config && config_has_mac(config, ltmp->hwaddr, ltmp->hwaddr_len, ltmp->hwaddr_type)) in dhcp_reply()
Doption.c1790 &newhw->wildcard_mask, &newhw->hwaddr_type); in one_opt()
2055 … new->hwaddr_len = parse_hex(comma, new->hwaddr, DHCP_CHADDR_MAX, &new->mask, &new->hwaddr_type); in one_opt()