Searched refs:kEtherHeaderLen (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_net_NetUtils.cpp48 static const uint32_t kEtherHeaderLen = sizeof(ether_header); member in namespace:android
49 static const uint32_t kIPv4Protocol = kEtherHeaderLen + offsetof(iphdr, protocol);
50 static const uint32_t kIPv4FlagsOffset = kEtherHeaderLen + offsetof(iphdr, frag_off);
51 static const uint32_t kIPv6NextHeader = kEtherHeaderLen + offsetof(ip6_hdr, ip6_nxt);
52 static const uint32_t kIPv6PayloadStart = kEtherHeaderLen + sizeof(ip6_hdr);
54 static const uint32_t kUDPSrcPortIndirectOffset = kEtherHeaderLen + offsetof(udphdr, source);
55 static const uint32_t kUDPDstPortIndirectOffset = kEtherHeaderLen + offsetof(udphdr, dest);
70 BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, kEtherHeaderLen),
165 BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, kEtherHeaderLen),

Completed in 105 milliseconds