| 1 |
/* SPDX-License-Identifier: LGPL-2.1-only */ |
| 2 |
/* |
| 3 |
* Copyright (c) 2008 Patrick McHardy <[email protected]> |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef NETLINK_NETFILTER_H_ |
| 7 |
#define NETLINK_NETFILTER_H_ |
| 8 |
|
| 9 |
#include <netlink/netlink.h> |
| 10 |
|
| 11 |
#ifdef __cplusplus |
| 12 |
extern "C" { |
| 13 |
#endif |
| 14 |
|
| 15 |
extern char * nfnl_verdict2str(unsigned int, char *, size_t); |
| 16 |
extern unsigned int nfnl_str2verdict(const char *); |
| 17 |
|
| 18 |
extern char * nfnl_inet_hook2str(unsigned int, char *, size_t); |
| 19 |
extern unsigned int nfnl_str2inet_hook(const char *); |
| 20 |
|
| 21 |
#ifdef __cplusplus |
| 22 |
} |
| 23 |
#endif |
| 24 |
|
| 25 |
#endif |