]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/missing.h
missing.h: add various network enums
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jun 2014 23:45:45 +0000 (19:45 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 21 Jun 2014 02:05:43 +0000 (22:05 -0400)
commit81577dc22887debaf9b19bf1034a2887fb9069c7
tree696ec5ebfcee52a1257dd9a1f1d1054b08779ecb
parent747cf8cdf61cdad068c727e42eac699f2505ae77
missing.h: add various network enums

We used to check if e.g. IFLA_BOND_MAX is defined and provide fallback
values in missing.h is it wasn't. But over time, various kernel
versions added IFLA_* defines, so checking for IFLA_BOND_MAX is not
enough if the kernel is new enough to have some of them but too old to
have all. In case we detect that the latest known enum value is
missing, #define most of them.

https://bugs.freedesktop.org/show_bug.cgi?id=80095
configure.ac
src/network/networkd-tunnel.c
src/network/networkd-vxlan.c
src/shared/missing.h