third_party_libnl/tests
Thomas Haller 45cbfb9d11 include: don't include kernel headers in public libnl3 headers
It would be desirable not to include kernel headers in our public
libnl3 headers. As a test, remove all those includes, and fix
compilation by explicitly including the kernel headers where needed.
In some cases, that requires forward declaration for kernel
structures, as we use them as part of our own headers.

Realistically, we cannot drop those includes as it probalby breaks
compilation for users that expect to get a certain kernel header
when including a libnl3 header. So, this will not be done and the
includes will be restored in the next commit.

Do this step to show how it would be and to verify that we could
build with such a change. The reason not to do this is backward
compatibility (at compile-time).
2017-03-02 01:33:25 +01:00
..
.gitignore lib/route: add macsec support 2016-06-25 18:27:14 +02:00
check-addr.c all: enable -Wmissing-prototype warning for all components 2017-02-27 14:01:22 +01:00
check-all.c all: enable -Wmissing-prototype warning for all components 2017-02-27 14:01:22 +01:00
check-attr.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-cache-mngr.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-complex-HTB-with-hash-filters.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-bond.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-bridge.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-ifb.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-ip6tnl.c ip6tnl: introduce ip6 tunnel support 2014-06-16 16:59:16 +02:00
test-create-ipgre.c introduce gre tunnel support 2014-05-05 19:08:23 +02:00
test-create-ipgretap.c ipgre: add support for gretap tunnel 2016-04-15 16:18:41 +02:00
test-create-ipip.c introduce ipip tunnel support 2014-05-05 18:08:47 +02:00
test-create-ipvlan.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-ipvti.c ipvti: introduce vti tunnel support 2014-05-06 12:04:02 +02:00
test-create-macsec.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-macvlan.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-macvtap.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-sit.c introduce sit tunnel support 2014-05-05 19:08:29 +02:00
test-create-veth.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-vlan.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-vrf.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-create-vxlan.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-delete-link.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-genl.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-nf-cache-mngr.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
test-socket-creation.c tests: fix test programs to compile again 2012-04-21 10:35:20 +02:00
test-u32-filter-with-actions.c include: don't include kernel headers in public libnl3 headers 2017-03-02 01:33:25 +01:00
util.h all: enable -Wmissing-prototype warning for all components 2017-02-27 14:01:22 +01:00