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 int flnl_lookup_build_request(struct flnl_request *,
00032 int,
00033 struct nl_msg **);
00034 extern int flnl_lookup(struct nl_sock *,
00035 struct flnl_request *,
00036 struct nl_cache *);
00037
00038 #ifdef __cplusplus
00039 }
00040 #endif
00041
00042 #endif