]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: Turn command_default() into a callback
authorPhil Sutter <phil@nwl.cc>
Wed, 15 Nov 2023 15:58:15 +0000 (16:58 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 5 Dec 2023 15:35:37 +0000 (16:35 +0100)
commite224f0b10ef01e3e2081054e7fa4f64601726646
tree044422b2440e7f667df3e4d57807ccc670384507
parentea7fef2a6f0457c44929bc8d1871257c15ed78ce
xshared: Turn command_default() into a callback

Ebtables' variant is pretty different since all extensions are loaded up
front and some targets serve as "watcher" extensions, so let variants
specify the function to call for extension parameters.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/ip6tables.c
iptables/iptables.c
iptables/nft-arp.c
iptables/nft-ipv4.c
iptables/nft-ipv6.c
iptables/xshared.c
iptables/xshared.h