Searched refs:kEtherHeaderLen (Results 1 – 1 of 1) sorted by relevance
51 static const uint32_t kEtherHeaderLen = sizeof(ether_header); variable52 static const uint32_t kIPv4Protocol = kEtherHeaderLen + offsetof(iphdr, protocol);53 static const uint32_t kIPv4FlagsOffset = kEtherHeaderLen + offsetof(iphdr, frag_off);54 static const uint32_t kIPv6NextHeader = kEtherHeaderLen + offsetof(ip6_hdr, ip6_nxt);55 static const uint32_t kIPv6PayloadStart = kEtherHeaderLen + sizeof(ip6_hdr);57 static const uint32_t kUDPSrcPortIndirectOffset = kEtherHeaderLen + offsetof(udphdr, source);58 static const uint32_t kUDPDstPortIndirectOffset = kEtherHeaderLen + offsetof(udphdr, dest);73 BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, kEtherHeaderLen), in android_net_utils_attachDhcpFilter()168 BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, kEtherHeaderLen), in android_net_utils_attachControlPacketFilter()