Home
last modified time | relevance | path

Searched refs:oif (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTether6Value.java30 public final int oif; // The output interface index. field in Tether6Value
43 public Tether6Value(final int oif, @NonNull final MacAddress ethDstMac, in Tether6Value() argument
48 this.oif = oif; in Tether6Value()
57 return String.format("oif: %d, dstMac: %s, srcMac: %s, proto: %d, pmtu: %d", oif, in toString()
DTether4Value.java34 public final long oif; field in Tether4Value
63 public Tether4Value(final long oif, @NonNull final MacAddress ethDstMac, in Tether4Value() argument
70 this.oif = oif; in Tether4Value()
89 oif, ethDstMac, ethSrcMac, ethProto, pmtu, in toString()
DBpfCoordinator.java1040 key.iif, getIfName(key.iif), key.dstMac, value.oif, getIfName(value.oif), in ipv6UpstreamRuletoString()
1083 value.oif, getIfName(value.oif), in ipv4RuleToString()
/packages/modules/Connectivity/Tethering/bpf_progs/
Dbpf_tethering.h118 uint32_t oif; // The output interface to redirect to member
138 uint32_t oif; // The output interface to redirect to member
194 uint32_t oif; // The output interface to redirect to member
Doffload.c187 uint32_t stat_and_limit_k = downstream ? skb->ifindex : v->oif;
277 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */);
500 uint32_t stat_and_limit_k = downstream ? skb->ifindex : v->oif; in do_forward4()
622 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */); 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/adb/coverage/
Dgen_coverage.sh13 IP_ADDR=$(adb shell ip route get 0.0.0.0 oif wlan0 | sed -En -e 's/.*src (\S+)\s.*/\1/p')
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java807 assertEquals(value.oif, DOWNSTREAM_IFINDEX); in testRuleMakeTether6Value()