diff options
Diffstat (limited to 'man7/netlink.7')
| -rw-r--r-- | man7/netlink.7 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/man7/netlink.7 b/man7/netlink.7 index c69bb62bfc..1f1a0d9904 100644 --- a/man7/netlink.7 +++ b/man7/netlink.7 @@ -189,13 +189,25 @@ message signals an error and the payload contains an .I nlmsgerr structure, .B NLMSG_DONE -message terminates a multipart message. +message terminates a multipart message. Error messages get the +original request appened, unless the user requests to cap the +error message, and get extra error data if requested. .PP .in +4n .EX struct nlmsgerr { int error; /* Negative errno or 0 for acknowledgements */ struct nlmsghdr msg; /* Message header that caused the error */ + /* + * followed by the message contents unless NETLINK_CAP_ACK was set + * or the ACK indicates success (error == 0). + * For example Generic Netlink message with attributes. + * message length is aligned with NLMSG_ALIGN() + */ + /* + * followed by TLVs defined in enum nlmsgerr_attrs + * if NETLINK_EXT_ACK was set + */ }; .EE .in |
