Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/com/android/server/util/
DNetworkStackConstants.java87 public static final int IPV4_SRC_ADDR_OFFSET = 12; field in NetworkStackConstants
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java52 import static com.android.server.util.NetworkStackConstants.IPV4_SRC_ADDR_OFFSET;
217 mPacket.position(startOfIpLayer + IPV4_SRC_ADDR_OFFSET); in parseIPv4()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java949 static final int IPV4_SRC_ADDR_OFFSET = IP_HEADER_OFFSET + 12; field in ApfFilter.KeepalivePacket
1000 gen.addLoadImmediate(Register.R0, ETH_HEADER_LEN + IPV4_SRC_ADDR_OFFSET); in generateFilterLocked()
1115 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
1732 put(packet, IPV4_SRC_ADDR_OFFSET, sip); in ipv4TcpPacket()
1825 put(packet, IPV4_SRC_ADDR_OFFSET, sip); in ipv4UdpPacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java229 private static final int IPV4_SRC_ADDR_OFFSET = ETH_HEADER_LEN + 12; field in IpClientIntegrationTest
230 private static final int IPV4_DST_ADDR_OFFSET = IPV4_SRC_ADDR_OFFSET + 4;