Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java52 import static com.android.net.module.util.NetworkStackConstants.IPV4_SRC_ADDR_OFFSET;
217 mPacket.position(startOfIpLayer + IPV4_SRC_ADDR_OFFSET); in parseIPv4()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java950 static final int IPV4_SRC_ADDR_OFFSET = IP_HEADER_OFFSET + 12; field in ApfFilter.KeepalivePacket
1001 gen.addLoadImmediate(Register.R0, ETH_HEADER_LEN + IPV4_SRC_ADDR_OFFSET); in generateFilterLocked()
1116 gen.addLoadImmediate(Register.R0, ETH_HEADER_LEN + IPV4_SRC_ADDR_OFFSET); in generateFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1024 private static final int IPV4_SRC_ADDR_OFFSET = IP_HEADER_OFFSET + 12; field in ApfTest
1744 put(packet, IPV4_SRC_ADDR_OFFSET, sip); in ipv4TcpPacket()
1837 put(packet, IPV4_SRC_ADDR_OFFSET, sip); in ipv4UdpPacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java300 private static final int IPV4_SRC_ADDR_OFFSET = ETH_HEADER_LEN + 12; field in IpClientIntegrationTestCommon
301 private static final int IPV4_DST_ADDR_OFFSET = IPV4_SRC_ADDR_OFFSET + 4;