libnl/lib
roopa 30d862650b New cache manager add cache api
This patch is an attempt to add a new nl_cache_mngr_add_cache api
to allow adding an existing cache to cache manager.

Since the new api is similar to nl_cache_mngr_add
except for allocating the cache, the patch moves most of the
nl_cache_mngr_add code to nl_cache_mngr_add_cache and changes
nl_cache_mngr_add to call nl_cache_mngr_add_cache.

One use case for this api as pointed out by thomas would be to set cache
flags before associating the cache with a cache manager.

nl_cache_alloc_name("route/link", &cache);
nl_cache_set_flags(cache, NL_CACHE_AF_ITER);
nl_cache_mngr_add_cache(mngr, cache, ...);

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2012-11-12 21:51:03 +01:00
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup doc: documentation restructuring 2012-05-10 12:03:59 +02:00
genl genl/family flags can be damaged during the auto-indentation. 2012-10-19 22:16:44 +06:00
netfilter Source cleanup for upstream 2012-10-19 11:18:52 -07:00
route addr: rtnl_addr_set_peer() is limited to IPv4 2012-11-11 21:01:19 +01:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c Address comparison bug fixed 2012-08-30 21:00:39 +06:00
attr.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
cache.c Add support for per cache flags 2012-11-12 21:51:02 +01:00
cache_mngr.c New cache manager add cache api 2012-11-12 21:51:03 +01:00
cache_mngt.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
data.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
error.c Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
hash.c Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.c hashtable: remove doc section crashing doxygen 2012-11-11 11:21:10 +01:00
Makefile.am Add nl hashtable structures and access functions 2012-11-10 00:12:36 +01:00
msg.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
nl.c nl: Improve API doc of nl_send_simple() 2012-11-08 21:17:32 +01:00
object.c Add nl hashtable structures and access functions 2012-11-10 00:12:36 +01:00
socket.c socket: document nl_socket_get_fd() 2012-11-06 17:36:53 +01:00
utils.c Fix warning "not checking return value of fscanf" in lib/utils.c: get_psched_settings 2012-08-30 03:19:04 +06:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00