iproute2/testsuite/tests/ip
Phil Sutter 886f2c43b5 testsuite: Generate nlmsg blob at runtime
Since netlink messages are in host byte order, shipping a pre-generated
nlmsg blob won't suffice on systems with different endianness. Therefore
generate the blob at runtime, so it's content fits the hosts endianness.

Note that the generated message will contain only a single interface
featuring two VFs instead of the full list before. Yet this is
sufficient, as it triggers the crash with iproute versions prior to
commit 8c29ae7cc2 ("ip link: Fix crash on older kernels when show VF
dev").

Signed-off-by: Phil Sutter <phil@nwl.cc>
2017-02-09 17:28:48 -08:00
..
link testsuite: Generate nlmsg blob at runtime 2017-02-09 17:28:48 -08:00
netns iproute2: build nsid-name cache only for commands that need it 2016-10-09 18:56:47 -07:00
route tests: Add output testing 2015-06-24 23:37:26 -04:00
tunnel ip_tunnel: determine tunnel address family from the tunnel type 2015-11-29 11:57:21 -08:00