diff options
| author | David Ahern <dsa@cumulusnetworks.com> | 2015-10-02 09:42:27 -0700 |
|---|---|---|
| committer | Stephen Hemminger <shemming@brocade.com> | 2015-10-12 09:39:37 -0700 |
| commit | 0d238ca2b8b79e31dbbae78875f4293e4f04de11 (patch) | |
| tree | 231ab7fbdb9e4f70f7a3a1f3d8b8bbb046a96367 /include | |
| parent | 23e905096c45b5be4020a3adb5c8d0a789d30cc4 (diff) | |
| download | android_external_iproute2-0d238ca2b8b79e31dbbae78875f4293e4f04de11.tar.gz android_external_iproute2-0d238ca2b8b79e31dbbae78875f4293e4f04de11.tar.bz2 android_external_iproute2-0d238ca2b8b79e31dbbae78875f4293e4f04de11.zip | |
ip neigh: Add support for filtering dumps by master device
Add support for filtering neighbor dumps by master device. Kernel side
support provided by commit 21fdd092acc7. Since the feature is not
available in older kernels the user is given a warning message if the
kernel does not support the request.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/libnetlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnetlink.h b/include/libnetlink.h index 0503dea..4813359 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -42,6 +42,8 @@ int rtnl_wilddump_req_filter(struct rtnl_handle *rth, int fam, int type, int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) __attribute__((warn_unused_result)); +int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n) + __attribute__((warn_unused_result)); struct rtnl_ctrl_data { int nsid; |
