Home
last modified time | relevance | path

Searched refs:prefixlen (Results 1 – 4 of 4) sorted by relevance

/kernel/tests/net/test/
Diproute.py425 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): argument
428 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack()
434 def AddAddress(self, address, prefixlen, ifindex): argument
436 RTM_NEWADDR, address, prefixlen,
439 def DelAddress(self, address, prefixlen, ifindex): argument
441 RTM_DELADDR, address, prefixlen, 0, 0, ifindex)
453 def _Route(self, version, command, table, dest, prefixlen, nexthop, dev, argument
458 rtmsg = RTMsg((family, prefixlen, 0, 0, RT_TABLE_UNSPEC,
478 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev): argument
479 self._Route(version, RTM_NEWROUTE, table, dest, prefixlen, nexthop, dev,
[all …]
Dsock_diag.py229 addr, prefixlen, port = arg
232 arg = InetDiagHostcond((family, prefixlen, port)).Pack() + addr
Dsrcaddr_selection_test.py92 self.assertEquals(64, ifa_msg.prefixlen)
Dmultinetwork_base.py237 prefixlen=cls.OnlinkPrefixLen(6),