diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-11 21:26:11 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-11 21:26:11 (GMT) |
commit | 7ff4deeb56300a83a1bee091d3664fd588ac7837 (patch) | |
tree | dda1f357ef9b91e9fe1bef82229f1aeb3215579a /include/netlink-local.h | |
parent | 2847cf081b88678a2bb780c59a2678131d47c11d (diff) | |
download | libnl-7ff4deeb56300a83a1bee091d3664fd588ac7837.zip libnl-7ff4deeb56300a83a1bee091d3664fd588ac7837.tar.gz libnl-7ff4deeb56300a83a1bee091d3664fd588ac7837.tar.bz2 |
Extend rtnl_link_alloc_cache() to support address families
Adds a family argument which allows to request link dumps for a certain
address family. This allows to f.e. dump ipv6 specific statistics and data.
nl-link-list --family inet6
Diffstat (limited to 'include/netlink-local.h')
-rw-r--r-- | include/netlink-local.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink-local.h b/include/netlink-local.h index e9310ea..59f1d61 100644 --- a/include/netlink-local.h +++ b/include/netlink-local.h @@ -49,6 +49,9 @@ #include <linux/ip_mp_alg.h> #include <linux/atm.h> +#include <linux/ipv6.h> +#include <linux/snmp.h> + #include <netlink/netlink.h> #include <netlink/handlers.h> #include <netlink/cache.h> |