Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dnat6to4.c120 __wsum sum6 = 0; in sched_cls_ingress6_nat_6_prog() local
123 sum6 += ~((__u16 *)ip6)[i]; // note the bitwise negation in sched_cls_ingress6_nat_6_prog()
132 bpf_csum_update(skb, sum6); in sched_cls_ingress6_nat_6_prog()
247 __wsum sum6 = 0; in sched_cls_egress4_snat4_prog() local
250 sum6 += ((__u16 *)&ip6)[i]; in sched_cls_egress4_snat4_prog()
265 bpf_csum_update(skb, sum6); in sched_cls_egress4_snat4_prog()