Searched refs:psum (Results 1 – 2 of 2) sorted by relevance
114 __wsum psum; in checksum_udp() local119 psum = csum_tcpudp_nofold(saddr, daddr, ulen, IPPROTO_UDP, 0); in checksum_udp()122 !csum_fold(csum_add(psum, skb->csum))) in checksum_udp()125 skb->csum = psum; in checksum_udp()
504 __wsum psum; in l2tp_verify_udp_checksum() local533 psum = csum_tcpudp_nofold(inet->inet_saddr, inet->inet_daddr, in l2tp_verify_udp_checksum()537 !csum_fold(csum_add(psum, skb->csum))) in l2tp_verify_udp_checksum()539 skb->csum = psum; in l2tp_verify_udp_checksum()