commit | 6f6d33f3b3d0f53799d120d28abd13ad90041549 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.fastabend@gmail.com> | Tue Aug 15 22:34:22 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 16 11:27:53 2017 -0700 |
tree | dbd263882c3bc49c8bc1d7a08b7d0eadd0f4ddb3 | |
parent | 41bc94f535ef454e325a6d4db085ec345376de6c [diff] |
bpf: selftests add sockmap tests This generates a set of sockets, attaches BPF programs, and sends some simple traffic using basic send/recv pattern. Additionally, we do a bunch of negative tests to ensure adding/removing socks out of the sockmap fail correctly. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>