diff options
author | Daniel T. Lee <danieltimlee@gmail.com> | 2023-01-15 08:16:11 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-01-15 22:32:45 +0100 |
commit | c2f4f5593e6ae8014b277b46f5f9a8227f11d69c (patch) | |
tree | b0783fde4891a16ecaae27c6e6f3a561bdb234bb /samples/bpf/Makefile | |
parent | samples/bpf: split common macros to net_shared.h (diff) | |
download | linux-c2f4f5593e6ae8014b277b46f5f9a8227f11d69c.tar.xz linux-c2f4f5593e6ae8014b277b46f5f9a8227f11d69c.zip |
samples/bpf: replace BPF programs header with net_shared.h
This commit applies "net_shared.h" to BPF programs to remove existing
network related header dependencies. Also, this commit removes
unnecessary headers before applying "vmlinux.h" to the BPF programs.
Mostly, endianness conversion function has been applied to the source.
In addition, several macros have been defined to fulfill the INET,
TC-related constants.
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230115071613.125791-9-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions