Home
last modified time | relevance | path

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

/linux-6.12.1/samples/bpf/
Dtcbpf1_kern.c41 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_ip, new_ip, IS_PSEUDO | sizeof(new_ip)); in set_tcp_ip_src()
51 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_port, new_port, sizeof(new_port)); in set_tcp_dest_port()
Dtest_lwt_bpf.c112 ret = bpf_l4_csum_replace(skb, off, old_ip, new_ip, in rewrite()
/linux-6.12.1/net/core/
Dfilter.c1969 BPF_CALL_5(bpf_l4_csum_replace, struct sk_buff *, skb, u32, offset, in BPF_CALL_5() argument
2012 .func = bpf_l4_csum_replace,
7914 func == bpf_l4_csum_replace || in bpf_helper_changes_pkt_data()