Lines Matching refs:hwlen
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()
1035 hwaddr_ntoa(hwaddr, hwlen, buf, sizeof(buf))); in dhcpcd_handlehwaddr()
1036 ifp->hwlen = hwlen; in dhcpcd_handlehwaddr()
1037 memcpy(ifp->hwaddr, hwaddr, hwlen); in dhcpcd_handlehwaddr()