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