]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add more common macros to bpf_tracing_net.h
authorYonghong Song <yhs@fb.com>
Tue, 23 Jun 2020 23:08:19 +0000 (16:08 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 25 Jun 2020 01:37:59 +0000 (18:37 -0700)
commita48ee580e41bf8e44bc433af12e00858f1bfbb82
tree15032719903d43432add2c12414f20667dbc35ed
parent71f8c2cdf488ee34016c31d247367083fbd140ea
selftests/bpf: Add more common macros to bpf_tracing_net.h

These newly added macros will be used in subsequent bpf iterator
tcp{4,6} and udp{4,6} programs.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200623230819.3989050-1-yhs@fb.com
tools/testing/selftests/bpf/progs/bpf_tracing_net.h