libvirt/src/nwfilter
Stefan Berger a6a04ea47a nwfilter: check for inverted ctdir
Linux netfilter at some point (Linux 2.6.39) inverted the meaning of the
'--ctdir reply' and newer netfilter implementations now expect
'--ctdir original' instead and vice-versa.
We check for the kernel version and assume that all Linux kernels with version
2.6.39 have the newer inverted logic.

Any distro backporting the Linux kernel patch that inverts the --ctdir logic
(Linux commit 96120d86f) must also backport this patch for Linux and
adapt the kernel version being tested for.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2013-05-15 21:02:11 -04:00
..
nwfilter_dhcpsnoop.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/nwfilter/* 2013-05-09 14:01:37 +02:00
nwfilter_dhcpsnoop.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_driver.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/nwfilter/* 2013-05-09 14:01:37 +02:00
nwfilter_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_ebiptables_driver.c nwfilter: check for inverted ctdir 2013-05-15 21:02:11 -04:00
nwfilter_ebiptables_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_gentech_driver.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/nwfilter/* 2013-05-09 14:01:37 +02:00
nwfilter_gentech_driver.h Turn virDomainObjList into an opaque virObject 2013-02-05 15:49:25 +00:00
nwfilter_learnipaddr.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/nwfilter/* 2013-05-09 14:01:37 +02:00
nwfilter_learnipaddr.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00