HomeSort by relevance Sort by last modified time
    Searched refs:hwlen (Results 1 - 18 of 18) sorted by null

  /external/dhcpcd-6.8.2/
arp.c 68 ar.ar_hln = ifp->hwlen;
87 APPEND(ifp->hwaddr, ifp->hwlen);
90 APPEND(dest_hw_addr, ifp->hwlen);
92 ZERO(ifp->hwlen);
112 hwaddr_ntoa(amsg->sha, astate->iface->hwlen,
172 if (ar.ar_hln == ifn->hwlen &&
173 memcmp(hw_s, ifn->hwaddr, ifn->hwlen) == 0)
290 if (astate->dest_hwlen == ifp->hwlen)
duid.c 77 memcpy(p, ifp->hwaddr, ifp->hwlen);
78 p += ifp->hwlen;
common.c 310 hwaddr_ntoa(const unsigned char *hwaddr, size_t hwlen, char *buf, size_t buflen)
319 if (hwlen * 3 > buflen) {
325 for (i = 0; i < hwlen; i++) {
ipv4ll.c 223 if (sizeof(seed) > ifp->hwlen) {
225 memcpy(&seed, ifp->hwaddr, ifp->hwlen);
227 memcpy(&seed, ifp->hwaddr + ifp->hwlen - sizeof(seed),
dhcpcd.c 425 if (ifp->hwlen > DHCP_CHADDR_LEN)
427 else if (ifp->hwlen == 0 && !(ifo->options & DHCPCD_CLIENTID))
475 if (ifp->hwlen >= sizeof(ifo->iaid))
477 ifp->hwaddr + ifp->hwlen - sizeof(ifo->iaid),
987 iff->hwlen = ifp->hwlen;
988 if (ifp->hwlen != 0)
989 memcpy(iff->hwaddr, ifp->hwaddr, iff->hwlen);
1016 const uint8_t *hwaddr, uint8_t hwlen)
1025 if (hwlen > sizeof(ifp->hwaddr))
    [all...]
dhcpcd.h 71 uint8_t hwlen; member in struct:interface
if.c 483 ifp->hwlen = sdl->sdl_alen;
487 memcpy(ifp->hwaddr, CLLADDR(sdl), ifp->hwlen);
492 ifp->hwlen = sll->sll_halen;
493 if (ifp->hwlen != 0)
494 memcpy(ifp->hwaddr, sll->sll_addr, ifp->hwlen);
dhcp.c 754 dhcp->hwlen = (uint8_t)ifp->hwlen;
755 memcpy(&dhcp->chaddr, &ifp->hwaddr, ifp->hwlen);
1218 if (state->server_info.gw_hwlen != ifp->hwlen) {
1222 state->server_info.gw_hwlen, ifp->hwlen);
    [all...]
dhcp.h 164 uint8_t hwlen; /* hardware address length */ member in struct:dhcp_message
ipv6.c 391 ifp->hwaddr, ifp->hwlen,
1128 if (ifp->hwlen != 6 && ifp->hwlen != 8) {
1132 if (memcmp(ifp->hwaddr, allzero, ifp->hwlen) == 0 ||
1133 memcmp(ifp->hwaddr, allone, ifp->hwlen) == 0)
1167 if (ifp->hwlen == 6) {
1176 } else if (ifp->hwlen == 8)
    [all...]
if-linux.c 1212 su.sll.sll_halen = (unsigned char)ifp->hwlen;
1218 memcpy(&su.sll.sll_addr, dest_hw_addr, ifp->hwlen);
1220 memset(&su.sll.sll_addr, 0xff, ifp->hwlen);
    [all...]
ipv6nd.c 236 state->rslen = sizeof(*rs) + (size_t)ROUNDUP8(ifp->hwlen + 2);
247 nd->nd_opt_len = (uint8_t)((ROUNDUP8(ifp->hwlen + 2)) >> 3);
248 memcpy(nd + 1, ifp->hwaddr, ifp->hwlen);
    [all...]
dhcp6.c 326 ifp->hwlen >= sizeof(xid))
328 memcpy(&xid, (ifp->hwaddr + ifp->hwlen) - sizeof(xid),
    [all...]
  /external/syslinux/core/lwip/src/include/netif/
etharp.h 118 PACK_STRUCT_FIELD(u8_t hwlen);
  /external/syslinux/core/lwip/src/netif/
undiif.c 125 PACK_STRUCT_FIELD(u8_t hwlen);
594 hdr->hwlen = netif->hwaddr_len;
    [all...]
etharp.c 703 (hdr->hwlen != ETHARP_HWADDR_LEN) ||
707 ("etharp_arp_input: packet dropped, wrong hw type, hwlen, proto, protolen or ethernet type (%"U16_F"/%"U16_F"/%"U16_F"/%"U16_F")\n",
708 hdr->hwtype, hdr->hwlen, hdr->proto, hdr->protolen));
    [all...]
  /external/dnsmasq/src/
rfc2131.c     [all...]
dnsmasq.h 806 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,

Completed in 271 milliseconds