Home
last modified time | relevance | path

Searched refs:ip_offset (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp232 uint32_t ip_offset = sizeof(ether_header); in android_net_utils_attachDhcpFilter() local
233 uint32_t proto_offset = ip_offset + offsetof(iphdr, protocol); in android_net_utils_attachDhcpFilter()
234 uint32_t flags_offset = ip_offset + offsetof(iphdr, frag_off); in android_net_utils_attachDhcpFilter()
235 uint32_t dport_indirect_offset = ip_offset + offsetof(udphdr, dest); in android_net_utils_attachDhcpFilter()
246 BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, ip_offset), in android_net_utils_attachDhcpFilter()