Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java57 import static com.android.net.module.util.NetworkStackConstants.UDP_HEADER_LEN;
368 if (mPacket.remaining() < UDP_HEADER_LEN) { in parseUDP()
378 mPacket.position(previous + UDP_HEADER_LEN); in parseUDP()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java318 private static final int UDP_HEADER_LEN = 8; field in ApfFilter
324 private static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 28;
961 static final int UDP_HEADER_LEN = 8; field in ApfFilter.NattKeepaliveResponse
1007 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
1020 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1099 private static final int UDP_HEADER_LEN = 8; field in ApfTest
1103 private static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 48;
1829 final int totalLength = dataLength + IPV4_HEADER_LEN + UDP_HEADER_LEN; in ipv4UdpPacket()
1830 final int udpLength = UDP_HEADER_LEN + dataLength; in ipv4UdpPacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java304 private static final int UDP_HEADER_LEN = 8; field in IpClientIntegrationTestCommon
310 + UDP_HEADER_LEN;