Lines Matching full:iproute
27 import iproute
745 routes = self.iproute.GetRoutes(dstaddr, self.ifindices[netid], 0, None)
749 self.assertEquals(iproute.RTN_UNICAST, rtmsg.type)
816 rules = self.iproute.DumpRules(version)
844 self.iproute.UidRangeRule(version, True, start, end, table,
855 self.iproute.UidRangeRule(version, False, start, end, table,
867 routes = self.iproute.GetRoutes(addr, oif, mark, uid)
869 self.assertEquals(iproute.RTN_UNREACHABLE, rtmsg.type)
875 routes = self.iproute.GetRoutes(addr, oif, mark, uid)
877 self.assertEquals(iproute.RTN_UNICAST, rtmsg.type)
898 self.iproute = iproute.IPRoute()
900 self.iproute.DeleteRulesAtPriority(version, self.RULE_PRIORITY)
904 self.iproute.DeleteRulesAtPriority(version, self.RULE_PRIORITY)
911 self.iproute.FwmarkRule(version, True, 300, 301,
913 self.iproute.FwmarkRule(version, True, 300, 302,
916 self.iproute.FwmarkRule(version, False, 300, 302,
919 attributes = [a for _, a in self.iproute.DumpRules(version)