Searched refs:IPV4_PROTOCOL_OFFSET (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | NetworkStackConstants.java | 86 public static final int IPV4_PROTOCOL_OFFSET = 9; field in NetworkStackConstants
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 51 import static com.android.server.util.NetworkStackConstants.IPV4_PROTOCOL_OFFSET; 214 mPacket.position(startOfIpLayer + IPV4_PROTOCOL_OFFSET); in parseIPv4()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 294 private static final int IPV4_PROTOCOL_OFFSET = ETH_HEADER_LEN + 9; field in ApfFilter 1304 gen.addLoad8(Register.R0, IPV4_PROTOCOL_OFFSET); in generateIPv4FilterLocked() 1386 generateKeepaliveFilters(gen, TcpKeepaliveAckV4.class, IPPROTO_TCP, IPV4_PROTOCOL_OFFSET, in generateV4KeepaliveFilters() 1393 IPPROTO_UDP, IPV4_PROTOCOL_OFFSET, "skip_v4_nattkeepalive_filter"); in generateV4NattKeepaliveFilters()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 1023 private static final int IPV4_PROTOCOL_OFFSET = IP_HEADER_OFFSET + 9; field in ApfTest 1153 packet.put(IPV4_PROTOCOL_OFFSET, (byte) proto); in makeIpv4Packet() 1199 packet.put(IPV4_PROTOCOL_OFFSET, (byte)IPPROTO_UDP); in testApfFilterIPv4() 1731 packet.put(IPV4_PROTOCOL_OFFSET, (byte) IPPROTO_TCP); in ipv4TcpPacket() 1824 packet.put(IPV4_PROTOCOL_OFFSET, (byte) IPPROTO_UDP); in ipv4UdpPacket()
|