summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-12-23 19:03:37 +0100
committerPhil Sutter <phil@nwl.cc>2022-01-12 14:08:54 +0100
commit62c3c93d4b0f5f6b9bb6c6829d507b57b976a644 (patch)
treebf02227c4b05acfcbe49695633d87fb319f72628 /iptables/nft-shared.h
parent3039a52c3ecf96df4e3b815d242f788c189093e1 (diff)
xshared: Move do_parse to shared space
Small adjustments were needed: - Pass line variable via xt_cmd_parse, xshared.c does not have it in namespace. - Replace opts, prog_name and prog_vers defines by the respective xt_params field reference. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-shared.h')
-rw-r--r--iptables/nft-shared.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h
index 195e5fed..c3241f4b 100644
--- a/iptables/nft-shared.h
+++ b/iptables/nft-shared.h
@@ -174,10 +174,6 @@ void nft_ipv46_parse_target(struct xtables_target *t, void *data);
bool compare_matches(struct xtables_rule_match *mt1, struct xtables_rule_match *mt2);
bool compare_targets(struct xtables_target *tg1, struct xtables_target *tg2);
-void do_parse(int argc, char *argv[],
- struct xt_cmd_parse *p, struct iptables_command_state *cs,
- struct xtables_args *args);
-
struct nftnl_chain_list;
struct nft_xt_restore_cb {