Home
last modified time | relevance | path

Searched refs:bpf_skb_change_tail (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_tcp_custom_syncookie.c137 if (bpf_skb_change_tail(ctx->skb, data_len + 60 - ctx->tcp->doff * 4, 0)) in tcp_reload_headers()
454 if (bpf_skb_change_tail(ctx->skb, (long)ctx->ptr32 - (long)ctx->eth, 0)) in tcp_handle_syn()
Dxdp_synproxy_kern.c723 if (bpf_skb_change_tail(ctx, new_pkt_size, 0)) in syncookie_handle_syn()
781 if (bpf_skb_change_tail(ctx, old_len + TCP_MAXLEN - hdr->tcp_len, 0)) in syncookie_part1()
/linux-6.12.1/net/core/
Dfilter.c3806 BPF_CALL_3(bpf_skb_change_tail, struct sk_buff *, skb, u32, new_len, in BPF_CALL_3() argument
3816 .func = bpf_skb_change_tail,
7906 func == bpf_skb_change_tail || in bpf_helper_changes_pkt_data()