Home
last modified time | relevance | path

Searched refs:hwlen (Results 1 – 12 of 12) sorted by relevance

/external/dhcpcd/
Darp.c58 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()
Dduid.c89 memcpy(p, iface->hwaddr, iface->hwlen); in get_duid()
90 p += iface->hwlen; in get_duid()
Dnet.c130 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()
Ddhcpcd.c279 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 …]
Dlpf.c140 su.sll.sll_halen = iface->hwlen; in send_raw_packet()
145 memset(&su.sll.sll_addr, 0xff, iface->hwlen); in send_raw_packet()
Ddhcpcd.h91 size_t hwlen; member
Ddhcp.h141 uint8_t hwlen; /* hardware address length */ member
Ddhcp.c867 dhcp->hwlen = iface->hwlen; in make_message()
868 memcpy(&dhcp->chaddr, &iface->hwaddr, iface->hwlen); in make_message()
/external/grub/netboot/
Detherboot.h267 char hwlen; member
Dmain.c262 arpreq.hwlen = ETH_ALEN; in udp_transmit()
495 rarpreq.hwlen = ETH_ALEN; in rarp()
/external/dnsmasq/src/
Ddnsmasq.h845 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,
Drfc2131.c1310 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()