You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.7 KiB
43 lines
1.7 KiB
/*
|
|
* netlink/cli/exp.h CLI Expectation Helper
|
|
*
|
|
* 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) 2012 Rich Fought <Rich.Fought@watchguard.com>
|
|
* Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch>
|
|
*/
|
|
|
|
#ifndef __NETLINK_CLI_EXP_H_
|
|
#define __NETLINK_CLI_EXP_H_
|
|
|
|
#include <netlink/netfilter/exp.h>
|
|
#include <linux/netfilter/nf_conntrack_common.h>
|
|
|
|
extern struct nfnl_exp *nl_cli_exp_alloc(void);
|
|
extern struct nl_cache *nl_cli_exp_alloc_cache(struct nl_sock *);
|
|
|
|
extern void nl_cli_exp_parse_family(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_timeout(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_id(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_helper_name(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_zone(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_flags(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_class(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_nat_dir(struct nfnl_exp *, char *);
|
|
extern void nl_cli_exp_parse_fn(struct nfnl_exp *, char *);
|
|
|
|
extern void nl_cli_exp_parse_src(struct nfnl_exp *, int, char *);
|
|
extern void nl_cli_exp_parse_dst(struct nfnl_exp *, int, char *);
|
|
extern void nl_cli_exp_parse_l4protonum(struct nfnl_exp *, int, char *);
|
|
extern void nl_cli_exp_parse_src_port(struct nfnl_exp *, int, char *);
|
|
extern void nl_cli_exp_parse_dst_port(struct nfnl_exp *, int, char *);
|
|
extern void nl_cli_exp_parse_icmp_id(struct nfnl_exp *, int, char *);
|
|
extern void nl_cli_exp_parse_icmp_type(struct nfnl_exp *, int, char *);
|
|
extern void nl_cli_exp_parse_icmp_code(struct nfnl_exp *, int, char *);
|
|
|
|
|
|
#endif
|