Function uapi::nlmsg_read

source ·
pub fn nlmsg_read<T: Pod>(buf: &mut &[u8]) -> Result<(usize, T)>
👎Deprecated: beta features are subject to change at any time
Expand description

Reads an object from an netlink message buffer

Note that this function will advance the buffer by the size of T rounded up to the next multiple of 4.

See also the crate documentation.