selftests: bpf: Add tests for UDP sockets in sockmap
authorLorenz Bauer <lmb@cloudflare.com>
Mon, 9 Mar 2020 11:12:41 +0000 (11:12 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 9 Mar 2020 21:34:59 +0000 (22:34 +0100)
commit84be2113e6a7f781bd37c0fd0159899150fdcdfb
tree5d5cb08c31541eea60026e64e11e8cf8e77bce3a
parentb05fbb9f03f15134735f9d2dcc7d067092ec9dd2
selftests: bpf: Add tests for UDP sockets in sockmap

Expand the TCP sockmap test suite to also check UDP sockets.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200309111243.6982-11-lmb@cloudflare.com
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c