OSDN Git Service

bpf: bpftool, fix documentation for attach types
authorAlban Crequy <alban@kinvolk.io>
Tue, 19 Feb 2019 14:13:32 +0000 (15:13 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 19 Feb 2019 16:23:18 +0000 (17:23 +0100)
commita5d9265e017f081f0dc133c0e2f45103d027b874
treea65affee18d061503a7d7e4b9da9375b2dd9dc74
parentc9b747dbc2036c917b1067fbb78dc38b105c4454
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
b7d3826c2ed6 ("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>
tools/bpf/bpftool/Documentation/bpftool-prog.rst
tools/bpf/bpftool/bash-completion/bpftool
tools/bpf/bpftool/prog.c