Home
last modified time | relevance | path

Searched refs:RtScope (Results 1 – 2 of 2) sorted by relevance

/src/tests/sys/netlink/
H A Dtest_rtnl_ifaddr.py27 from atf_python.sys.netlink.netlink_route import RtScope
59 …assert len([r for r in ret if r[0] == ifname and r[1] == socket.AF_INET and r[2] == RtScope.RT_SCO…
60 …r for r in ret if r[0] == ifname and r[1] == socket.AF_INET6 and r[2] == RtScope.RT_SCOPE_HOST.val…
61 …r for r in ret if r[0] == ifname and r[1] == socket.AF_INET6 and r[2] == RtScope.RT_SCOPE_LINK.val…
65 …assert len([r for r in ret if r[0] == ifname and r[1] == socket.AF_INET and r[2] == RtScope.RT_SCO…
66 …assert len([r for r in ret if r[0] == ifname and r[1] == socket.AF_INET and r[2] == RtScope.RT_SCO…
67 …r for r in ret if r[0] == ifname and r[1] == socket.AF_INET6 and r[2] == RtScope.RT_SCOPE_LINK.val…
68 …r for r in ret if r[0] == ifname and r[1] == socket.AF_INET6 and r[2] == RtScope.RT_SCOPE_UNIVERSE…
136 assert msg.base_hdr.ifa_scope == RtScope.RT_SCOPE_UNIVERSE.value
149 if ret[0].base_hdr.ifa_scope == RtScope.RT_SCOPE_UNIVERSE.value:
[all …]
/src/tests/atf_python/sys/netlink/
H A Dnetlink_route.py148 class RtScope(Enum): class
720 self.helper.get_attr_byval(RtScope, hdr.rtm_scope),