libnl 3.5.0

netfilter.h
1 /*
2 * netlink/netfilter/netfilter.h Netfilter generic functions
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation version 2.1
7 * of the License.
8 *
9 * Copyright (c) 2008 Patrick McHardy <kaber@trash.net>
10 */
11
12 #ifndef NETLINK_NETFILTER_H_
13 #define NETLINK_NETFILTER_H_
14
15 #include <netlink/netlink.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 extern char * nfnl_verdict2str(unsigned int, char *, size_t);
22 extern unsigned int nfnl_str2verdict(const char *);
23
24 extern char * nfnl_inet_hook2str(unsigned int, char *, size_t);
25 extern unsigned int nfnl_str2inet_hook(const char *);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif