linux/tools/testing/selftests/net
Craig Gallek 4b2a6aed21 soreuseport: BPF selection functional test for TCP
Unfortunately the existing test relied on packet payload in order to
map incoming packets to sockets.  In order to get this to work with TCP,
TCP_FASTOPEN needed to be used.

Since the fast open path is slightly different than the standard TCP path,
I created a second test which sends to reuseport group members based
on receiving cpu core id.  This will probably serve as a better
real-world example use as well.

Signed-off-by: Craig Gallek <kraig@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-11 03:54:15 -05:00
..
.gitignore soreuseport: BPF selection functional test for TCP 2016-02-11 03:54:15 -05:00
Makefile soreuseport: BPF selection functional test for TCP 2016-02-11 03:54:15 -05:00
psock_fanout.c selftests/net: test extended BPF fanout mode 2015-08-17 14:22:48 -07:00
psock_lib.h selftests/net: test classic bpf fanout mode 2015-08-17 14:22:48 -07:00
psock_tpacket.c tools: selftests: psock_tpacket: get rid of macro wrappers 2013-07-02 00:23:57 -07:00
reuseport_bpf_cpu.c soreuseport: BPF selection functional test for TCP 2016-02-11 03:54:15 -05:00
reuseport_bpf.c soreuseport: BPF selection functional test for TCP 2016-02-11 03:54:15 -05:00
run_afpackettests selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
run_netsocktests selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
socket.c net: Move selftests to common net/ subdirectory. 2013-03-20 15:07:56 -04:00
test_bpf.sh selftests/net: move test out of Makefile into a shell script 2014-11-05 08:12:40 -07:00