Lines Matching refs:hw_type
28 int clid_len, hw_len, hw_type;
72 DHCP_CHADDR_MAX, NULL, &hw_type);
74 if (hw_type == 0 && hw_len != 0) hw_type = ARPHRD_ETHER;
99 (unsigned char*) daemon->packet, hw_len, hw_type, clid_len);
257 struct dhcp_lease* lease_find_by_client(unsigned char* hwaddr, int hw_len, int hw_type,
269 lease->hwaddr_type == hw_type && memcmp(hwaddr, lease->hwaddr, hw_len) == 0)
330 int hw_len, int hw_type, int clid_len) {
331 if (hw_len != lease->hwaddr_len || hw_type != lease->hwaddr_type ||
335 lease->hwaddr_type = hw_type;