Crate rsmnl[][src]

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

Netlink Type-Length-Value (TLV) attribute:

Netlink message:

A struct for nesteds Attr stream iterator.

A Netlink socket helpers. @imitates [libmnl::struct mnl_socket]

Enums

Constants

Traits

Functions

This function is like mnl_cb_run2() but it does not allow you to set the control callback handlers.

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.

@imitates: [mnl_attr_parse_payload]

Type Definitions