Searched refs:iif (Results 1 – 8 of 8) sorted by relevance
/system/netd/libnetdbpf/include/netdbpf/ |
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
|
/system/netd/server/ |
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 …]
|
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()
|
D | TrafficController.h | 202 netdutils::Status addRule(uint32_t uid, UidOwnerMatchType match, uint32_t iif = 0)
|
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()
|
D | TrafficControllerTest.cpp | 231 EXPECT_EQ(expectedIif, value.value().iif) in expectUidOwnerMapValues() 233 << value.value().iif; in expectUidOwnerMapValues()
|
/system/netd/bpf_progs/ |
D | clatd.c | 79 .iif = skb->ifindex, in nat64() 255 .iif = skb->ifindex,
|
D | netd.c | 194 uint32_t allowed_iif = uidEntry ? uidEntry->iif : 0; in bpf_owner_match()
|