diff options
author | Thomas Haller <thaller@redhat.com> | 2016-05-29 14:26:59 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-06-24 17:25:55 (GMT) |
commit | 8dce6de7011a2773f97e8eca109ea0201435210f (patch) | |
tree | 03b9b9961554795c2117eb97aca095451f7089b4 /include | |
parent | 90c6ebec9bd7adbe6dc7aca114b4304c1ba02f6d (diff) | |
download | libnl-8dce6de7011a2773f97e8eca109ea0201435210f.zip libnl-8dce6de7011a2773f97e8eca109ea0201435210f.tar.gz libnl-8dce6de7011a2773f97e8eca109ea0201435210f.tar.bz2 |
link: allow overwriting IFLA_EXT_MASK flag in ao_get_af() function
Instead of setting it twice, once during link_request_update() and
later in bridge_get_af(), pass ext_filter_mask to ao_get_af().
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink-private/route/link/api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/netlink-private/route/link/api.h b/include/netlink-private/route/link/api.h index 6e11062..dedc921 100644 --- a/include/netlink-private/route/link/api.h +++ b/include/netlink-private/route/link/api.h @@ -126,7 +126,8 @@ struct rtnl_link_af_ops /** Called for GETLINK message to the kernel. Used to append * link address family specific attributes to the request message. */ - int (*ao_get_af)(struct nl_msg *msg); + int (*ao_get_af)(struct nl_msg *msg, + uint32_t *ext_filter_mask); /** Dump address family specific link attributes */ void (*ao_dump[NL_DUMP_MAX+1])(struct rtnl_link *, |