00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef NETLINK_FIB_LOOKUP_H_
00013 #define NETLINK_FIB_LOOKUP_H_
00014
00015 #include <netlink/netlink.h>
00016 #include <netlink/cache.h>
00017 #include <netlink/addr.h>
00018 #include <netlink/fib_lookup/request.h>
00019
00020 struct flnl_result;
00021
00022 extern struct flnl_result * flnl_result_alloc(void);
00023 extern struct nl_cache * flnl_result_alloc_cache(void);
00024 extern void flnl_result_put(struct flnl_result *);
00025 extern void flnl_result_free(struct flnl_result *);
00026
00027 extern struct nl_msg * flnl_lookup_build_request(struct flnl_request *,
00028 int);
00029 extern int flnl_lookup(struct nl_handle *,
00030 struct flnl_request *,
00031 struct nl_cache *);
00032
00033 #endif