diff options
author | Phil Sutter <phil@nwl.cc> | 2023-11-24 18:13:00 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-12-05 16:35:37 +0100 |
commit | 9c777205d6464b8af64d7ab2cdfbf2c85e22b3ed (patch) | |
tree | 885d95832283b3342ddfb6fc7d3444b95e33352d /iptables/nft-cmd.h | |
parent | d5605f44cdc0354ccbbc3cc46346823865c8a5fe (diff) |
xshared: Support for ebtables' --change-counters command
This is tricky because the short-option clashes with the --check
command. OTOH, ebtables supports --check as well (though without
short-option), so making do_parse() detect ebtables based on struct
xtables_args::family is probably still the least messy option.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-cmd.h')
-rw-r--r-- | iptables/nft-cmd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/iptables/nft-cmd.h b/iptables/nft-cmd.h index 8163b82c..00ecc802 100644 --- a/iptables/nft-cmd.h +++ b/iptables/nft-cmd.h @@ -7,13 +7,6 @@ struct nftnl_rule; -enum { - CTR_OP_INC_PKTS = 1 << 0, - CTR_OP_DEC_PKTS = 1 << 1, - CTR_OP_INC_BYTES = 1 << 2, - CTR_OP_DEC_BYTES = 1 << 3, -}; - struct nft_cmd { struct list_head head; int command; |