Searched refs:ihl (Results 1 – 18 of 18) sorted by relevance
/external/android-clat/ |
D | ipv4.c | 73 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()
|
D | clatd_microbenchmark.c | 97 .ihl = 5, in send_packet()
|
D | dump.c | 47 printf("header_len = %x\n",header->ihl); in dump_ip()
|
D | translate.c | 128 ip->ihl = 5; in fill_ip_header()
|
D | clatd_test.cpp | 211 EXPECT_EQ(5, ip->ihl) << msg << ": Unsupported IP header length\n"; in check_packet()
|
/external/kernel-headers/original/uapi/linux/ |
D | ip.h | 87 __u8 ihl:4, member 91 ihl:4;
|
/external/iputils/ |
D | ping.c | 799 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()
|
D | clockdiff.c | 226 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure() 406 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure_opt()
|
D | rdisc.c | 728 hlen = ip->ihl << 2; in pr_pack()
|
/external/iputils/Modules/ |
D | pg3.c | 272 iph->ihl=5; in fill_packet() 283 iph->check = ip_fast_csum((void *)iph, iph->ihl); in fill_packet()
|
/external/iproute2/ip/ |
D | iptunnel.c | 70 p->iph.ihl = 5; in parse_args()
|
/external/toybox/toys/pending/ |
D | dhcp.c | 671 || packet.iph.ihl != (sizeof(packet.iph) >> 2) in read_raw() 753 packet.iph.ihl = sizeof(packet.iph) >> 2; in send_raw()
|
D | dhcpd.c | 942 packet.iph.ihl = sizeof(packet.iph) >> 2; in send_packet()
|
D | ip.c | 2443 ptnl->iph.ihl = 5; // Minimum Internet Header Length in parse_iptunnel_args()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 1607 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/ |
D | cs.po | 588 msgstr "Úspěšně přihlášen k SSH serveru %s\n"
|
/external/ipsec-tools/src/racoon/ |
D | isakmp.c | 253 extralen += sizeof(*udp) + ip->ihl;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface.c | 7782 if (ip.ihl != 5 || ip.version != 4 || in wpas_data_test_rx() 7875 ip->ihl = 5; in wpas_ctrl_iface_data_test_tx()
|