Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java57 import static com.android.server.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/com/android/server/util/
DNetworkStackConstants.java140 public static final int UDP_HEADER_LEN = 8; field in NetworkStackConstants
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java317 private static final int UDP_HEADER_LEN = 8; field in ApfFilter
323 private static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 28;
960 static final int UDP_HEADER_LEN = 8; field in ApfFilter.NattKeepaliveResponse
1006 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
1019 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1095 private static final int UDP_HEADER_LEN = 8; field in ApfTest
1099 private static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 48;
1817 final int totalLength = dataLength + IPV4_HEADER_LEN + UDP_HEADER_LEN; in ipv4UdpPacket()
1818 final int udpLength = UDP_HEADER_LEN + dataLength; in ipv4UdpPacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java233 private static final int UDP_HEADER_LEN = 8; field in IpClientIntegrationTest
239 + UDP_HEADER_LEN;