Expand description
This module provides an implementation of routing netlink structures and the routing attributes that are at the end of most routing netlink responses.
§Design decisions
This module is based very heavily on the information in
man 7 rtnetlink
so it is mainly a series of structs organized
in a style similar to the rest of the library.
Structs§
- Ifaddrmsg
- Struct representing interface address messages
- Ifaddrmsg
Builder - Builder for
Ifaddrmsg
. - Ifinfomsg
- Struct representing interface information messages
- Ifinfomsg
Builder - Builder for
Ifinfomsg
. - NdaCacheinfo
- Struct representing ARP cache info
- NdaCacheinfo
Builder - Builder for
NdaCacheinfo
. - Ndmsg
- Represents an ARP (neighbor table) entry
- Ndmsg
Builder - Builder for
Ndmsg
. - Rtattr
- Struct representing route netlink attributes
- Rtattr
Builder - Builder for
Rtattr
. - Rtgenmsg
- General form of address family dependent message. Used for requesting things from rtnetlink.
- Rtgenmsg
Builder - Builder for
Rtgenmsg
. - Rtmsg
- Route message
- Rtmsg
Builder - Builder for
Rtmsg
. - Tcmsg
- Message in response to queuing discipline operations
- Tcmsg
Builder - Builder for
Tcmsg
.
Enums§
- Ifaddrmsg
Builder Error - Error type for IfaddrmsgBuilder
- Ifinfomsg
Builder Error - Error type for IfinfomsgBuilder
- NdaCacheinfo
Builder Error - Error type for NdaCacheinfoBuilder
- Ndmsg
Builder Error - Error type for NdmsgBuilder
- Rtattr
Builder Error - Error type for RtattrBuilder
- Rtgenmsg
Builder Error - Error type for RtgenmsgBuilder
- Rtmsg
Builder Error - Error type for RtmsgBuilder
- Tcmsg
Builder Error - Error type for TcmsgBuilder
Type Aliases§
- RtAttr
Handle - Represents a routing netlink attribute handle.