Home
last modified time | relevance | path

Searched refs:hwaddr_type (Results 1 – 7 of 7) 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.c660 (conf_addr->hwaddr_type == type || conf_addr->hwaddr_type == 0) && in config_has_mac()
713 (conf_addr->hwaddr_type == hw_type || conf_addr->hwaddr_type == 0) && in find_config()
833 (conf_addr->hwaddr_type == ARPHRD_ETHER || conf_addr->hwaddr_type == 0) && in dhcp_read_ethers()
868 config->hwaddr->hwaddr_type = ARPHRD_ETHER; in dhcp_read_ethers()
Ddnsmasq.h419 int hwaddr_len, hwaddr_type; member
439 int hwaddr_len, hwaddr_type; member
525 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.c1821 &newhw->wildcard_mask, &newhw->hwaddr_type); in one_opt()
2086 … new->hwaddr_len = parse_hex(comma, new->hwaddr, DHCP_CHADDR_MAX, &new->mask, &new->hwaddr_type); in one_opt()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch375 buf->hwaddr_type = lease->hwaddr_type;