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
14extern "C" {
15#endif
16
17extern struct nfnl_exp *nl_cli_exp_alloc(void);
18extern struct nl_cache *nl_cli_exp_alloc_cache(struct nl_sock *);
19
20extern void nl_cli_exp_parse_family(struct nfnl_exp *, char *);
21extern void nl_cli_exp_parse_timeout(struct nfnl_exp *, char *);
22extern void nl_cli_exp_parse_id(struct nfnl_exp *, char *);
23extern void nl_cli_exp_parse_helper_name(struct nfnl_exp *, char *);
24extern void nl_cli_exp_parse_zone(struct nfnl_exp *, char *);
25extern void nl_cli_exp_parse_flags(struct nfnl_exp *, char *);
26extern void nl_cli_exp_parse_class(struct nfnl_exp *, char *);
27extern void nl_cli_exp_parse_nat_dir(struct nfnl_exp *, char *);
28extern void nl_cli_exp_parse_fn(struct nfnl_exp *, char *);
29
30extern void nl_cli_exp_parse_src(struct nfnl_exp *, int, char *);
31extern void nl_cli_exp_parse_dst(struct nfnl_exp *, int, char *);
32extern void nl_cli_exp_parse_l4protonum(struct nfnl_exp *, int, char *);
33extern void nl_cli_exp_parse_src_port(struct nfnl_exp *, int, char *);
34extern void nl_cli_exp_parse_dst_port(struct nfnl_exp *, int, char *);
35extern void nl_cli_exp_parse_icmp_id(struct nfnl_exp *, int, char *);
36extern void nl_cli_exp_parse_icmp_type(struct nfnl_exp *, int, char *);
37extern void nl_cli_exp_parse_icmp_code(struct nfnl_exp *, int, char *);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif