Searched refs:defaultMtu (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/ |
D | InterfaceParams.java | 41 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/ |
D | InterfaceParamsTest.java | 54 assertTrue(ifParams.defaultMtu >= NetworkStackConstants.ETHER_MTU); in testLoopback()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 1829 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()
|
D | ConnectivityPacketTracker.java | 104 super(h, ifParams.defaultMtu); in PacketListener()
|