File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -51,20 +51,3 @@ where ``ntohl()`` converts a 32-bit value from network byte order to host byte o
51
51
``BPF_IND | BPF_W | BPF_LD `` (0x40) means::
52
52
53
53
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 `_
You can’t perform that action at this time.
0 commit comments