Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Diproute.py538 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): argument
541 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack()
565 def AddAddress(self, address, prefixlen, ifindex): argument
594 self._Address(version, RTM_NEWADDR, address, prefixlen, flags,
601 def DelAddress(self, address, prefixlen, ifindex): argument
603 RTM_DELADDR, address, prefixlen, 0, 0, ifindex)
615 def _Route(self, version, proto, command, table, dest, prefixlen, nexthop, argument
620 rtmsg = RTMsg((family, prefixlen, 0, 0, RT_TABLE_UNSPEC,
644 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev): argument
645 self._Route(version, RTPROT_STATIC, RTM_NEWROUTE, table, dest, prefixlen,
[all …]
Dxfrm.py265 prefixlen = net_test.AddressLengthBits(srcver)
268 prefixlen_s=prefixlen, prefixlen_d=prefixlen, family=family)
Dsock_diag.py231 addr, prefixlen, port = arg
234 arg = InetDiagHostcond((family, prefixlen, port)).Pack() + addr
Dxfrm_tunnel_test.py700 prefixlen = net_test.AddressLengthBits(version)
703 cls.iproute.AddAddress(addr, prefixlen, ifindex)
707 cls.iproute.DelAddress(addr, prefixlen, ifindex)
Dsrcaddr_selection_test.py96 self.assertEqual(64, ifa_msg.prefixlen)
Dmultinetwork_base.py270 prefixlen=cls.OnlinkPrefixLen(6),