Searched refs:hw_len (Results 1 – 6 of 6) sorted by relevance
/external/dnsmasq/src/ |
D | lease.c | 28 int clid_len, hw_len, hw_type; in lease_init() local 71 hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char*) daemon->dhcp_buff2, in lease_init() 74 if (hw_type == 0 && hw_len != 0) hw_type = ARPHRD_ETHER; in lease_init() 99 (unsigned char*) daemon->packet, hw_len, hw_type, clid_len); in lease_init() 257 struct dhcp_lease* lease_find_by_client(unsigned char* hwaddr, int hw_len, int hw_type, in lease_find_by_client() argument 268 if ((!lease->clid || !clid) && hw_len != 0 && lease->hwaddr_len == hw_len && in lease_find_by_client() 269 lease->hwaddr_type == hw_type && memcmp(hwaddr, lease->hwaddr, hw_len) == 0) in lease_find_by_client() 330 int hw_len, int hw_type, int clid_len) { in lease_set_hwaddr() argument 331 if (hw_len != lease->hwaddr_len || hw_type != lease->hwaddr_type || in lease_set_hwaddr() 332 (hw_len != 0 && memcmp(lease->hwaddr, hwaddr, hw_len) != 0)) { in lease_set_hwaddr() [all …]
|
D | dhcp.c | 406 int hw_len, struct dhcp_netid* netids, time_t now) { in address_allocate() argument 417 for (j = 0, i = 0; i < hw_len; i++) j += hwaddr[i] + (hwaddr[i] << 8) + (hwaddr[i] << 16); in address_allocate() 521 int hw_len, int hw_type, char* hostname) { in find_config() argument 542 if (config_has_mac(config, hwaddr, hw_len, hw_type) && is_addr_in_context(context, config)) in find_config() 555 if (conf_addr->wildcard_mask != 0 && conf_addr->hwaddr_len == hw_len && in find_config() 557 (new = memcmp_masked(conf_addr->hwaddr, hwaddr, hw_len, in find_config()
|
D | dnsmasq.h | 756 int hw_len, struct dhcp_netid* netids, time_t now); 760 int hw_len, int hw_type, char* hostname); 776 int hw_len, int hw_type, int clid_len); 780 struct dhcp_lease* lease_find_by_client(unsigned char* hwaddr, int hw_len, int hw_type,
|
/external/u-boot/drivers/usb/gadget/ |
D | ci_udc.h | 88 uint32_t hw_len; member
|
D | ci_udc.c | 372 ci_req->hw_len = req->length; in ci_bounce() 387 ci_req->hw_len = ci_req->b_len; in ci_bounce()
|
/external/u-boot/drivers/net/ |
D | cpsw.c | 216 u32 hw_len; member 739 desc_write(desc, hw_len, len); in cpdma_submit()
|