diff options
| author | Martin KaFai Lau <kafai@fb.com> | 2018-04-21 09:48:23 -0700 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-04-23 11:32:01 +0200 |
| commit | fbcf93ebcaef7d09881ee308b52cd84f5e43c622 (patch) | |
| tree | d288b7f6c42edfd624ca2ce9c65594ea91eba15b /scripts/bpf_helpers_doc.py | |
| parent | bpf: fix virtio-net's length calc for XDP_PASS (diff) | |
| download | linux-fbcf93ebcaef7d09881ee308b52cd84f5e43c622.tar.gz linux-fbcf93ebcaef7d09881ee308b52cd84f5e43c622.zip | |
bpf: btf: Clean up btf.h in uapi
This patch cleans up btf.h in uapi:
1) Rename "name" to "name_off" to better reflect it is an offset to the
string section instead of a char array.
2) Remove unused value BTF_FLAGS_COMPR and BTF_MAGIC_SWAP
Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
