Expand description
§rslmnl
rsmnl
is a Netlink message handling library imitating
libmnl.
Cite from the libmnl:
libmnl is a minimalistic user-space library oriented to Netlink developers. There are a lot of common tasks in parsing, validating, constructing of both the Netlink header and TLVs that are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel.
Macros§
Structs§
- Attr
- Netlink Type-Length-Value (TLV) attribute:
- MsgVec
- Msghdr
- Netlink message:
- Nest
Attr - A struct for nesteds
Attr
stream iterator. - Socket
- A Netlink socket helpers. @imitates [libmnl::struct mnl_socket]
Enums§
Constants§
Traits§
Functions§
- align
- cb_run
- This function is like mnl_cb_run2() but it does not allow you to set the control callback handlers.
- cb_run2
- You can set the cb_ctl_array to NULL if you want to use the default control callback handlers, in that case, the parameter cb_ctl_array_len is not checked.
- default_
buffer - dump_
buffer - parse_
payload - @imitates: [mnl_attr_parse_payload]
- socket_
buffer_ size