Home
last modified time | relevance | path

Searched refs:hwaddr_len (Results 1 – 13 of 13) sorted by relevance

/external/syslinux/core/lwip/src/netif/
Dundiif.c136 return sizeof(struct arp_hdr) + (netif->hwaddr_len + sizeof(uint32_t))*2; in arp_hdr_len()
225 for(i = 0; i < netif->hwaddr_len; i++, hdr_ptr++) {
226 printf("%02x%c", *hdr_ptr,(i +1) == netif->hwaddr_len?' ':':');
232 for(i = 0; i < netif->hwaddr_len; i++, hdr_ptr++) {
233 printf("%02x%c", *hdr_ptr, (i +1) == netif->hwaddr_len?' ':':');
420 netif->hwaddr_len = MAC_len; in low_level_init()
429 for (i = 0; i < netif->hwaddr_len; i++) in low_level_init()
520 memcpy(low_dest, dest, netif->hwaddr_len); in undi_transmit()
594 hdr->hwlen = netif->hwaddr_len; in undiarp_request()
598 memcpy(hdr_ptr, netif->hwaddr, netif->hwaddr_len); in undiarp_request()
[all …]
Detharp.c415 (netif->hwaddr_len == ETHARP_HWADDR_LEN)); in etharp_send_ip()
446 LWIP_ASSERT("netif->hwaddr_len == ETHARP_HWADDR_LEN", netif->hwaddr_len == ETHARP_HWADDR_LEN);
766 (netif->hwaddr_len == ETHARP_HWADDR_LEN));
1148 (netif->hwaddr_len == ETHARP_HWADDR_LEN));
Dethernetif.c90 netif->hwaddr_len = ETHARP_HWADDR_LEN;
/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()
134 for (i = 0; (i < data.hwaddr_len) && (i < DHCP_CHADDR_MAX); i++) in create_helper()
137 if (i != data.hwaddr_len - 1) in create_helper()
339 buf->hwaddr_len = lease->hwaddr_len; in queue_script()
348 memcpy(buf->hwaddr, lease->hwaddr, lease->hwaddr_len); 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()
195 for (i = 0; i < lease->hwaddr_len; i++) in lease_update_file()
198 if (i != lease->hwaddr_len - 1) in lease_update_file()
306 lease->hwaddr_len == hw_len && in lease_find_by_client()
335 lease->hwaddr_len = 256; /* illegal value */ in lease_allocate()
380 if (hw_len != lease->hwaddr_len || in lease_set_hwaddr()
385 lease->hwaddr_len = hw_len; in lease_set_hwaddr()
Ddnsmasq.h413 int hwaddr_len, hwaddr_type; member
433 int hwaddr_len, hwaddr_type; member
518 int hwaddr_len, hwaddr_type; member
Drfc2131.c274 if (mac->hwaddr_len == mess->hlen && in dhcp_reply()
430 (lease->hwaddr_len != mess->hlen || in dhcp_reply()
432 memcmp(lease->hwaddr, mess->chaddr, lease->hwaddr_len) != 0)) 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()
1095 print_mac(daemon->namebuff, ltmp->hwaddr, ltmp->hwaddr_len), in dhcp_reply()
Ddhcp.c592 conf_addr->hwaddr_len == len && in config_has_mac()
645 conf_addr->hwaddr_len == hw_len && in find_config()
Doption.c1789 newhw->hwaddr_len = parse_hex(a[j], newhw->hwaddr, DHCP_CHADDR_MAX, in one_opt()
2055 … new->hwaddr_len = parse_hex(comma, new->hwaddr, DHCP_CHADDR_MAX, &new->mask, &new->hwaddr_type); in one_opt()
/external/syslinux/core/lwip/src/include/lwip/
Dnetif.h184 u8_t hwaddr_len; member
/external/syslinux/core/lwip/src/core/
Ddhcp.c1545 for (i = 0; i < netif->hwaddr_len; i++) { in dhcp_recv()
1664 dhcp->msg_out->hlen = netif->hwaddr_len; in dhcp_create_msg()
1683 dhcp->msg_out->chaddr[i] = (i < netif->hwaddr_len) ? netif->hwaddr[i] : 0/* pad byte*/; in dhcp_create_msg()
/external/syslinux/core/lwip/src/core/snmp/
Dmib2.c2401 od->v_len = netif->hwaddr_len; in ifentry_get_object_def()
/external/syslinux/core/lwip/
DCHANGELOG1588 of 6 to avoid loading netif->hwaddr_len every time (since this file is only