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 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00024 struct flnl_result;
00025
00026 extern struct flnl_result * flnl_result_alloc(void);
00027 extern void flnl_result_put(struct flnl_result *);
00028
00029 extern struct nl_cache * flnl_result_alloc_cache(void);
00030
00031 extern struct nl_msg * flnl_lookup_build_request(struct flnl_request *,
00032 int);
00033 extern int flnl_lookup(struct nl_handle *,
00034 struct flnl_request *,
00035 struct nl_cache *);
00036
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040
00041 #endif