On 5/1/23 05:19, Laine Stump wrote: > These function are all moved into virnetfilter.[ch]. The only > functions from viriptables.[ch] that are still called from the > consumer (network bridge driver) are iptablesSetupPrivateChains() > (which creates the private chains that all iptables rules will be > added to), and iptablesAddOutputFixUdpChecksum() and > iptablesRemoveOutputFixUdpChecksum() (which add/remove rules to fix > improper checksum of DHCP packets, which is something not supported by > nftables) > > Signed-off-by: Laine Stump <laine@xxxxxxxxxx> > --- > src/libvirt_private.syms | 51 +-- > src/network/bridge_driver_linux.c | 1 + > src/util/meson.build | 1 + > src/util/viriptables.c | 522 +-------------------------- > src/util/viriptables.h | 212 +++++------ > src/util/virnetfilter.c | 570 ++++++++++++++++++++++++++++++ > src/util/virnetfilter.h | 151 ++++++++ > 7 files changed, 849 insertions(+), 659 deletions(-) > create mode 100644 src/util/virnetfilter.c > create mode 100644 src/util/virnetfilter.h In cases like this I thank git developers for inventing: git show --color-moved Michal