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 | dhcpcd.c | 295 iface->hwlen >= sizeof(xid)) in dhcp_xid() 297 memcpy(&xid, (iface->hwaddr + iface->hwlen) - sizeof(xid), in dhcp_xid() 730 if (iface->hwlen <= sizeof(dhcp->chaddr) && in handle_dhcp_packet() 731 memcmp(dhcp->chaddr, iface->hwaddr, iface->hwlen)) in handle_dhcp_packet() 800 if (iface->hwlen > DHCP_CHADDR_LEN) in configure_interface1() 838 len = iface->hwlen + 1; in configure_interface1() 843 iface->hwlen); in configure_interface1() 849 else if (iface->hwlen) in configure_interface1() 851 hwaddr_ntoa(iface->hwaddr, iface->hwlen)); in configure_interface1() 1202 if (iface->hwlen == 0 && ifo->clientid[0] == '\0') { in start_interface() [all …]
|
D | net.c | 146 hwaddr_ntoa(const unsigned char *hwaddr, size_t hwlen) in hwaddr_ntoa() argument 151 for (i = 0; i < hwlen && i < HWADDR_LEN; i++) { in hwaddr_ntoa() 474 ifp->hwlen = sdl->sdl_alen; in discover_interfaces() 478 memcpy(ifp->hwaddr, CLLADDR(sdl), ifp->hwlen); in discover_interfaces() 482 ifp->hwlen = sll->sll_halen; in discover_interfaces() 483 if (ifp->hwlen != 0) in discover_interfaces() 484 memcpy(ifp->hwaddr, sll->sll_addr, ifp->hwlen); in discover_interfaces()
|
D | lpf.c | 150 su.sll.sll_halen = iface->hwlen; in send_raw_packet() 155 memset(&su.sll.sll_addr, 0xff, iface->hwlen); in send_raw_packet()
|
D | dhcpcd.h | 116 size_t hwlen; member
|
D | dhcpcd_test.cpp | 53 uint8_t hwlen; /* hardware address length */ member
|
D | dhcp.h | 142 uint8_t hwlen; /* hardware address length */ member
|
D | ipv6rs.c | 172 ifp->rslen = sizeof(*rs) + ROUNDUP8(ifp->hwlen + 2); in ipv6rs_makeprobe() 183 nd->nd_opt_len = (ROUNDUP8(ifp->hwlen + 2)) >> 3; in ipv6rs_makeprobe() 184 memcpy(nd + 1, ifp->hwaddr, ifp->hwlen); in ipv6rs_makeprobe()
|
D | dhcp.c | 943 dhcp->hwlen = iface->hwlen; in make_message() 944 memcpy(&dhcp->chaddr, &iface->hwaddr, iface->hwlen); in make_message()
|
/external/dnsmasq/src/ |
D | dnsmasq.h | 848 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()
|