aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netlink.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-08-06 16:42:19 +0200
committerPeter Wu <peter@lekensteyn.nl>2016-08-07 21:04:47 +0000
commitef8098cb3778e2c93c4c235528e15b9fd849fb53 (patch)
tree10b57c889cb0b2c154f97f226743eec8d7dc2c15 /epan/dissectors/packet-netlink.h
parentbad783b38ad33b96884ef2c679fde754fb39cf5d (diff)
netlink: dissect errors and more flags, improve display and help
Print "Protocol-specific" instead of "Unknown (0x0016)" for the type since its interpretation depend on the subprotocol. Dissect struct nlmsgerr (refactor and reuse the header dissection code). Dissect Dump interrupted and Dump filtered flags. Adjust field descriptions and value_string based on the netlink(7) manual and linux/netlink.h. Display Flags as hex instead of decimal. Expanded inline tabs, renamed netlink.hdr_flags.match_all to netlink.hdr_flags.match for consistency. Change-Id: If2b5c8d2b68fd94e70d1d8b98e63171b42b0d65c Reviewed-on: https://code.wireshark.org/review/16932 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-netlink.h')
-rw-r--r--epan/dissectors/packet-netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-netlink.h b/epan/dissectors/packet-netlink.h
index 2e4dec04b1..168310cd53 100644
--- a/epan/dissectors/packet-netlink.h
+++ b/epan/dissectors/packet-netlink.h
@@ -56,6 +56,8 @@ enum {
WS_NLM_F_MULTI = 2, /* Multipart message, terminated by NETLINK_MSG_DONE */
WS_NLM_F_ACK = 4, /* Reply with ack, with zero or error code */
WS_NLM_F_ECHO = 8, /* Echo this request */
+ WS_NLM_F_DUMP_INTR = 16, /* Dump was inconsistent due to sequence change */
+ WS_NLM_F_DUMP_FILTERED = 32, /* Dump was filtered as requested */
/* Modifiers to Get request */
WS_NLM_F_ROOT = 0x100, /* specify tree root */