libnl
3.2.3
|
00001 /* 00002 * netlink/netfilter/netfilter.h Netfilter generic functions 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) 2008 Patrick McHardy <kaber@trash.net> 00010 */ 00011 00012 #ifndef NETLINK_NETFILTER_H_ 00013 #define NETLINK_NETFILTER_H_ 00014 00015 #include <netlink/netlink.h> 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 extern char * nfnl_verdict2str(unsigned int, char *, size_t); 00022 extern unsigned int nfnl_str2verdict(const char *); 00023 00024 extern char * nfnl_inet_hook2str(unsigned int, char *, size_t); 00025 extern unsigned int nfnl_str2inet_hook(const char *); 00026 00027 #ifdef __cplusplus 00028 } 00029 #endif 00030 00031 #endif