/packages/modules/Connectivity/tests/native/utilities/ |
D | firewall.cpp | 59 Result<void> Firewall::addRule(uint32_t uid, UidOwnerMatchType match, uint32_t iif) { in addRule() argument 61 if (match == IIF_MATCH && iif == 0) { in addRule() 64 } else if (match != IIF_MATCH && iif != 0) { in addRule() 73 .iif = iif ? iif : oldMatch.value().iif, in addRule() 80 .iif = iif, in addRule() 95 .iif = (match == IIF_MATCH) ? 0 : oldMatch.value().iif, in removeRule() 110 unsigned int iif = if_nametoindex(ifName.c_str()); in addUidInterfaceRules() local 111 if (!iif) return Errorf("Failed to get interface index: {}", ifName); in addUidInterfaceRules() 114 auto res = addRule(uid, IIF_MATCH, iif); in addUidInterfaceRules()
|
D | firewall.h | 33 Result<void> addRule(uint32_t uid, UidOwnerMatchType match, uint32_t iif = 0) EXCLUDES(mMutex);
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetherDownstream6Key.java | 36 public final int iif; // The input interface index. field in TetherDownstream6Key 44 public TetherDownstream6Key(final int 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()
|
D | TetherUpstream6Key.java | 30 public final int iif; // The input interface index. field in TetherUpstream6Key 38 public TetherUpstream6Key(int iif, @NonNull final MacAddress dstMac, final byte[] src64) { in TetherUpstream6Key() argument 41 this.iif = iif; in TetherUpstream6Key()
|
D | BpfCoordinator.java | 910 upstreamIndiceSet.add((int) k.iif); in tetherOffloadRuleClear() 1281 key.iif, getIfName(key.iif), key.dstMac, bytesToPrefix(key.src64), value.oif, in ipv6UpstreamRuleToString() 1309 key.iif, getIfName(key.iif), key.dstMac, neigh6, value.oif, getIfName(value.oif), in ipv6DownstreamRuleToString() 1410 l4protoToString(key.l4proto), key.dstMac, key.iif, getIfName(key.iif), in ipv4RuleToString()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | UidOwnerValue.java | 29 public final int iif; field in UidOwnerValue 35 public UidOwnerValue(final int iif, final long rule) { in UidOwnerValue() argument 36 this.iif = iif; in UidOwnerValue()
|
/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ |
D | Tether4Key.java | 34 public final int iif; field in Tether4Key 54 public Tether4Key(final int iif, @NonNull final MacAddress dstMac, final short l4proto, in Tether4Key() argument 59 this.iif = iif; in Tether4Key() 74 iif, dstMac, l4proto, in toString()
|
D | ClatEgress4Key.java | 28 public final int iif; // The input interface index field in ClatEgress4Key 33 public ClatEgress4Key(final int iif, final Inet4Address local4) { in ClatEgress4Key() argument 34 this.iif = iif; in ClatEgress4Key()
|
D | ClatIngress6Key.java | 28 public final int iif; // The input interface index field in ClatIngress6Key 36 public ClatIngress6Key(final int iif, final Inet6Address pfx96, final Inet6Address local6) { in ClatIngress6Key() argument 37 this.iif = iif; in ClatIngress6Key()
|
/packages/modules/Connectivity/bpf_progs/ |
D | offload.h | 98 uint32_t iif; // The input interface index member 113 uint32_t iif; // The input interface index member 136 uint32_t iif; // The input interface index member 144 uint32_t iif; // The input interface index member
|
D | clatd.h | 33 uint32_t iif; // The input interface index member 48 uint32_t iif; // The input interface index member
|
D | netd.h | 228 uint32_t iif; member 242 uint32_t iif[2]; member
|
D | clatd.c | 99 .iif = skb->ifindex, in nat64() 361 .iif = skb->ifindex,
|
D | netd.c | 404 if (skb->ifindex == v->iif[0]) return false; // allowed interface in ingress_should_discard() 405 if (skb->ifindex == v->iif[1]) return false; // allowed interface in ingress_should_discard() 423 uint32_t allowed_iif = uidEntry ? uidEntry->iif : 0; in bpf_owner_match()
|
D | offload.c | 195 .iif = skb->ifindex, 200 .iif = skb->ifindex, 416 .iif = skb->ifindex, in do_forward4_bottom()
|
D | offload@mainline.c | 195 .iif = skb->ifindex, 200 .iif = skb->ifindex, 416 .iif = skb->ifindex, in do_forward4_bottom()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | MulticastRoutingCoordinatorService.java | 396 public MfcKey(int iif, Inet6Address src, Inet6Address dst) { in MfcKey() argument 397 mIifVirtualIdx = iif; in MfcKey() 486 private MfcValue computeMfcValue(int iif, Inet6Address dst) { in computeMfcValue() argument 491 mMulticastRoutingConfigs.get(getInterfaceName(iif)); in computeMfcValue() 596 Integer iif = getVirtualInterfaceIndex(route.getIifIndex()); in refreshMfcInactiveDuration() local 597 if (iif == null) { in refreshMfcInactiveDuration() 603 iif, in refreshMfcInactiveDuration()
|
D | ClatCoordinator.java | 778 pw.println(String.format("%d %s/96 %s -> %s %d (%d %d)", k.iif, k.pfx96, k.local6, in dumpBpfIngress() 801 pw.println(String.format("%d %s -> %s %s/96 %d %s (%d %d)", k.iif, k.local4, in dumpBpfEgress()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | BpfNetMaps.java | 401 (match == IIF_MATCH) ? 0 : oldMatch.iif, in removeRule() 417 private void addRule(final int uid, final long match, final int iif, final String caller) { in addRule() argument 418 if (match != IIF_MATCH && iif != 0) { in addRule() 430 (match == IIF_MATCH) ? iif : oldMatch.iif, in addRule() 435 iif, in addRule() 1070 return uid.val + " " + matchToString(match.rule) + " " + match.iif; in dump()
|
/packages/modules/Connectivity/DnsResolver/ |
D | DnsBpfHelperTest.cpp | 125 EXPECT_RESULT_OK(mFakeUidOwnerMap.writeValue(config.uid, {.iif = 0, .rule = config.uidRules}, in TEST_F() 199 EXPECT_RESULT_OK(mFakeUidOwnerMap.writeValue(AID_APP_START, {.iif = 0, .rule = config.uidRules}, in TEST_F()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | RtNetlinkRouteMessage.java | 88 int iif, int oif, final StructRtaCacheInfo cacheInfo) { in RtNetlinkRouteMessage() argument 94 mIifIndex = iif; in RtNetlinkRouteMessage()
|
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
D | BpfCoordinatorShimImpl.java | 350 final int upstreamIfindex = (int) key.iif; in tetherOffloadRuleAdd() 374 final int upstreamIfindex = (int) key.iif; in tetherOffloadRuleRemove()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | BpfNetMapsTest.java | 347 assertEquals(expectedIif, config.iif); in checkUidOwnerValue() 352 private void doTestUpdateUidLockdownRule(final int iif, final long match, final boolean add) in doTestUpdateUidLockdownRule() argument 355 mUidOwnerMap.updateEntry(new S32(TEST_UID), new UidOwnerValue(iif, match)); in doTestUpdateUidLockdownRule() 361 checkUidOwnerValue(TEST_UID, iif, expectedMatch); in doTestUpdateUidLockdownRule() 961 void doTestDumpUidOwnerMap(final int iif, final long match, final String matchString) in doTestDumpUidOwnerMap() argument 963 mUidOwnerMap.updateEntry(new S32(TEST_UID), new UidOwnerValue(iif, match)); in doTestDumpUidOwnerMap()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/ |
D | BpfMapTest.java | 134 private TetherDownstream6Key createTetherDownstream6Key(int iif, String mac, in createTetherDownstream6Key() argument 139 return new TetherDownstream6Key(iif, dstMac, ipv6Address.getAddress()); in createTetherDownstream6Key()
|
/packages/apps/Launcher3/tests/assets/ReorderAlgorithmUnitTest/ |
D | reorder_algorithm_test_cases | 1159 iif--eiii
|