diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2015-09-29 19:32:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-30 07:33:54 +0300 |
commit | 21fdd092acc7ebda0dfe682008592eb79c382707 (patch) | |
tree | 1dec62682983f931ae792c066f1f1bbb2d34372e /include/uapi/linux/netlink.h | |
parent | 5172393522e4b2caf1af638076c3c0cd74313ae3 (diff) | |
download | linux-21fdd092acc7ebda0dfe682008592eb79c382707.tar.xz |
net: Add support for filtering neigh dump by master device
Add support for filtering neighbor dumps by master device by adding
the NDA_MASTER attribute to the dump request. A new netlink flag,
NLM_F_DUMP_FILTERED, is added to indicate the kernel supports the
request and output is filtered as requested.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/netlink.h')
-rw-r--r-- | include/uapi/linux/netlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/netlink.h b/include/uapi/linux/netlink.h index 6f3fe16cd22a..f095155d8749 100644 --- a/include/uapi/linux/netlink.h +++ b/include/uapi/linux/netlink.h @@ -54,6 +54,7 @@ struct nlmsghdr { #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 */ +#define NLM_F_DUMP_FILTERED 32 /* Dump was filtered as requested */ /* Modifiers to GET request */ #define NLM_F_ROOT 0x100 /* specify tree root */ |