/external/dhcpcd-6.8.2/ |
D | arp.c | 68 ar.ar_hln = ifp->hwlen; in arp_request() 87 APPEND(ifp->hwaddr, ifp->hwlen); in arp_request() 90 APPEND(dest_hw_addr, ifp->hwlen); in arp_request() 92 ZERO(ifp->hwlen); in arp_request() 112 hwaddr_ntoa(amsg->sha, astate->iface->hwlen, in arp_report_conflicted() 172 if (ar.ar_hln == ifn->hwlen && in arp_packet() 173 memcmp(hw_s, ifn->hwaddr, ifn->hwlen) == 0) in arp_packet() 290 if (astate->dest_hwlen == ifp->hwlen) in arp_probe1()
|
D | dhcpcd.c | 425 if (ifp->hwlen > DHCP_CHADDR_LEN) in configure_interface1() 427 else if (ifp->hwlen == 0 && !(ifo->options & DHCPCD_CLIENTID)) in configure_interface1() 475 if (ifp->hwlen >= sizeof(ifo->iaid)) in configure_interface1() 477 ifp->hwaddr + ifp->hwlen - sizeof(ifo->iaid), in configure_interface1() 987 iff->hwlen = ifp->hwlen; in dhcpcd_handleinterface() 988 if (ifp->hwlen != 0) in dhcpcd_handleinterface() 989 memcpy(iff->hwaddr, ifp->hwaddr, iff->hwlen); in dhcpcd_handleinterface() 1016 const uint8_t *hwaddr, uint8_t hwlen) in dhcpcd_handlehwaddr() argument 1025 if (hwlen > sizeof(ifp->hwaddr)) { in dhcpcd_handlehwaddr() 1031 if (ifp->hwlen == hwlen && memcmp(ifp->hwaddr, hwaddr, hwlen) == 0) in dhcpcd_handlehwaddr() [all …]
|
D | ipv4ll.c | 223 if (sizeof(seed) > ifp->hwlen) { in ipv4ll_start() 225 memcpy(&seed, ifp->hwaddr, ifp->hwlen); in ipv4ll_start() 227 memcpy(&seed, ifp->hwaddr + ifp->hwlen - sizeof(seed), in ipv4ll_start()
|
D | common.c | 310 hwaddr_ntoa(const unsigned char *hwaddr, size_t hwlen, char *buf, size_t buflen) in hwaddr_ntoa() argument 319 if (hwlen * 3 > buflen) { in hwaddr_ntoa() 325 for (i = 0; i < hwlen; i++) { in hwaddr_ntoa()
|
D | duid.c | 77 memcpy(p, ifp->hwaddr, ifp->hwlen); in duid_make() 78 p += ifp->hwlen; in duid_make()
|
D | if.c | 483 ifp->hwlen = sdl->sdl_alen; in if_discover() 487 memcpy(ifp->hwaddr, CLLADDR(sdl), ifp->hwlen); in if_discover() 492 ifp->hwlen = sll->sll_halen; in if_discover() 493 if (ifp->hwlen != 0) in if_discover() 494 memcpy(ifp->hwaddr, sll->sll_addr, ifp->hwlen); in if_discover()
|
D | dhcp.c | 754 dhcp->hwlen = (uint8_t)ifp->hwlen; in make_message() 755 memcpy(&dhcp->chaddr, &ifp->hwaddr, ifp->hwlen); in make_message() 1218 if (state->server_info.gw_hwlen != ifp->hwlen) { in read_lease() 1222 state->server_info.gw_hwlen, ifp->hwlen); in read_lease() 1482 ifp->hwlen >= sizeof(xid)) in dhcp_xid() 1484 memcpy(&xid, (ifp->hwaddr + ifp->hwlen) - sizeof(xid), in dhcp_xid() 2569 memcpy(state->server_info.gw_hwaddr, gw_hwaddr, ifp->hwlen); in save_gateway_addr() 2570 state->server_info.gw_hwlen = ifp->hwlen; in save_gateway_addr() 2665 if (state->server_info.gw_hwlen != ifp->hwlen) in start_unicast_arp() 2745 hwaddr_ntoa(amsg->sha, astate->iface->hwlen, buf, sizeof(buf)); in dhcp_arp_conflicted() [all …]
|
D | dhcpcd.h | 71 uint8_t hwlen; member
|
D | ipv6.c | 391 ifp->hwaddr, ifp->hwlen, in ipv6_makestableprivate() 1128 if (ifp->hwlen != 6 && ifp->hwlen != 8) { in ipv6_addlinklocal() 1132 if (memcmp(ifp->hwaddr, allzero, ifp->hwlen) == 0 || in ipv6_addlinklocal() 1133 memcmp(ifp->hwaddr, allone, ifp->hwlen) == 0) in ipv6_addlinklocal() 1167 if (ifp->hwlen == 6) { in ipv6_addlinklocal() 1176 } else if (ifp->hwlen == 8) in ipv6_addlinklocal()
|
D | dhcp.h | 164 uint8_t hwlen; /* hardware address length */ member
|
D | if-linux.c | 1212 su.sll.sll_halen = (unsigned char)ifp->hwlen; in if_sendrawpacket() 1218 memcpy(&su.sll.sll_addr, dest_hw_addr, ifp->hwlen); in if_sendrawpacket() 1220 memset(&su.sll.sll_addr, 0xff, ifp->hwlen); in if_sendrawpacket()
|
D | ipv6nd.c | 236 state->rslen = sizeof(*rs) + (size_t)ROUNDUP8(ifp->hwlen + 2); in ipv6nd_makersprobe() 247 nd->nd_opt_len = (uint8_t)((ROUNDUP8(ifp->hwlen + 2)) >> 3); in ipv6nd_makersprobe() 248 memcpy(nd + 1, ifp->hwaddr, ifp->hwlen); in ipv6nd_makersprobe()
|
D | dhcp6.c | 326 ifp->hwlen >= sizeof(xid)) in dhcp6_newxid() 328 memcpy(&xid, (ifp->hwaddr + ifp->hwlen) - sizeof(xid), in dhcp6_newxid()
|
/external/syslinux/core/lwip/src/include/netif/ |
D | etharp.h | 118 PACK_STRUCT_FIELD(u8_t hwlen);
|
/external/syslinux/core/lwip/src/netif/ |
D | undiif.c | 125 PACK_STRUCT_FIELD(u8_t hwlen); 594 hdr->hwlen = netif->hwaddr_len; in undiarp_request() 1338 (hdr->hwlen != netif->hwaddr_len) || in undiarp_input() 1343 hdr->hwtype, hdr->hwlen, hdr->proto, hdr->protolen)); in undiarp_input()
|
D | etharp.c | 703 (hdr->hwlen != ETHARP_HWADDR_LEN) || 708 hdr->hwtype, hdr->hwlen, hdr->proto, hdr->protolen)); 1173 hdr->hwlen = ETHARP_HWADDR_LEN;
|
/external/dnsmasq/src/ |
D | dnsmasq.h | 850 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,
|
D | rfc2131.c | 1310 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr, in extended_hwaddr() argument 1313 if (hwlen == 0 && clid && clid_len > 3) in extended_hwaddr() 1333 *len_out = hwlen; in extended_hwaddr()
|