summaryrefslogtreecommitdiffstats
path: root/include/netlink-local.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-11 21:26:11 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-11-11 21:26:11 (GMT)
commit7ff4deeb56300a83a1bee091d3664fd588ac7837 (patch)
treedda1f357ef9b91e9fe1bef82229f1aeb3215579a /include/netlink-local.h
parent2847cf081b88678a2bb780c59a2678131d47c11d (diff)
downloadlibnl-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.h3
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>