]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: Move struct xtables_afinfo into xtables.h
authorPhil Sutter <phil@nwl.cc>
Thu, 2 Jun 2022 08:53:31 +0000 (10:53 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 23 Jun 2022 12:22:22 +0000 (14:22 +0200)
commit0124019fb36859a77c32b6f96eeb4cc3e8ebb432
tree251622329723088245945dcac9aece007e6f7077
parent6c12201b5ff08d9e1524477ff63bb8810198d638
libxtables: Move struct xtables_afinfo into xtables.h

The library "owns" this structure and maintains 'afinfo' pointer to
instances of it. With libxt_set, there's even an extension making use of
the data.

To avoid impact on library users, guard it by XTABLES_INTERNAL.

To eliminate the xshared.h include by libxt_set, DEBUGP has to be
redefined. Other extensions have similar defines, fix this later.

Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libxt_set.c
extensions/libxt_set.h
include/xtables.h
iptables/xshared.h