libvirt/src/network
Daniel P. Berrangé 3338c40b47 network: avoid including sys/sysctl.h on Linux
The sys/sysctl.h header is only needed on BSD platforms to get
the sysctlbyname() function declaration. On Linux we talk to
procfs instead to change sysctls.

Unfortunately a legacy sys/sysctl.h header does exist on Linux
and including it has recently started triggering a deprecation
warning from glibc.

Protect its inclusion with a HAVE_SYSCTLBYNAME check instead
so that it only gets used on platforms where we need that
function declaration.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-06-26 14:36:11 +01:00
..
bridge_driver_linux.c network: delay global firewall setup if no networks are running 2019-05-23 16:29:48 +01:00
bridge_driver_nop.c network: delay global firewall setup if no networks are running 2019-05-23 16:29:48 +01:00
bridge_driver_platform.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
bridge_driver_platform.h src/network: use #pragma once in headers 2019-06-19 17:12:30 +02:00
bridge_driver.c network: avoid including sys/sysctl.h on Linux 2019-06-26 14:36:11 +01:00
bridge_driver.h src/network: use #pragma once in headers 2019-06-19 17:12:30 +02:00
default.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
leaseshelper.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
libvirt.zone network: explicitly allow icmp/icmpv6 in libvirt zonefile 2019-02-14 15:06:42 -05:00
Makefile.inc.am src: don't statically link code that's already in libvirt.so 2019-05-17 14:34:45 +01:00