Home
last modified time | relevance | path

Searched refs:bpf_l4_csum_replace (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/samples/bpf/
Dtcbpf1_kern.c40 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_ip, new_ip, IS_PSEUDO | sizeof(new_ip)); in set_tcp_ip_src()
50 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_port, new_port, sizeof(new_port)); in set_tcp_dest_port()
Dtest_lwt_bpf.c120 ret = bpf_l4_csum_replace(skb, off, old_ip, new_ip, in rewrite()
/Linux-v5.4/tools/testing/selftests/bpf/
Dbpf_helpers.h284 static int (*bpf_l4_csum_replace)(void *ctx, int off, int from, int to, int flags) = variable
/Linux-v5.4/net/core/
Dfilter.c1917 BPF_CALL_5(bpf_l4_csum_replace, struct sk_buff *, skb, u32, offset, in BPF_CALL_5() argument
1960 .func = bpf_l4_csum_replace,
5946 func == bpf_l4_csum_replace || in bpf_helper_changes_pkt_data()