Searched refs:bpf_l3_csum_replace (Results  1 – 4 of 4) sorted by relevance
| /Linux-v5.4/samples/bpf/ | 
| D | tcbpf1_kern.c | 27 	bpf_l3_csum_replace(skb, IP_CSUM_OFF, htons(old_tos), htons(new_tos), 2);  in set_ip_tos()41 	bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip));  in set_tcp_ip_src()
 
 | 
| D | test_lwt_bpf.c | 128 	ret = bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip));  in rewrite()
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/ | 
| D | bpf_helpers.h | 282 static int (*bpf_l3_csum_replace)(void *ctx, int off, int from, int to, int flags) =  variable
 | 
| /Linux-v5.4/net/core/ | 
| D | filter.c | 1873 BPF_CALL_5(bpf_l3_csum_replace, struct sk_buff *, skb, u32, offset,  in BPF_CALL_5()  argument1907 	.func		= bpf_l3_csum_replace,
 5945 	    func == bpf_l3_csum_replace ||  in bpf_helper_changes_pkt_data()
 
 |