Home
last modified time | relevance | path

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

/net/core/
Dnetpoll.c114 __wsum psum; in checksum_udp() local
119 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()
/net/l2tp/
Dl2tp_core.c504 __wsum psum; in l2tp_verify_udp_checksum() local
533 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()