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