Searched refs:hlen (Results 1 – 7 of 7) sorted by relevance
22 uint8_t hlen; /* 12 hardware address length (must be 6) */ member73 arp.hlen = 6; /* hardware address length */ in arpping()
27 packet->hlen = 6; in udhcp_init_header()61 , packet->hlen in udhcp_dump_packet()
33 uint8_t hlen; /* hardware address length */ member
1044 if (packet.hlen != 6) { in udhcpd_main()
1647 if (packet.hlen != 6 in udhcpc_main()
654 int hlen; in packet4_ok() local663 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()
696 int hlen; in unpack4() local704 hlen = iphdr->ihl << 2; in unpack4()705 sz -= hlen; in unpack4()706 icmppkt = (struct icmp *) (buf + hlen); in unpack4()