/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
H A D | TetherDownstream6Key.java | 36 public final long iif; // The input interface index. field in TetherDownstream6Key 44 public TetherDownstream6Key(final long iif, @NonNull final MacAddress dstMac, in TetherDownstream6Key() argument 54 this.iif = iif; in TetherDownstream6Key() 62 return String.format("iif: %d, dstMac: %s, neigh: %s", iif, dstMac, in toString()
|
H A D | TetherUpstream6Key.java | 30 public final int iif; // The input interface index. field in TetherUpstream6Key 35 public TetherUpstream6Key(int iif, @NonNull final MacAddress dstMac) { in TetherUpstream6Key() argument 38 this.iif = iif; in TetherUpstream6Key()
|
H A D | Tether4Key.java | 34 public final long iif; field in Tether4Key 54 public Tether4Key(final long iif, @NonNull final MacAddress dstMac, final short l4proto, in Tether4Key() argument 59 this.iif = iif; in Tether4Key() 74 iif, dstMac, l4proto, in toString()
|
H A D | BpfCoordinator.java | 763 upstreamIndiceSet.add((int) k.iif); in tetherOffloadRuleClear() 1040 key.iif, getIfName(key.iif), key.dstMac, value.oif, getIfName(value.oif), in ipv6UpstreamRuletoString() 1082 protoStr, key.dstMac, key.iif, getIfName(key.iif), src4, key.srcPort, in ipv4RuleToString()
|
/aosp12/packages/modules/Connectivity/Tethering/bpf_progs/ |
H A D | bpf_tethering.h | 110 uint32_t iif; // The input interface index member 127 uint32_t iif; // The input interface index member 158 uint32_t iif; // The input interface index member 183 uint32_t iif; // The input interface index member
|
H A D | offload.c | 172 .iif = skb->ifindex, 177 .iif = skb->ifindex, 485 .iif = skb->ifindex,
|
/aosp12/system/netd/server/ |
H A D | TrafficController.cpp | 515 .iif = (match == IIF_MATCH) ? 0 : oldMatch.value().iif, in removeRule() 529 Status TrafficController::addRule(uint32_t uid, UidOwnerMatchType match, uint32_t iif) { in addRule() argument 531 if (match == IIF_MATCH && iif == 0) { in addRule() 533 } else if (match != IIF_MATCH && iif != 0) { in addRule() 539 .iif = iif ? iif : oldMatch.value().iif, in addRule() 545 .iif = iif, in addRule() 622 Status TrafficController::addUidInterfaceRules(const int iif, in addUidInterfaceRules() argument 624 if (!iif) { in addUidInterfaceRules() 630 netdutils::Status result = addRule(uid, IIF_MATCH, iif); in addUidInterfaceRules() 632 ALOGW("addRule failed(%d): uid=%d iif=%d", result.code(), uid, iif); in addUidInterfaceRules() [all …]
|
H A D | ClatdController.cpp | 224 .iif = tracker.v4ifIndex, in maybeStartBpf() 241 .iif = tracker.ifIndex, in maybeStartBpf() 351 .iif = tracker.v4ifIndex, in maybeStopBpf() 359 .iif = tracker.ifIndex, in maybeStopBpf() 594 if_indextoname(key.iif, iifStr); in dumpEgress() 600 dw.println("%u(%s) %s -> %s %s/96 %u(%s) %s", key.iif, iifStr, local4Str, local6Str, in dumpEgress() 625 if_indextoname(key.iif, iifStr); in dumpIngress() 631 dw.println("%u(%s) %s/96 %s -> %s %u(%s)", key.iif, iifStr, pfx96Str, local6Str, local4Str, in dumpIngress()
|
H A D | RouteController.cpp | 248 const char* iif, const char* oif, uid_t uidStart, in modifyIpRule() argument 261 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule() 308 { &fraIifName, iif != IIF_NONE ? sizeof(fraIifName) : 0 }, in modifyIpRule() 334 uint32_t fwmark, uint32_t mask, const char* iif, in modifyIpRule() argument 336 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, in modifyIpRule()
|
H A D | TrafficController.h | 202 netdutils::Status addRule(uint32_t uid, UidOwnerMatchType match, uint32_t iif = 0)
|
H A D | TrafficControllerTest.cpp | 231 EXPECT_EQ(expectedIif, value.value().iif) in expectUidOwnerMapValues() 233 << value.value().iif; in expectUidOwnerMapValues()
|
/aosp12/system/netd/libnetdbpf/include/netdbpf/ |
H A D | bpf_shared.h | 152 uint32_t iif; member 170 uint32_t iif; // The input interface index member 191 uint32_t iif; // The input interface index member
|
/aosp12/system/netd/bpf_progs/ |
H A D | clatd.c | 79 .iif = skb->ifindex, 255 .iif = skb->ifindex,
|
H A D | netd.c | 194 uint32_t allowed_iif = uidEntry ? uidEntry->iif : 0; in bpf_owner_match()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/ |
H A D | BpfMapTest.java | 97 private TetherDownstream6Key createTetherDownstream6Key(long iif, String mac, in createTetherDownstream6Key() argument 102 return new TetherDownstream6Key(iif, dstMac, ipv6Address.getAddress()); in createTetherDownstream6Key()
|
/aosp12/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
H A D | BpfCoordinatorShimImpl.java | 362 final int upstreamIfindex = (int) key.iif; in tetherOffloadRuleAdd() 388 final int upstreamIfindex = (int) key.iif; in tetherOffloadRuleRemove()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
H A D | BpfCoordinatorTest.java | 794 assertEquals(key.iif, (long) mobileIfIndex); in testRuleMakeTetherDownstream6Key()
|