Searched refs:IPV4_PROTOCOL_OFFSET (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 51 import static com.android.net.module.util.NetworkStackConstants.IPV4_PROTOCOL_OFFSET; 214 mPacket.position(startOfIpLayer + IPV4_PROTOCOL_OFFSET); in parseIPv4()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 295 private static final int IPV4_PROTOCOL_OFFSET = ETH_HEADER_LEN + 9; field in ApfFilter 1305 gen.addLoad8(Register.R0, IPV4_PROTOCOL_OFFSET); in generateIPv4FilterLocked() 1387 generateKeepaliveFilters(gen, TcpKeepaliveAckV4.class, IPPROTO_TCP, IPV4_PROTOCOL_OFFSET, in generateV4KeepaliveFilters() 1394 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 1157 packet.put(IPV4_PROTOCOL_OFFSET, (byte) proto); in makeIpv4Packet() 1203 packet.put(IPV4_PROTOCOL_OFFSET, (byte)IPPROTO_UDP); in testApfFilterIPv4() 1743 packet.put(IPV4_PROTOCOL_OFFSET, (byte) IPPROTO_TCP); in ipv4TcpPacket() 1836 packet.put(IPV4_PROTOCOL_OFFSET, (byte) IPPROTO_UDP); in ipv4UdpPacket()
|