Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTether6Value.java41 public final int pmtu; // The maximum L3 output path/route mtu. field in Tether6Value
44 @NonNull final MacAddress ethSrcMac, final int ethProto, final int pmtu) { in Tether6Value() argument
52 this.pmtu = pmtu; in Tether6Value()
58 ethDstMac, ethSrcMac, ethProto, pmtu); in toString()
DTether4Value.java45 public final int pmtu; field in Tether4Value
64 @NonNull final MacAddress ethSrcMac, final int ethProto, final int pmtu, in Tether4Value() argument
74 this.pmtu = pmtu; in Tether4Value()
89 oif, ethDstMac, ethSrcMac, ethProto, pmtu, in toString()
/packages/modules/Connectivity/Tethering/bpf_progs/
Dbpf_tethering.h120 uint16_t pmtu; // The maximum L3 output path/route mtu member
140 uint16_t pmtu; // The maximum L3 output path/route mtu member
196 uint16_t pmtu; // Maximum L3 output path/route mtu member
Doffload.c200 if (v->pmtu < IPV6_MIN_MTU) TC_PUNT(BELOW_IPV6_MTU);
211 if (bytes > v->pmtu) {
213 const int mss = v->pmtu - tcp_overhead;
513 if (v->pmtu < 68) TC_PUNT(BELOW_IPV4_MTU); in do_forward4()
524 if (bytes > v->pmtu) { in do_forward4()
526 const int mss = v->pmtu - tcp_overhead; in do_forward4()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java105 private Tether6Value createTether6Value(int oif, String src, String dst, int proto, int pmtu) { in createTether6Value() argument
109 return new Tether6Value(oif, dstMac, srcMac, proto, pmtu); in createTether6Value()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java811 assertEquals(value.pmtu, NetworkStackConstants.ETHER_MTU); in testRuleMakeTether6Value()