File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Documentation/bpf/standardization Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ BPF_JNE 0x5 any PC += offset if dst != src
373
373
BPF_JSGT 0x6 any PC += offset if dst > src signed
374
374
BPF_JSGE 0x7 any PC += offset if dst >= src signed
375
375
BPF_CALL 0x8 0x0 call helper function by address see `Helper functions `_
376
- BPF_CALL 0x8 0x1 call PC += offset see `Program-local functions `_
376
+ BPF_CALL 0x8 0x1 call PC += imm see `Program-local functions `_
377
377
BPF_CALL 0x8 0x2 call helper function by BTF ID see `Helper functions `_
378
378
BPF_EXIT 0x9 0x0 return BPF_JMP only
379
379
BPF_JLT 0xa any PC += offset if dst < src unsigned
@@ -424,8 +424,8 @@ Program-local functions
424
424
~~~~~~~~~~~~~~~~~~~~~~~
425
425
Program-local functions are functions exposed by the same BPF program as the
426
426
caller, and are referenced by offset from the call instruction, similar to
427
- ``BPF_JA ``. A `` BPF_EXIT `` within the program-local function will return to
428
- the caller.
427
+ ``BPF_JA ``. The offset is encoded in the imm field of the call instruction.
428
+ A `` BPF_EXIT `` within the program-local function will return to the caller.
429
429
430
430
Load and store instructions
431
431
===========================
You can’t perform that action at this time.
0 commit comments