Home
last modified time | relevance | path

Searched refs:NlAttrU32 (Results 1 – 9 of 9) sorted by relevance

/freebsd/tests/atf_python/sys/netlink/
H A Dnetlink_generic.py16 from atf_python.sys.netlink.attrs import NlAttrU32
112 AttrDescr(GenlCtrlAttrType.CTRL_ATTR_VERSION, NlAttrU32),
113 AttrDescr(GenlCtrlAttrType.CTRL_ATTR_HDRSIZE, NlAttrU32),
114 AttrDescr(GenlCtrlAttrType.CTRL_ATTR_MAXATTR, NlAttrU32),
119 AttrDescr(GenlCtrlAttrOpType.CTRL_ATTR_OP_ID, NlAttrU32),
120 AttrDescr(GenlCtrlAttrOpType.CTRL_ATTR_OP_FLAGS, NlAttrU32),
132 GenlCtrlAttrMcastGroupsType.CTRL_ATTR_MCAST_GRP_ID, NlAttrU32
175 AttrDescr(CarpAttrType.CARP_NL_VHID, NlAttrU32),
176 AttrDescr(CarpAttrType.CARP_NL_STATE, NlAttrU32),
180 AttrDescr(CarpAttrType.CARP_NL_IFINDEX, NlAttrU32),
[all …]
H A Dnetlink_route.py16 from atf_python.sys.netlink.attrs import NlAttrU32
484 class NlAttrRtFlags(NlAttrU32):
490 class NlAttrIfindex(NlAttrU32):
500 class NlAttrTable(NlAttrU32):
505 class NlAttrNhId(NlAttrU32):
510 class NlAttrKNhId(NlAttrU32):
609 AttrDescr(RtattrType.RTA_PRIORITY, NlAttrU32),
618 AttrDescr(NlRtaxType.RTAX_MTU, NlAttrU32),
629 AttrDescr(IflattrType.IFLA_MTU, NlAttrU32),
630 AttrDescr(IflattrType.IFLA_LINK, NlAttrU32),
[all …]
H A Dnetlink.py16 from atf_python.sys.netlink.attrs import NlAttrU32
142 AttrDescr(NlErrattrType.NLMSGERR_ATTR_OFFS, NlAttrU32),
H A Dattrs.py113 class NlAttrU32(NlAttr): class
/freebsd/tests/sys/netlink/
H A Dtest_netlink_message_writer.py5 from atf_python.sys.netlink.attrs import NlAttrU32
35 NlAttrU32(1, sz[0]), # size
36 NlAttrU32(2, sz[1]), # expected_avail
37 NlAttrU32(3, malloc_flags),
H A Dtest_rtnl_route.py9 from atf_python.sys.netlink.attrs import NlAttrU32
40 msg.add_nla(NlAttrU32(RtattrType.RTA_OIF, epair_ifindex))
61 msg.add_nla(NlAttrU32(RtattrType.RTA_OIF, tun_ifindex))
82 msg.add_nla(NlAttrU32(RtattrType.RTA_OIF, tun_ifindex))
H A Dtest_rtnl_iface.py14 from atf_python.sys.netlink.attrs import NlAttrU32
150 msg.add_nla(NlAttrU32(IflattrType.IFLA_MTU, 1024))
190 msg.add_nla(NlAttrU32(IflattrType.IFLA_MTU, 1024))
331 msg.add_nla(NlAttrU32(IflattrType.IFLA_LINK, ifindex))
H A Dtest_rtnl_ifaddr.py10 from atf_python.sys.netlink.attrs import NlAttrU32
225 msg.add_nla(NlAttrU32(CarpAttrType.CARP_NL_VHID, vhid))
226 msg.add_nla(NlAttrU32(CarpAttrType.CARP_NL_IFINDEX, ifindex))
321 attrs_bsd = [NlAttrU32(IfafAttrType.IFAF_VHID, vhid)]
348 attrs_bsd = [NlAttrU32(IfafAttrType.IFAF_VHID, vhid)]
421 msg.add_nla(NlAttrU32(IfaAttrType.IFA_FLAGS, nl_flags))
422 attrs_bsd = [NlAttrU32(IfafAttrType.IFAF_FLAGS, f_flags)]
/freebsd/tests/examples/
H A Dtest_ktest_example.py6 from atf_python.sys.netlink.attrs import NlAttrU32
23 NlAttrU32(1, numbers[0]),
24 NlAttrU32(2, numbers[1]),