libnl: /data/src/libnl3/include/netlink/cli/exp.h Source File

libnl 3.7.0

exp.h
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2012 Rich Fought <Rich.Fought@watchguard.com>
4 * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch>
5 */
6
7 #ifndef __NETLINK_CLI_EXP_H_
8 #define __NETLINK_CLI_EXP_H_
9
10 #include <netlink/netfilter/exp.h>
11 #include <linux/netfilter/nf_conntrack_common.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 extern struct nfnl_exp *nl_cli_exp_alloc(void);
18 extern struct nl_cache *nl_cli_exp_alloc_cache(struct nl_sock *);
19
20 extern void nl_cli_exp_parse_family(struct nfnl_exp *, char *);
21 extern void nl_cli_exp_parse_timeout(struct nfnl_exp *, char *);
22 extern void nl_cli_exp_parse_id(struct nfnl_exp *, char *);
23 extern void nl_cli_exp_parse_helper_name(struct nfnl_exp *, char *);
24 extern void nl_cli_exp_parse_zone(struct nfnl_exp *, char *);
25 extern void nl_cli_exp_parse_flags(struct nfnl_exp *, char *);
26 extern void nl_cli_exp_parse_class(struct nfnl_exp *, char *);
27 extern void nl_cli_exp_parse_nat_dir(struct nfnl_exp *, char *);
28 extern void nl_cli_exp_parse_fn(struct nfnl_exp *, char *);
29
30 extern void nl_cli_exp_parse_src(struct nfnl_exp *, int, char *);
31 extern void nl_cli_exp_parse_dst(struct nfnl_exp *, int, char *);
32 extern void nl_cli_exp_parse_l4protonum(struct nfnl_exp *, int, char *);
33 extern void nl_cli_exp_parse_src_port(struct nfnl_exp *, int, char *);
34 extern void nl_cli_exp_parse_dst_port(struct nfnl_exp *, int, char *);
35 extern void nl_cli_exp_parse_icmp_id(struct nfnl_exp *, int, char *);
36 extern void nl_cli_exp_parse_icmp_type(struct nfnl_exp *, int, char *);
37 extern void nl_cli_exp_parse_icmp_code(struct nfnl_exp *, int, char *);
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif