bpf: bpftool, fix documentation for attach types
bpftool has support for attach types "stream_verdict" and
"stream_parser" but the documentation was referring to them as
"skb_verdict" and "skb_parse". The inconsistency comes from commit
b7d3826c2e
("bpf: bpftool, add support for attaching programs to
maps").
This patch changes the documentation to match the implementation:
- "bpftool prog help"
- man pages
- bash completion
Signed-off-by: Alban Crequy <alban@kinvolk.io>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:

committed by
Daniel Borkmann

parent
c9b747dbc2
commit
a5d9265e01
@@ -311,8 +311,8 @@ _bpftool()
|
||||
return 0
|
||||
;;
|
||||
5)
|
||||
COMPREPLY=( $( compgen -W 'msg_verdict skb_verdict \
|
||||
skb_parse flow_dissector' -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W 'msg_verdict stream_verdict \
|
||||
stream_parser flow_dissector' -- "$cur" ) )
|
||||
return 0
|
||||
;;
|
||||
6)
|
||||
|
Reference in New Issue
Block a user