Searched refs:ihl (Results 1 - 11 of 11) sorted by relevance
/external/android-clat/ |
H A D | ipv4.c | 73 if(header->ihl < 5) { 74 logmsg_dbg(ANDROID_LOG_ERROR, "ip_packet/ip header length set to less than 5: %x", header->ihl); 78 if((size_t) header->ihl * 4 > len) { // ip header length larger than entire packet 79 logmsg_dbg(ANDROID_LOG_ERROR, "ip_packet/ip header length set too large: %x", header->ihl); 93 next_header = packet + header->ihl*4; 94 len_left = len - header->ihl * 4;
|
H A D | dump.c | 47 printf("header_len = %x\n",header->ihl);
|
H A D | translate.c | 128 ip->ihl = 5;
|
H A D | clatd_test.cpp | 211 EXPECT_EQ(5, ip->ihl) << msg << ": Unsupported IP header length\n";
|
/external/kernel-headers/original/uapi/linux/ |
H A D | ip.h | 87 __u8 ihl:4, member in struct:iphdr 91 ihl:4;
|
/external/iputils/ |
H A D | ping.c | 799 hlen = ip->ihl*4; 800 if (cc < hlen + 8 || ip->ihl < 5) { 857 struct icmphdr *icp1 = (struct icmphdr*)((unsigned char *)iph + iph->ihl*4); 860 cc < 8+iph->ihl*4+8) 1291 hlen = ip->ihl << 2; 1296 ip->version, ip->ihl, ip->tos, ip->tot_len, ip->id);
|
H A D | clockdiff.c | 226 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); 406 icp = (struct icmphdr *)(packet + (ip->ihl << 2));
|
H A D | rdisc.c | 728 hlen = ip->ihl << 2;
|
/external/iputils/Modules/ |
H A D | pg3.c | 272 iph->ihl=5; 283 iph->check = ip_fast_csum((void *)iph, iph->ihl);
|
/external/iproute2/ip/ |
H A D | iptunnel.c | 60 p->iph.ihl = 5;
|
/external/ipsec-tools/src/racoon/ |
H A D | isakmp.c | 253 extralen += sizeof(*udp) + ip->ihl;
|
Completed in 509 milliseconds