Home
last modified time | relevance | path

Searched refs:hlen (Results 1 – 7 of 7) sorted by relevance

/busybox-1.35.0/networking/udhcp/
Darpping.c22 uint8_t hlen; /* 12 hardware address length (must be 6) */ member
73 arp.hlen = 6; /* hardware address length */ in arpping()
Dpacket.c27 packet->hlen = 6; in udhcp_init_header()
61 , packet->hlen in udhcp_dump_packet()
Dcommon.h33 uint8_t hlen; /* hardware address length */ member
Ddhcpd.c1044 if (packet.hlen != 6) { in udhcpd_main()
Ddhcpc.c1647 if (packet.hlen != 6 in udhcpc_main()
/busybox-1.35.0/networking/
Dtraceroute.c654 int hlen; in packet4_ok() local
663 hlen = ip->ip_hl << 2; in packet4_ok()
664 if (read_len < hlen + ICMP_MINLEN) { in packet4_ok()
670 read_len -= hlen; in packet4_ok()
671 icp = (struct icmp *)(recv_pkt + hlen); in packet4_ok()
700 hlen = hip->ip_hl << 2; in packet4_ok()
704 hicmp = (struct icmp *)((unsigned char *)hip + hlen); in packet4_ok()
705 if (hlen + SIZEOF_ICMP_HDR <= read_len in packet4_ok()
713 up = (struct udphdr *)((char *)hip + hlen); in packet4_ok()
714 if (hlen + 12 <= read_len in packet4_ok()
Dping.c696 int hlen; in unpack4() local
704 hlen = iphdr->ihl << 2; in unpack4()
705 sz -= hlen; in unpack4()
706 icmppkt = (struct icmp *) (buf + hlen); in unpack4()