Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DRtNetlinkLinkMessageTest.java21 import static com.android.net.module.util.NetworkStackConstants.ETHER_MTU;
86 assertEquals(ETHER_MTU, linkMsg.getMtu()); in testParseRtmNewLink()
169 assertEquals(ETHER_MTU, linkMsg.getMtu()); in testTruncatedRtmNewLink()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DInterfaceParams.java44 private static final int ETHER_MTU = 1500; field in InterfaceParams
67 this(name, index, macAddr, ETHER_MTU); in InterfaceParams()
DNetworkStackConstants.java52 public static final int ETHER_MTU = 1500; field in NetworkStackConstants
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DInterfaceParamsTest.java52 assertTrue(ifParams.defaultMtu >= NetworkStackConstants.ETHER_MTU); in testLoopback()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java256 NetworkStackConstants.ETHER_MTU);
259 NetworkStackConstants.ETHER_MTU - 28
263 NetworkStackConstants.ETHER_MTU);
265 DOWNSTREAM_IFACE, DOWNSTREAM_IFINDEX, DOWNSTREAM_MAC, NetworkStackConstants.ETHER_MTU);
268 NetworkStackConstants.ETHER_MTU);
271 NetworkStackConstants.ETHER_MTU);
353 private short mPmtu = NetworkStackConstants.ETHER_MTU;
378 private short mPmtu = NetworkStackConstants.ETHER_MTU;
471 private int mMtu = NetworkStackConstants.ETHER_MTU;
802 NetworkStackConstants.ETHER_MTU); in verifyStartUpstreamIpv6Forwarding()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DRateLimitTest.java25 import static com.android.net.module.util.NetworkStackConstants.ETHER_MTU;
253 final byte[] recvBuf = new byte[ETHER_MTU]; in run()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java23 import static com.android.net.module.util.NetworkStackConstants.ETHER_MTU;
241 return ETHER_MTU; in detectMtu()
511 assertEquals(1472, ClatCoordinator.adjustMtu(ETHER_MTU)); in testAdjustMtu()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java287 lp.setMtu(NetworkConstants.ETHER_MTU); in getUniqueLocalConfig()
DBpfCoordinator.java981 if (mtu == INVALID_MTU) mtu = NetworkStackConstants.ETHER_MTU; in getMtu()
1574 NetworkStackConstants.ETHER_MTU); in makeTether6Value()
1701 NetworkStackConstants.ETHER_MTU); in makeTether6Value()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java22 import static com.android.net.module.util.NetworkStackConstants.ETHER_MTU;
301 if (mtu <= 0) mtu = ETHER_MTU; in prepareIcmpMeasurements()