Home
last modified time | relevance | path

Searched refs:ETHER_MTU (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/
DInterfaceParams.java44 private static final int ETHER_MTU = 1500; field in InterfaceParams
63 this(name, index, macAddr, ETHER_MTU); in InterfaceParams()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DInterfaceParamsTest.java54 assertTrue(ifParams.defaultMtu >= NetworkStackConstants.ETHER_MTU); in testLoopback()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java154 NetworkStackConstants.ETHER_MTU);
450 ETH_P_IPV6, NetworkStackConstants.ETHER_MTU); in verifyStartUpstreamIpv6Forwarding()
811 assertEquals(value.pmtu, NetworkStackConstants.ETHER_MTU); in testRuleMakeTether6Value()
1355 NetworkStackConstants.ETHER_MTU, PUBLIC_ADDR_V4MAPPED_BYTES, in makeUpstream4Value()
1362 ETH_P_IP, NetworkStackConstants.ETHER_MTU, REMOTE_ADDR_V4MAPPED_BYTES, in makeDownstream4Value()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java558 NULL_MAC_ADDRESS, NULL_MAC_ADDRESS, NetworkStackConstants.ETHER_MTU)) { in tetherOffloadRuleAdd()
1297 NetworkStackConstants.ETHER_MTU); in makeTether6Value()
1554 NetworkStackConstants.ETHER_MTU, toIpv4MappedAddressBytes(e.tupleReply.dstIp), in makeTetherUpstream4Value()
1563 c.clientMac, c.downstreamMac, ETH_P_IP, NetworkStackConstants.ETHER_MTU, in makeTetherDownstream4Value()
DIPv6TetheringCoordinator.java286 lp.setMtu(NetworkConstants.ETHER_MTU); in getUniqueLocalConfig()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java862 TEST_IFACE_PARAMS.macAddr, ETH_P_IPV6, NetworkStackConstants.ETHER_MTU); in makeDownstream6Value()
936 ETH_P_IPV6, NetworkStackConstants.ETHER_MTU); in verifyStartUpstreamIpv6Forwarding()