The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
John Fastabend eaf8c6eec5 bpf: add sendmsg option for testing BPF programs
When testing BPF programs using sockmap I often want to have more
control over how sendmsg is exercised. This becomes even more useful
as new sockmap program types are added.

This adds a test type option to select type of test to run. Currently,
only "ping" and "sendmsg" are supported, but more can be added as
needed.

The new help argument gives the following,

 Usage: ./sockmap --cgroup <cgroup_path>
 options:
 --help         -h
 --cgroup       -c
 --rate         -r
 --verbose      -v
 --iov_count    -i
 --length       -l
 --test         -t

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-01-24 10:46:58 +01:00
Documentation
arch
block
certs
crypto
drivers net: aquantia: make symbol hw_atl_boards static 2018-01-23 10:59:42 -05:00
firmware
fs
include net: sched: create tc_can_offload_extack() wrapper 2018-01-22 16:28:32 -05:00
init
ipc
kernel bpf: fix incorrect kmalloc usage in lpm_trie MAP_GET_NEXT_KEY rcu region 2018-01-23 17:33:57 +01:00
lib
mm
net net: sched: add extack support for offload via tc_cls_common_offload 2018-01-22 16:28:32 -05:00
samples bpf: add sendmsg option for testing BPF programs 2018-01-24 10:46:58 +01:00
scripts
security
sound
tools selftests/bpf: make 'dubious pointer arithmetic' test useful 2018-01-24 10:39:58 +01:00
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.