[PATCH 1/2] route/link: add AF operation to pass full tree
Tobias Jungel
tobias.jungel at bisdn.de
Thu Nov 26 07:47:56 PST 2015
---
include/netlink-private/route/link/api.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/netlink-private/route/link/api.h b/include/netlink-private/route/link/api.h
index 2d56658..4b44ac7 100644
--- a/include/netlink-private/route/link/api.h
+++ b/include/netlink-private/route/link/api.h
@@ -114,6 +114,11 @@ struct rtnl_link_af_ops
int (*ao_parse_af)(struct rtnl_link *,
struct nlattr *, void *);
+ /** Called if the full IFLA_AF_SPEC data needs to be parsed. Typically
+ * stores the parsed data in the address family specific buffer. */
+ int (*ao_parse_af_full)(struct rtnl_link *,
+ struct nlattr *, void *);
+
/** Called if a link message is sent to the kernel. Must append the
* link address family specific attributes to the message. */
int (*ao_fill_af)(struct rtnl_link *,
--
2.5.0
More information about the libnl
mailing list