Home
last modified time | relevance | path

Searched refs:IPV4_MIN_MTU (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java23 import static com.android.net.module.util.NetworkStackConstants.IPV4_MIN_MTU;
399 if (mLinkMtu != MTU_UNSET && (mLinkMtu < IPV4_MIN_MTU || mLinkMtu > IPV4_MAX_MTU)) { in build()
DDhcpPacket.java62 private static final int IPV4_MIN_MTU = 68; field in DhcpPacket
860 if (mMtu != null && Short.toUnsignedInt(mMtu) >= IPV4_MIN_MTU) { in addCommonServerTlvs()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStackConstants.java89 public static final int IPV4_MIN_MTU = 68; field in NetworkStackConstants
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java39 import static com.android.net.module.util.NetworkStackConstants.IPV4_MIN_MTU;
2640 IPV4_MIN_MTU, false /* isKernelMtu */, IPV4_MIN_MTU /* expectedMtu */); in testAddTetherOffloadRule4LowMtuFromLinkProperties()
2647 IPV4_MIN_MTU, true /* isKernelMtu */, IPV4_MIN_MTU /* expectedMtu */); in testAddTetherOffloadRule4LowMtuFromKernel()
2654 IPV4_MIN_MTU - 1, false /* isKernelMtu */, IPV4_MIN_MTU /* expectedMtu */); in testAddTetherOffloadRule4LessThanIpv4MinMtu()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java30 import static com.android.net.module.util.NetworkStackConstants.IPV4_MIN_MTU;
984 if (mtu < IPV4_MIN_MTU) mtu = IPV4_MIN_MTU; in getMtu()