libnl 1.1
|
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-2006 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 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