Lines Matching refs:hwlen
754 dhcp->hwlen = (uint8_t)ifp->hwlen; in make_message()
755 memcpy(&dhcp->chaddr, &ifp->hwaddr, ifp->hwlen); in make_message()
1218 if (state->server_info.gw_hwlen != ifp->hwlen) { in read_lease()
1222 state->server_info.gw_hwlen, ifp->hwlen); in read_lease()
1482 ifp->hwlen >= sizeof(xid)) in dhcp_xid()
1484 memcpy(&xid, (ifp->hwaddr + ifp->hwlen) - sizeof(xid), in dhcp_xid()
2569 memcpy(state->server_info.gw_hwaddr, gw_hwaddr, ifp->hwlen); in save_gateway_addr()
2570 state->server_info.gw_hwlen = ifp->hwlen; in save_gateway_addr()
2665 if (state->server_info.gw_hwlen != ifp->hwlen) in start_unicast_arp()
2745 hwaddr_ntoa(amsg->sha, astate->iface->hwlen, buf, sizeof(buf)); in dhcp_arp_conflicted()
3321 if (ifp->hwlen <= sizeof(dhcp->chaddr) && in dhcp_handlepacket()
3322 memcmp(dhcp->chaddr, ifp->hwaddr, ifp->hwlen)) in dhcp_handlepacket()
3513 len = (uint8_t)(ifp->hwlen + 1); in dhcp_init()
3520 ifp->hwlen); in dhcp_init()
3533 else if (ifp->hwlen) in dhcp_init()
3535 hwaddr_ntoa(ifp->hwaddr, ifp->hwlen, buf, sizeof(buf))); in dhcp_init()
3606 if (ifp->hwlen == 0 && ifo->clientid[0] == '\0') { in dhcp_start1()