diff options
author | Lawrence Brakmo <[email protected]> | 2017-06-30 20:02:41 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-07-01 16:15:13 -0700 |
commit | ae16189efb0fe2bdc5e702bd6221ed6d0ff5babd (patch) | |
tree | 59dfe86ee7237f06ac230eacc7bf5bddf6dbdb77 /include/net/tcp.h | |
parent | 40304b2a1567fecc321f640ee4239556dd0f3ee0 (diff) |
bpf: program to load and attach sock_ops BPF progs
The program load_sock_ops can be used to load sock_ops bpf programs and
to attach it to an existing (v2) cgroup. It can also be used to detach
sock_ops programs.
Examples:
load_sock_ops [-l] <cg-path> <prog filename>
Load and attaches a sock_ops program at the specified cgroup.
If "-l" is used, the program will continue to run to output the
BPF log buffer.
If the specified filename does not end in ".o", it appends
"_kern.o" to the name.
load_sock_ops -r <cg-path>
Detaches the currently attached sock_ops program from the
specified cgroup.
Signed-off-by: Lawrence Brakmo <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions