Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/
DInterfaceParams.java41 public final int defaultMtu; field in InterfaceParams
66 public InterfaceParams(String name, int index, MacAddress macAddr, int defaultMtu) { in InterfaceParams() argument
78 this.defaultMtu = (defaultMtu > IPV6_MIN_MTU) ? defaultMtu : IPV6_MIN_MTU; in InterfaceParams()
83 return String.format("%s/%d/%s/%d", name, index, macAddr, defaultMtu); in toString()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DInterfaceParamsTest.java54 assertTrue(ifParams.defaultMtu >= NetworkStackConstants.ETHER_MTU); in testLoopback()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1829 if (params.defaultMtu == mInterfaceParams.defaultMtu) return; in maybeRestoreInterfaceMtu()
1832 mNetd.interfaceSetMtu(mInterfaceName, mInterfaceParams.defaultMtu); in maybeRestoreInterfaceMtu()
1835 + params.defaultMtu + " to " + mInterfaceParams.defaultMtu, e); in maybeRestoreInterfaceMtu()
DConnectivityPacketTracker.java104 super(h, ifParams.defaultMtu); in PacketListener()