Searched refs:kEtherHeaderLen (Results 1 – 1 of 1) sorted by relevance
48 static const uint32_t kEtherHeaderLen = sizeof(ether_header); variable49 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), in android_net_utils_attachDhcpFilter()165 BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, kEtherHeaderLen), in android_net_utils_attachControlPacketFilter()