]> git.ipfire.org Git - thirdparty/iptables.git/commit
ebtables: Support for guided option parser
authorPhil Sutter <phil@nwl.cc>
Fri, 7 Oct 2022 20:23:59 +0000 (22:23 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 10 Jan 2024 15:07:31 +0000 (16:07 +0100)
commit24bb57d3f52ac1ae87f92ba567032bda9a749c62
tree416f52e534484f60580e2fb5544a117c6390c09b
parent955654c4fc34cf3ff4e64d3340c124b17605ae34
ebtables: Support for guided option parser

Adjust ebt_load_match() and ebt_command_default() to expect
x6_options/x6_parse fiels to be set instead of the traditional ones.

Much of this is c'n'p from command_default() in xshared.c, but due to
ebtables' custom match data structure (combining matches and watchers),
sharing the code is probably not feasible.
iptables/xtables-eb.c