Home
last modified time | relevance | path

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

/linux-4.1.27/samples/bpf/
Dtcbpf1_kern.c26 bpf_l3_csum_replace(skb, IP_CSUM_OFF, htons(old_tos), htons(new_tos), 2); in set_ip_tos()
40 bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip)); in set_tcp_ip_src()
Dbpf_helpers.h48 static int (*bpf_l3_csum_replace)(void *ctx, int off, int from, int to, int flags) = variable
/linux-4.1.27/net/core/
Dfilter.c1257 static u64 bpf_l3_csum_replace(u64 r1, u64 r2, u64 from, u64 to, u64 flags) in bpf_l3_csum_replace() function
1294 .func = bpf_l3_csum_replace,