Lines Matching refs:csum
713 __wsum csum = 0; in udp4_hwcsum() local
730 csum = csum_add(csum, frags->csum); in udp4_hwcsum()
734 csum = skb_checksum(skb, offset, hlen, csum); in udp4_hwcsum()
737 uh->check = csum_tcpudp_magic(src, dst, len, IPPROTO_UDP, csum); in udp4_hwcsum()
752 __wsum csum = 0; in udp_send_skb() local
764 csum = udplite_csum(skb); in udp_send_skb()
777 csum = udp_csum(skb); in udp_send_skb()
781 sk->sk_protocol, csum); in udp_send_skb()
1650 proto, skb->csum)) in udp4_csum_init()
1654 skb->csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, in udp4_csum_init()
2412 __wsum csum; in udp4_ufo_fragment() local
2419 csum = skb_checksum(skb, offset, skb->len - offset, 0); in udp4_ufo_fragment()
2421 *(__sum16 *)(skb->data + offset) = csum_fold(csum); in udp4_ufo_fragment()