/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfConstants.java | 74 public static final int UDP_HEADER_LEN = 8; field in ApfConstants 114 public static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 28; 116 ETH_HEADER_LEN + UDP_HEADER_LEN + DNS_QDCOUNT_OFFSET; 118 ETH_HEADER_LEN + UDP_HEADER_LEN + DNS_HEADER_LEN;
|
D | DnsUtils.java | 24 import static com.android.net.module.util.NetworkStackConstants.UDP_HEADER_LEN; 351 final int etherPlusUdpLen = ETHER_HEADER_LEN + UDP_HEADER_LEN; in generateFilter()
|
D | LegacyApfFilter.java | 267 private static final int UDP_HEADER_LEN = 8; field in LegacyApfFilter 273 private static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 28; 304 ETH_HEADER_LEN + UDP_HEADER_LEN + DNS_QDCOUNT_OFFSET; 306 ETH_HEADER_LEN + UDP_HEADER_LEN + DNS_HEADER_LEN; 1040 static final int UDP_HEADER_LEN = 8; field in LegacyApfFilter.NattKeepaliveResponse 1087 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked() 1100 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
|
D | ApfFilter.java | 1294 static final int UDP_HEADER_LEN = 8; field in ApfFilter.NattKeepaliveResponse 1341 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked() 1354 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | PacketBuilderTest.java | 29 import static com.android.net.module.util.NetworkStackConstants.UDP_HEADER_LEN; 617 assertEquals(IPV4_HEADER_MIN_LEN + UDP_HEADER_LEN + dataLength, in checkIpv4Header() 650 assertEquals(UDP_HEADER_LEN + dataLength, ipv6Header.payloadLength); in checkIpv6Header() 736 assertEquals(UDP_HEADER_LEN + dataLength, udpHeader.length); in checkUdpPacket()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 57 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/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | NetworkStackConstants.java | 217 public static final int UDP_HEADER_LEN = 8; field in NetworkStackConstants
|
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 56 import com.android.net.module.util.NetworkStackConstants.UDP_HEADER_LEN 157 ETHER_HEADER_LEN + IPV4_HEADER_MIN_LEN + UDP_HEADER_LEN, sentPacket.size) in testAddArpEntry()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | LegacyApfTest.java | 427 private static final int UDP_HEADER_LEN = 8; field in LegacyApfTest 431 private static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 48; 1195 final int totalLength = dataLength + IPV4_HEADER_LEN + UDP_HEADER_LEN; in ipv4UdpPacket() 1196 final int udpLength = UDP_HEADER_LEN + dataLength; in ipv4UdpPacket()
|
D | ApfTest.java | 1131 private static final int UDP_HEADER_LEN = 8; field in ApfTest 1135 private static final int DHCP_CLIENT_MAC_OFFSET = ETH_HEADER_LEN + UDP_HEADER_LEN + 48; 2265 final int totalLength = dataLength + IPV4_HEADER_LEN + UDP_HEADER_LEN; in ipv4UdpPacket() 2266 final int udpLength = UDP_HEADER_LEN + dataLength; in ipv4UdpPacket()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 413 private static final int UDP_HEADER_LEN = 8; field in IpClientIntegrationTestCommon 419 + UDP_HEADER_LEN; 426 + UDP_HEADER_LEN;
|