diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netlink.h | 1 | ||||
-rw-r--r-- | include/netlink/errno.h | 3 | ||||
-rw-r--r-- | include/netlink/handlers.h | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index 0abcdaf..3925254 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h @@ -49,6 +49,7 @@ struct nlmsghdr { #define NLM_F_MULTI 2 /* Multipart message, terminated by NLMSG_DONE */ #define NLM_F_ACK 4 /* Reply with ack, with zero or error code */ #define NLM_F_ECHO 8 /* Echo this request */ +#define NLM_F_DUMP_INTR 16 /* Dump was inconsistent due to sequence change */ /* Modifiers to GET request */ #define NLM_F_ROOT 0x100 /* specify tree root */ diff --git a/include/netlink/errno.h b/include/netlink/errno.h index 267a745..f8b5130 100644 --- a/include/netlink/errno.h +++ b/include/netlink/errno.h @@ -49,8 +49,9 @@ extern "C" { #define NLE_PARSE_ERR 30 #define NLE_NODEV 31 #define NLE_IMMUTABLE 32 +#define NLE_DUMP_INTR 33 -#define NLE_MAX NLE_IMMUTABLE +#define NLE_MAX NLE_DUMP_INTR extern const char * nl_geterror(int); extern void nl_perror(int, const char *); diff --git a/include/netlink/handlers.h b/include/netlink/handlers.h index f373f58..dfa2809 100644 --- a/include/netlink/handlers.h +++ b/include/netlink/handlers.h @@ -108,6 +108,8 @@ enum nl_cb_type { NL_CB_SEQ_CHECK, /** Sending of an acknowledge message has been requested */ NL_CB_SEND_ACK, + /** Flag NLM_F_DUMP_INTR is set in message */ + NL_CB_DUMP_INTR, __NL_CB_TYPE_MAX, }; |