Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dlease.c29 int clid_len, hw_len, hw_type; in lease_init() local
79 …arse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, DHCP_CHADDR_MAX, NULL, &hw_type); in lease_init()
81 if (hw_type == 0 && hw_len != 0) in lease_init()
82 hw_type = ARPHRD_ETHER; in lease_init()
106 …, (unsigned char *)daemon->dhcp_buff2, (unsigned char *)daemon->packet, hw_len, hw_type, clid_len); in lease_init()
292 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type, in lease_find_by_client() argument
307 lease->hwaddr_type == hw_type && in lease_find_by_client()
378 unsigned char *clid, int hw_len, int hw_type, int clid_len) in lease_set_hwaddr() argument
381 hw_type != lease->hwaddr_type || in lease_set_hwaddr()
386 lease->hwaddr_type = hw_type; in lease_set_hwaddr()
Ddnsmasq.h815 int hw_type, char *hostname);
832 unsigned char *clid, int hw_len, int hw_type, int clid_len);
836 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,
Ddhcp.c666 int hw_type, char *hostname) in find_config() argument
691 if (config_has_mac(config, hwaddr, hw_len, hw_type) && in find_config()
708 (conf_addr->hwaddr_type == hw_type || conf_addr->hwaddr_type == 0) && in find_config()
/external/toybox/toys/pending/
Darp.c39 char *hw_type;
233 if ((type = get_index(hwtype, TT.hw_type)) != ARPHRD_ETHER) in arp_main()
264 if (((toys.optflags & FLAG_H) && (get_index(hwtype, TT.hw_type) != h_type)) in arp_main()
/external/iptables/include/linux/netfilter_ipv4/
Dip_queue.h30 unsigned short hw_type; /* Hardware type */ member
/external/toybox/generated/
Dglobals.h355 char *hw_type; member