diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-04-28 17:55:53 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-04-28 17:20:48 +0200 |
commit | c821d80bb890b1a8220e278984f3c64f5fd9adf9 (patch) | |
tree | 27fa64fa8ed742f0811e5b28c1b835b9c9eef4d7 /Documentation/bpf | |
parent | 67b97e58423247b4c7ae1b639ccfef4dddf8a8fa (diff) | |
download | linux-stable-c821d80bb890b1a8220e278984f3c64f5fd9adf9.tar.gz linux-stable-c821d80bb890b1a8220e278984f3c64f5fd9adf9.tar.bz2 linux-stable-c821d80bb890b1a8220e278984f3c64f5fd9adf9.zip |
bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE
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
Diffstat (limited to 'Documentation/bpf')
-rw-r--r-- | Documentation/bpf/instruction-set.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/bpf/instruction-set.rst b/Documentation/bpf/instruction-set.rst index 30b019c595ba..00b080056d0e 100644 --- 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_LE`` respetively. +``BPF_TO_BE`` respetively. Jump instructions |