libnl
3.2.3
|
00001 /* 00002 * netlink/fib_lookup/fib_lookup.h FIB Lookup 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation version 2.1 00007 * of the License. 00008 * 00009 * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch> 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