diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-05 15:09:25 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-05 15:09:25 (GMT) |
commit | 85808860b6174aecc901c34c90968911ad013280 (patch) | |
tree | 50b656a80afe3daa422c94ece74552fae74c5b03 /src/utils.h | |
parent | 861901c55bd9e2f84e7c8de0da5ea6179867907d (diff) | |
download | libnl-85808860b6174aecc901c34c90968911ad013280.zip libnl-85808860b6174aecc901c34c90968911ad013280.tar.gz libnl-85808860b6174aecc901c34c90968911ad013280.tar.bz2 |
Route cache support
This changesets adds the possibility to fill a nl_cache with
the contents of the route cache. It also adds the possibility
to limit route caches to certain address families.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index 1e0bcb4..c400206 100644 --- a/src/utils.h +++ b/src/utils.h @@ -56,7 +56,7 @@ extern struct nl_cache *nltool_alloc_link_cache(struct nl_handle *nlh); extern struct nl_cache *nltool_alloc_addr_cache(struct nl_handle *nlh); extern struct nl_cache *nltool_alloc_neigh_cache(struct nl_handle *nlh); extern struct nl_cache *nltool_alloc_neightbl_cache(struct nl_handle *nlh); -extern struct nl_cache *nltool_alloc_route_cache(struct nl_handle *nlh); +extern struct nl_cache *nltool_alloc_route_cache(struct nl_handle *nlh, int); extern struct nl_cache *nltool_alloc_rule_cache(struct nl_handle *nlh); extern struct nl_cache *nltool_alloc_qdisc_cache(struct nl_handle *nlh); extern struct nl_cache *nltool_alloc_genl_family_cache(struct nl_handle *nlh); |