From 18d60cb9d72f61f2070f3758bcd347bb2e3747c1 Mon Sep 17 00:00:00 2001 From: David Ahern Date: Tue, 27 Oct 2015 15:40:48 -0700 Subject: link/neigh: add flags option to link and neighbor caches Both link and neighbor cache support specify multiple groups (nl_af_group), but the alloc_cache functions for both do not set the NL_CACHE_AF_ITER flag before populating the cache so only the first group is used by default. This patch adds an API to pass in flags to make that happen and updates the nl-neigh-list command to make use of it. http://lists.infradead.org/pipermail/libnl/2015-October/001996.html Signed-off-by: David Ahern Signed-off-by: Thomas Haller --- libnl-cli-3.sym | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libnl-cli-3.sym') diff --git a/libnl-cli-3.sym b/libnl-cli-3.sym index 3d433f6..71ff2eb 100644 --- a/libnl-cli-3.sym +++ b/libnl-cli-3.sym @@ -108,3 +108,10 @@ global: local: *; }; + +libnl_3_2_28 { +global: + nl_cli_alloc_cache_flags; + nl_cli_link_alloc_cache_flags; + nl_cli_link_alloc_cache_family_flags; +} libnl_3; -- cgit v1.2.3