diff options
author | Tao Chen <chen.dylane@gmail.com> | 2024-07-21 22:33:50 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-07-29 12:53:50 -0700 |
commit | b7264f87f76c59698c7fd019a8797378fa17e7e3 (patch) | |
tree | e52cb3aca5b5f7d9dd15ed62b2d5f9cc8a0cd9a3 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
parent | 81a0b95432c4fe605955939d8c36ad233c61293d (diff) |
bpftool: Refactor xdp attach/detach type judgment
This commit no logical changed, just increases code readability and
facilitates TCX prog expansion, which will be implemented in the next
patch.
Signed-off-by: Tao Chen <chen.dylane@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Quentin Monnet <qmo@kernel.org>
Link: https://lore.kernel.org/bpf/20240721143353.95980-2-chen.dylane@gmail.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions