Routing
[Routing Netlink]


Modules

 Route Object
 Utilities
 Routing Utility Functions.

Function Documentation

struct nl_cache* rtnl_route_alloc_cache ( struct nl_handle *  handle  )  [read]

Parameters:
handle netlink handle
Allocates a new cache, initializes it properly and updates it to contain all routes currently configured in the kernel.

Note:
The caller is responsible for destroying and freeing the cache after using it.
Returns:
The cache or NULL if an error has occured.

Definition at line 241 of file route.c.

References nl_cache_alloc(), and nl_cache_refill().


Generated on Thu May 28 01:01:27 2009 for libnl by  doxygen 1.5.7.1