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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -54,6 +54,7 @@ struct nlmsghdr { · 53 unmodified lines | |||
| 54 | #define NLM_F_ACK 4 /* Reply with ack, with zero or error code */ | 54 | #define NLM_F_ACK 4 /* Reply with ack, with zero or error code */ |
| 55 | #define NLM_F_ECHO 8 /* Echo this request */ | 55 | #define NLM_F_ECHO 8 /* Echo this request */ |
| 56 | #define NLM_F_DUMP_INTR 16 /* Dump was inconsistent due to sequence change */ | 56 | #define NLM_F_DUMP_INTR 16 /* Dump was inconsistent due to sequence change */ |
| 57 | #define NLM_F_DUMP_FILTERED 32 /* Dump was filtered as requested */ | ||
| 57 | 58 | ||
| 58 | /* Modifiers to GET request */ | 59 | /* Modifiers to GET request */ |
| 59 | #define NLM_F_ROOT 0x100 /* specify tree root */ | 60 | #define NLM_F_ROOT 0x100 /* specify tree root */ |