Skip to content

Commit b502a6f

Browse files
author
Alexei Starovoitov
committed
bpf, docs: Delete misformatted table.
Delete misformatted table. Fixes: 6166da0 ("bpf, docs: Move legacy packet instructions to a separate file") Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 5f388bb commit b502a6f

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Documentation/bpf/linux-notes.rst

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,3 @@ where ``ntohl()`` converts a 32-bit value from network byte order to host byte o
5151
``BPF_IND | BPF_W | BPF_LD`` (0x40) means::
5252

5353
R0 = ntohl(*(u32 *) ((struct sk_buff *) R6->data + src + imm))
54-
55-
Appendix
56-
========
57-
58-
For reference, the following table lists legacy Linux-specific opcodes in order by value.
59-
60-
====== ==== =================================================== =============
61-
opcode imm description reference
62-
====== ==== =================================================== =============
63-
0x20 any dst = ntohl(\*(uint32_t \*)(R6->data + imm)) `Legacy BPF Packet access instructions`_
64-
0x28 any dst = ntohs(\*(uint16_t \*)(R6->data + imm)) `Legacy BPF Packet access instructions`_
65-
0x30 any dst = (\*(uint8_t \*)(R6->data + imm)) `Legacy BPF Packet access instructions`_
66-
0x38 any dst = ntohll(\*(uint64_t \*)(R6->data + imm)) `Legacy BPF Packet access instructions`_
67-
0x40 any dst = ntohl(\*(uint32_t \*)(R6->data + src + imm)) `Legacy BPF Packet access instructions`_
68-
0x48 any dst = ntohs(\*(uint16_t \*)(R6->data + src + imm)) `Legacy BPF Packet access instructions`_
69-
0x50 any dst = \*(uint8_t \*)(R6->data + src + imm)) `Legacy BPF Packet access instructions`_
70-
0x58 any dst = ntohll(\*(uint64_t \*)(R6->data + src + imm)) `Legacy BPF Packet access instructions`_

0 commit comments

Comments
 (0)