[libvirt PATCH 05/28] util: move backend-agnostic virNetfilter*() functions to their own file
Michal Prívozník
mprivozn at redhat.com
Tue May 2 15:15:42 UTC 2023
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 at redhat.com>
> ---
> 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
More information about the libvir-list
mailing list