diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-09-15 13:00:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-17 10:13:07 -0400 |
commit | 173ca26e9b5136faa82dee37c77cbfb36974d079 (patch) | |
tree | 6a13c4e0b613b960b60c1dfe46c6209b49ef1605 /tools/testing/selftests/bpf | |
parent | a1c82704d13fd0d0ab0eb10d33a9bb7af83c90e3 (diff) |
samples/bpf: add comprehensive ipip, ipip6, ip6ip6 test
the test creates 3 namespaces with veth connected via bridge.
First two namespaces simulate two different hosts with the same
IPv4 and IPv6 addresses configured on the tunnel interface and they
communicate with outside world via standard tunnels.
Third namespace creates collect_md tunnel that is driven by BPF
program which selects different remote host (either first or
second namespace) based on tcp dest port number while tcp dst
ip is the same.
This scenario is rough approximation of load balancer use case.
The tests check both traditional tunnel configuration and collect_md mode.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions