aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorStanislav Fomichev <[email protected]>2019-12-13 22:30:27 +0000
committerAlexei Starovoitov <[email protected]>2019-12-13 23:26:53 +0000
commit850a88cc4096fe1df407452ba2e4d28cf5b3eee9 (patch)
tree45fde0333440ad15a1f6e682009cda3fe8892ebe /tools/bpf/bpftool/prog.c
parentMerge branch 'bpf-dispatcher' (diff)
downloadkernel-850a88cc4096fe1df407452ba2e4d28cf5b3eee9.tar.gz
kernel-850a88cc4096fe1df407452ba2e4d28cf5b3eee9.zip
bpf: Expose __sk_buff wire_len/gso_segs to BPF_PROG_TEST_RUN
wire_len should not be less than real len and is capped by GSO_MAX_SIZE. gso_segs is capped by GSO_MAX_SEGS. v2: * set wire_len to skb->len when passed wire_len is 0 (Alexei Starovoitov) Signed-off-by: Stanislav Fomichev <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Cc: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions