12 #ifndef NETLINK_FIB_LOOKUP_H_ 13 #define NETLINK_FIB_LOOKUP_H_ 15 #include <netlink/netlink.h> 16 #include <netlink/cache.h> 17 #include <netlink/addr.h> 18 #include <netlink/fib_lookup/request.h> 26 extern struct flnl_result * flnl_result_alloc(
void);
27 extern void flnl_result_put(
struct flnl_result *);
35 struct flnl_request *,
int flnl_lookup(struct nl_sock *, struct flnl_request *, struct nl_cache *)
Perform FIB Lookup.
int flnl_lookup_build_request(struct flnl_request *, int, struct nl_msg **)
Builds a netlink request message to do a lookup.
struct nl_cache * flnl_result_alloc_cache(void)
Allocate lookup result cache.