diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2019-08-30 13:07:29 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-09-03 21:01:52 +0200 |
commit | b9632679944307f3caab183fa69a4d79ffeb40ce (patch) | |
tree | b77888de194fbd005964c463913ca970ac18bcc5 /init/Makefile | |
parent | arm64: bpf: optimize modulo operation (diff) | |
download | linux-b9632679944307f3caab183fa69a4d79ffeb40ce.tar.xz linux-b9632679944307f3caab183fa69a4d79ffeb40ce.zip |
selftests/bpf: introduce bpf_cpu_to_be64 and bpf_be64_to_cpu
test_lwt_seg6local and test_seg6_loop use custom 64-bit endianness
conversion macros. Centralize their definitions in bpf_endian.h in order
to reduce code duplication. This will also be useful when bpf_endian.h
is promoted to an offical libbpf header.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'init/Makefile')
0 files changed, 0 insertions, 0 deletions