diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-05-16 23:06:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-16 22:19:15 -0400 |
commit | 9295c034726e025395e6eff3013fa9e3753bcb39 (patch) | |
tree | e360fce1f91fd67493232088a7be97c7dee8aece /Documentation/networking | |
parent | a8df35d45800c2af2b9bac04a8f9d4e426862e4d (diff) | |
download | linux-9295c034726e025395e6eff3013fa9e3753bcb39.tar.bz2 |
bpf, doc: fix typo on bpf_asm descriptions
Fix description of some of the bpf_asm tool related jump instructions
and generally move them to format A <op> k.
Reported-by: Sebastian Amend <sebastian.amend@googlemail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/filter.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt index 6aef0b5f3bc7..b9a4edf21ade 100644 --- a/Documentation/networking/filter.txt +++ b/Documentation/networking/filter.txt @@ -216,14 +216,14 @@ opcodes as defined in linux/filter.h stand for: jmp 6 Jump to label ja 6 Jump to label - jeq 7, 8 Jump on k == A - jneq 8 Jump on k != A - jne 8 Jump on k != A - jlt 8 Jump on k < A - jle 8 Jump on k <= A - jgt 7, 8 Jump on k > A - jge 7, 8 Jump on k >= A - jset 7, 8 Jump on k & A + jeq 7, 8 Jump on A == k + jneq 8 Jump on A != k + jne 8 Jump on A != k + jlt 8 Jump on A < k + jle 8 Jump on A <= k + jgt 7, 8 Jump on A > k + jge 7, 8 Jump on A >= k + jset 7, 8 Jump on A & k add 0, 4 A + <x> sub 0, 4 A - <x> |