OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67b97e5
)
bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE
author
Tiezhu Yang
<yangtiezhu@loongson.cn>
Thu, 28 Apr 2022 09:55:53 +0000
(17:55 +0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Thu, 28 Apr 2022 15:20:48 +0000
(17:20 +0200)
According to include/uapi/linux/bpf.h:
#define BPF_FROM_LE BPF_TO_LE
#define BPF_FROM_BE BPF_TO_BE
BPF_FROM_BE exists as alias for BPF_TO_BE instead of BPF_TO_LE.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link:
https://lore.kernel.org/bpf/1651139754-4838-3-git-send-email-yangtiezhu@loongson.cn
Documentation/bpf/instruction-set.rst
patch
|
blob
|
history
diff --git
a/Documentation/bpf/instruction-set.rst
b/Documentation/bpf/instruction-set.rst
index
30b019c
..
00b0800
100644
(file)
--- a/
Documentation/bpf/instruction-set.rst
+++ b/
Documentation/bpf/instruction-set.rst
@@
-157,7
+157,7
@@
Examples:
dst_reg = htobe64(dst_reg)
``BPF_FROM_LE`` and ``BPF_FROM_BE`` exist as aliases for ``BPF_TO_LE`` and
-``BPF_TO_
L
E`` respetively.
+``BPF_TO_
B
E`` respetively.
Jump instructions