OpenCloudOS-Kernel/samples/sockmap
John Fastabend 468b3fdea8 bpf: sockmap sample support for bpf_msg_cork_bytes()
Add sample application support for the bpf_msg_cork_bytes helper. This
lets the user specify how many bytes each verdict should apply to.

Similar to apply_bytes() tests these can be run as a stand-alone test
when used without other options or inline with other tests by using
the txmsg_cork option along with any of the basic tests txmsg,
txmsg_redir, txmsg_drop.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-03-19 21:14:40 +01:00
..
Makefile bpf: samples/sockmap fix Makefile for build error 2018-02-13 17:45:34 -08:00
sockmap_kern.c bpf: sockmap sample support for bpf_msg_cork_bytes() 2018-03-19 21:14:40 +01:00
sockmap_user.c bpf: sockmap sample support for bpf_msg_cork_bytes() 2018-03-19 21:14:40 +01:00