Searched refs:hwlen (Results 1 – 12 of 12) sorted by relevance
/external/dhcpcd/ |
D | arp.c | 58 ar.ar_hln = iface->hwlen; in send_arp() 63 memcpy(p, iface->hwaddr, iface->hwlen); in send_arp() 64 p += iface->hwlen; in send_arp() 68 retval = iface->hwlen; in send_arp() 146 if (ar.ar_hln == iface->hwlen && in handle_arp_packet() 147 memcmp(hw_s, iface->hwaddr, iface->hwlen) == 0) in handle_arp_packet()
|
D | duid.c | 89 memcpy(p, iface->hwaddr, iface->hwlen); in get_duid() 90 p += iface->hwlen; in get_duid()
|
D | net.c | 130 hwaddr_ntoa(const unsigned char *hwaddr, size_t hwlen) in hwaddr_ntoa() argument 135 for (i = 0; i < hwlen && i < HWADDR_LEN; i++) { in hwaddr_ntoa() 446 ifp->hwlen = sdl->sdl_alen; in discover_interfaces() 450 memcpy(ifp->hwaddr, CLLADDR(sdl), ifp->hwlen); in discover_interfaces() 454 ifp->hwlen = sll->sll_halen; in discover_interfaces() 455 if (ifp->hwlen != 0) in discover_interfaces() 456 memcpy(ifp->hwaddr, sll->sll_addr, ifp->hwlen); in discover_interfaces()
|
D | dhcpcd.c | 279 iface->hwlen >= sizeof(xid)) in dhcp_xid() 281 memcpy(&xid, (iface->hwaddr + iface->hwlen) - sizeof(xid), in dhcp_xid() 704 if (iface->hwlen <= sizeof(dhcp->chaddr) && in handle_dhcp_packet() 705 memcmp(dhcp->chaddr, iface->hwaddr, iface->hwlen)) in handle_dhcp_packet() 772 if (iface->hwlen > DHCP_CHADDR_LEN) in configure_interface1() 810 len = iface->hwlen + 1; in configure_interface1() 815 iface->hwlen); in configure_interface1() 823 hwaddr_ntoa(iface->hwaddr, iface->hwlen)); in configure_interface1() 1135 if (iface->hwlen == 0 && ifo->clientid[0] == '\0') { in start_interface() 1268 ifn->hwlen = ifp->hwlen; in handle_interface() [all …]
|
D | lpf.c | 140 su.sll.sll_halen = iface->hwlen; in send_raw_packet() 145 memset(&su.sll.sll_addr, 0xff, iface->hwlen); in send_raw_packet()
|
D | dhcpcd.h | 91 size_t hwlen; member
|
D | dhcp.h | 141 uint8_t hwlen; /* hardware address length */ member
|
D | dhcp.c | 867 dhcp->hwlen = iface->hwlen; in make_message() 868 memcpy(&dhcp->chaddr, &iface->hwaddr, iface->hwlen); in make_message()
|
/external/grub/netboot/ |
D | etherboot.h | 267 char hwlen; member
|
D | main.c | 262 arpreq.hwlen = ETH_ALEN; in udp_transmit() 495 rarpreq.hwlen = ETH_ALEN; in rarp()
|
/external/dnsmasq/src/ |
D | dnsmasq.h | 845 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()
|