Home
last modified time | relevance | path

Searched refs:ihl (Results 1 – 18 of 18) sorted by relevance

/external/android-clat/
Dipv4.c73 if(header->ihl < 5) { in ipv4_packet()
74 logmsg_dbg(ANDROID_LOG_ERROR, "ip_packet/ip header length set to less than 5: %x", header->ihl); in ipv4_packet()
78 if((size_t) header->ihl * 4 > len) { // ip header length larger than entire packet in ipv4_packet()
79 logmsg_dbg(ANDROID_LOG_ERROR, "ip_packet/ip header length set too large: %x", header->ihl); in ipv4_packet()
93 next_header = packet + header->ihl*4; in ipv4_packet()
94 len_left = len - header->ihl * 4; in ipv4_packet()
Dclatd_microbenchmark.c97 .ihl = 5, in send_packet()
Ddump.c47 printf("header_len = %x\n",header->ihl); in dump_ip()
Dtranslate.c128 ip->ihl = 5; in fill_ip_header()
Dclatd_test.cpp211 EXPECT_EQ(5, ip->ihl) << msg << ": Unsupported IP header length\n"; in check_packet()
/external/kernel-headers/original/uapi/linux/
Dip.h87 __u8 ihl:4, member
91 ihl:4;
/external/iputils/
Dping.c799 hlen = ip->ihl*4; in parse_reply()
800 if (cc < hlen + 8 || ip->ihl < 5) { in parse_reply()
857 struct icmphdr *icp1 = (struct icmphdr*)((unsigned char *)iph + iph->ihl*4); in parse_reply()
860 cc < 8+iph->ihl*4+8) in parse_reply()
1291 hlen = ip->ihl << 2; in pr_iph()
1296 ip->version, ip->ihl, ip->tos, ip->tot_len, ip->id); in pr_iph()
Dclockdiff.c226 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure()
406 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure_opt()
Drdisc.c728 hlen = ip->ihl << 2; in pr_pack()
/external/iputils/Modules/
Dpg3.c272 iph->ihl=5; in fill_packet()
283 iph->check = ip_fast_csum((void *)iph, iph->ihl); in fill_packet()
/external/iproute2/ip/
Diptunnel.c70 p->iph.ihl = 5; in parse_args()
/external/toybox/toys/pending/
Ddhcp.c671 || packet.iph.ihl != (sizeof(packet.iph) >> 2) in read_raw()
753 packet.iph.ihl = sizeof(packet.iph) >> 2; in send_raw()
Ddhcpd.c942 packet.iph.ihl = sizeof(packet.iph) >> 2; in send_packet()
Dip.c2443 ptnl->iph.ihl = 5; // Minimum Internet Header Length in parse_iptunnel_args()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c1607 if (ip.ihl != 5 || ip.version != 4 || in hostapd_data_test_rx()
1701 ip->ihl = 5; in hostapd_ctrl_iface_data_test_tx()
/external/avahi/po/
Dcs.po588 msgstr "Úspěšně přihlášen k SSH serveru %s\n"
/external/ipsec-tools/src/racoon/
Disakmp.c253 extralen += sizeof(*udp) + ip->ihl;
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c7782 if (ip.ihl != 5 || ip.version != 4 || in wpas_data_test_rx()
7875 ip->ihl = 5; in wpas_ctrl_iface_data_test_tx()