Searched refs:bpf_skb_change_tail (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_change_tail.c | 87 change_tail_ret = bpf_skb_change_tail(skb, len - 1, 0); in change_tail() 89 bpf_skb_change_tail(skb, len, 0); in change_tail() 92 change_tail_ret = bpf_skb_change_tail(skb, len + 1, 0); in change_tail() 94 bpf_skb_change_tail(skb, len, 0); in change_tail() 97 change_tail_ret = bpf_skb_change_tail(skb, 65535, 0); in change_tail() 100 change_tail_ret = bpf_skb_change_tail(skb, 0, 0); in change_tail()
|
H A D | test_sockmap_change_tail.c | 28 change_tail_ret = bpf_skb_change_tail(skb, skb->len - 1, 0); in prog_skb_verdict() 31 change_tail_ret = bpf_skb_change_tail(skb, skb->len + 1, 0); in prog_skb_verdict() 34 change_tail_ret = bpf_skb_change_tail(skb, 65535, 0); in prog_skb_verdict()
|
H A D | test_tcp_custom_syncookie.c | 137 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()
|
H A D | xdp_synproxy_kern.c | 722 if (bpf_skb_change_tail(ctx, new_pkt_size, 0)) in syncookie_handle_syn() 780 if (bpf_skb_change_tail(ctx, old_len + TCP_MAXLEN - hdr->tcp_len, 0)) in syncookie_part1()
|
/linux/net/core/ |
H A D | filter.c | 3812 BPF_CALL_3(bpf_skb_change_tail, struct sk_buff *, skb, u32, new_len, in BPF_CALL_3() argument 3822 .func = bpf_skb_change_tail,
|