Next: Address Messages, Previous: Routing Attributes, Up: Rtnetlink API [Contents][Index]
The (netlink route link) package defines the following data type:
This datatype represents a link message with its routing attributes. This type of message is expected when using the RTM_*LINK message types.
familyThe network family, defined as AF_UNSPEC in the rtnetlink documentation,
although it holds different values in practice.
typeThe device type.
indexThe index of the device. This is used to select a specific device by its index, or 0 to not filter by device index.
flagsThe device flags. See man 7 netdevices for a list.
attrsA list of attributes. This field must contain a list of nl-data
structures, not a structure by itself.