Home
last modified time | relevance | path

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

/system/extras/tests/net_test/
Dforwarding_test.py34 for iif, oif in itertools.permutations([iface1, iface2]):
35 self.iproute.IifRule(6, enabled, self.GetInterfaceName(iif),
Dmultinetwork_base.py623 iif = self.GetInterfaceName(netid)
624 combinations.append((netid, iif, ip_if, myaddr, remoteaddr))
628 def _FormatMessage(self, iif, ip_if, extra, desc, reply_desc): argument
629 msg = "Receiving %s on %s to %s IP, %s" % (desc, iif, ip_if, extra)
631 msg += ": Expecting %s on %s" % (reply_desc, iif)
633 msg += ": Expecting no packets on %s" % iif
Dmultinetwork_test.py367 for netid, iif, ip_if, myaddr, remoteaddr in self.Combinations(version):
383 msg = self._FormatMessage(iif, ip_if, "reflect=%d" % reflect,
517 for netid, iif, ip_if, myaddr, remoteaddr in self.Combinations(version):
529 bound_dev = iif if mode == self.MODE_BINDTODEVICE else None
548 msg = self._FormatMessage(iif, ip_if, extra, desc, reply_desc)
Diproute.py366 def IifRule(self, version, is_add, iif, table, priority): argument
367 nlattr = self._NlAttrInterfaceName(FRA_IIFNAME, iif)
/system/netd/server/
DRouteController.cpp266 uint32_t table, uint32_t fwmark, uint32_t mask, const char* iif, in modifyIpRule() argument
279 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule()
327 { &fraIifName, iif != IIF_NONE ? sizeof(fraIifName) : 0 }, in modifyIpRule()
347 uint32_t fwmark, uint32_t mask, const char* iif, in modifyIpRule() argument
349 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, in modifyIpRule()