Module core

Module core 

Source
Expand description

Netlink core parts

Structs§

Attribute
Netlink attribute
HardwareAddress
HardwareAddress is an six octet identifier
Header
Netlink message header
Message
Netlink data message
MessageFlags
Message flags
Socket
Netlink Socket can be used to communicate with the Linux kernel using the netlink protocol.

Enums§

MessageMode
Message mode
Protocol

Traits§

ConvertFrom
A trait for converting a value from one type to another. Any failure in converting will return None.
NativePack
Pack value into byte slice, using native endian
NativeUnpack
Trait for unpacking byte slice into a value, using native endian
SendMessage
Trait for message to be sent by the socket

Functions§

nested_attribute_array
Parsing an array of nested attributes
pack_vec
Pack a vector of values into byte slice