Home
last modified time | relevance | path

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

/system/netd/bpf_progs/
Dclatd.c176 if (v->oif) return bpf_redirect(v->oif, BPF_F_INGRESS); in nat64()
264 if (!v->oif) return TC_ACT_OK;
318 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */);
/system/netd/libnetdbpf/include/netdbpf/
Dbpf_shared.h177 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
/system/netd/server/
DClatdController.cpp228 .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()
DRouteController.cpp248 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()
/system/netd/tests/
Dbinder_test.cpp568 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()