/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
H A D | Tether6Value.java | 30 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()
|
H A D | Tether4Value.java | 34 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()
|
H A D | BpfCoordinator.java | 1040 key.iif, getIfName(key.iif), key.dstMac, value.oif, getIfName(value.oif), in ipv6UpstreamRuletoString() 1083 value.oif, getIfName(value.oif), in ipv4RuleToString()
|
/aosp12/system/netd/bpf_progs/ |
H A D | clatd.c | 176 if (v->oif) return bpf_redirect(v->oif, BPF_F_INGRESS); 264 if (!v->oif) return TC_ACT_OK; 318 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */);
|
/aosp12/packages/modules/Connectivity/Tethering/bpf_progs/ |
H A D | bpf_tethering.h | 118 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
|
H A D | offload.c | 187 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; 622 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */);
|
/aosp12/system/netd/libnetdbpf/include/netdbpf/ |
H A D | bpf_shared.h | 177 uint32_t oif; // The output interface to redirect to (0 means don't redirect) member 197 uint32_t oif; // The output interface to redirect to member
|
/aosp12/system/netd/server/ |
H A D | ClatdController.cpp | 228 .oif = tracker.ifIndex, in maybeStartBpf() 247 .oif = tracker.v4ifIndex, in maybeStartBpf() 598 if_indextoname(value.oif, oifStr); in dumpEgress() 601 pfx96Str, value.oif, oifStr, value.oifIsEthernet ? "ether" : "rawip"); in dumpEgress() 629 if_indextoname(value.oif, oifStr); in dumpIngress() 632 value.oif, oifStr); in dumpIngress()
|
H A D | RouteController.cpp | 248 const char* iif, const char* oif, uid_t uidStart, in modifyIpRule() argument 264 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() 311 { &fraOifName, oif != OIF_NONE ? sizeof(fraOifName) : 0 }, in modifyIpRule() 335 const char* oif, uid_t uidStart, uid_t uidEnd) { in modifyIpRule() argument 336 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, in modifyIpRule()
|
/aosp12/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_TEE.h | 24 char oif[16]; member
|
/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/ |
H A D | BpfMapTest.java | 105 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()
|
/aosp12/packages/modules/adb/coverage/ |
H A D | gen_coverage.sh | 13 IP_ADDR=$(adb shell ip route get 0.0.0.0 oif wlan0 | sed -En -e 's/.*src (\S+)\s.*/\1/p')
|
/aosp12/system/netd/tests/ |
H A D | binder_test.cpp | 568 const char* oif) { in ipRuleExistsForRange() argument 576 if (oif) { in ipRuleExistsForRange() 577 suffix = StringPrintf(" iif lo oif %s uidrange %d-%d %s\n", oif, range.start, range.stop, in ipRuleExistsForRange() 593 const std::string& action, const char* oif) { in ipRuleExistsForRange() argument 594 bool existsIp4 = ipRuleExistsForRange(priority, range, action, IP_RULE_V4, oif); in ipRuleExistsForRange() 595 bool existsIp6 = ipRuleExistsForRange(priority, range, action, IP_RULE_V6, oif); in ipRuleExistsForRange()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
H A D | BpfCoordinatorTest.java | 807 assertEquals(value.oif, DOWNSTREAM_IFINDEX); in testRuleMakeTether6Value()
|