HomeSort by relevance Sort by last modified time
    Searched refs:ihl (Results 1 - 25 of 46) sorted by null

1 2

  /external/ltp/runtest/
net_stress.broken_ip 7 broken_ip4-ihl broken_ip4-ihl
  /external/android-clat/
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;
clatd_microbenchmark.c 97 .ihl = 5,
  /external/iproute2/testsuite/tests/tc/
pedit.t 71 # do_it_all ihl 0x04 0x40
86 do_pedit ip ihl set 0x04
88 do_pedit ip ihl set 0x40
90 do_pedit ip ihl preserve
92 do_pedit ip ihl invert
94 do_pedit ip ihl clear
  /system/netd/bpfloader/
bpf_kern.h 106 uint8_t proto, ihl; local
113 ret = bpf_skb_load_bytes(skb, IPPROTO_IHL_OFF, &ihl, 1);
114 ihl = ihl & 0x0F;
115 ret = bpf_skb_load_bytes(skb, ihl * 4 + TCP_FLAG_OFF, &flag, 1);
  /bionic/libc/kernel/uapi/linux/
ip.h 76 __u8 ihl : 4, version : 4; member in struct:iphdr
78 __u8 version : 4, ihl : 4;
  /external/iproute2/include/uapi/linux/
ip.h 88 __u8 ihl:4, member in struct:iphdr
92 ihl:4;
  /external/kernel-headers/original/uapi/linux/
ip.h 88 __u8 ihl:4, member in struct:iphdr
92 ihl:4;
  /external/libnl/include/linux-private/linux/
ip.h 87 __u8 ihl:4, member in struct:iphdr
91 ihl:4;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
ip.h 87 __u8 ihl:4, member in struct:iphdr
91 ihl:4;
  /external/linux-kselftest/tools/testing/selftests/bpf/
test_pkt_access.c 41 ihl_len = iph->ihl * 4;
test_l4lb.c 274 if (iph->ihl != 5)
374 if (iph->ihl != 5)
test_xdp.c 131 iph->ihl = sizeof(*iph) >> 2;
  /bionic/libc/include/netinet/
ip.h 221 uint8_t ihl :4, member in struct:iphdr
225 ihl :4;
  /frameworks/base/core/java/android/net/util/
IpUtils.java 106 byte ihl = (byte) (buf.get(headerOffset) & 0x0f);
107 return (short) checksum(buf, 0, headerOffset, headerOffset + ihl * 4);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/netinet/
ip.h 48 unsigned int ihl:4; member in struct:iphdr
52 unsigned int ihl:4;
  /system/core/libnetutils/
packet.c 101 ip.ihl = sizeof(ip) >> 2;
184 } else if (packet.ip.version != IPVERSION || packet.ip.ihl != (sizeof(packet.ip) >> 2)) {
  /external/scapy/scapy/layers/
inet.py 369 BitField("ihl", None, 4),
381 PacketListField("options", [], IPOption, length_from=lambda p:p.ihl*4-20) ]
383 ihl = self.ihl
385 if ihl is None:
386 ihl = len(p)//4
387 p = chb(((self.version&0xf)<<4) | ihl&0x0f)+p[1:]
397 l = self.len - (self.ihl << 2)
495 if u.ihl is None:
497 ihl = 5 + olen // 4 + (1 if olen % 4 else 0
    [all...]
  /external/iptables/utils/
nfsynproxy.c 30 const struct tcphdr *th = (void *)iph + iph->ihl * 4;
  /device/generic/goldfish/dhcp/common/
socket.cpp 176 ip.ihl = sizeof(ip) >> 2;
291 ip.ihl == (sizeof(ip) >> 2) &&
  /external/iputils/
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);
    [all...]
  /external/ltp/testcases/network/sockets/
ltpClient.c 444 struct icmphdr *icmpPtr = netPacket + ip->ihl * 4;
463 ip->version, ip->ihl * 4, ntohs(ip->tot_len), ip->protocol,
  /external/ltp/testcases/network/stress/ns-tools/
ns-icmpv4_sender.c 367 pkt.hdr.ihl = sizeof(struct iphdr) / 4;
431 pkt->hdr.ihl ^= seed;
  /system/netd/server/
WakeupController.cpp 91 extractIpPorts(args, drop(payload, header.ihl * 4)); // ipv4 IHL counts 32 bit words.
  /external/iputils/Modules/
pg3.c 272 iph->ihl=5;
283 iph->check = ip_fast_csum((void *)iph, iph->ihl);

Completed in 466 milliseconds

1 2