diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-05-16 17:06:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-16 22:19:15 -0400 |
commit | 9295c034726e025395e6eff3013fa9e3753bcb39 (patch) | |
tree | e360fce1f91fd67493232088a7be97c7dee8aece /Documentation/networking | |
parent | a8df35d45800c2af2b9bac04a8f9d4e426862e4d (diff) |
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: | |||
216 | 216 | ||
217 | jmp 6 Jump to label | 217 | jmp 6 Jump to label |
218 | ja 6 Jump to label | 218 | ja 6 Jump to label |
219 | jeq 7, 8 Jump on k == A | 219 | jeq 7, 8 Jump on A == k |
220 | jneq 8 Jump on k != A | 220 | jneq 8 Jump on A != k |
221 | jne 8 Jump on k != A | 221 | jne 8 Jump on A != k |
222 | jlt 8 Jump on k < A | 222 | jlt 8 Jump on A < k |
223 | jle 8 Jump on k <= A | 223 | jle 8 Jump on A <= k |
224 | jgt 7, 8 Jump on k > A | 224 | jgt 7, 8 Jump on A > k |
225 | jge 7, 8 Jump on k >= A | 225 | jge 7, 8 Jump on A >= k |
226 | jset 7, 8 Jump on k & A | 226 | jset 7, 8 Jump on A & k |
227 | 227 | ||
228 | add 0, 4 A + <x> | 228 | add 0, 4 A + <x> |
229 | sub 0, 4 A - <x> | 229 | sub 0, 4 A - <x> |