Lines Matching full:csum
157 skb->csum = csum_partial(icmph, ipl - ihl, 0); in tcf_csum_ipv4_icmp()
158 icmph->checksum = csum_fold(skb->csum); in tcf_csum_ipv4_icmp()
174 igmph->csum = 0; in tcf_csum_ipv4_igmp()
175 skb->csum = csum_partial(igmph, ipl - ihl, 0); in tcf_csum_ipv4_igmp()
176 igmph->csum = csum_fold(skb->csum); in tcf_csum_ipv4_igmp()
195 skb->csum = csum_partial(icmp6h, ipl - ihl, 0); in tcf_csum_ipv6_icmp()
198 skb->csum); in tcf_csum_ipv6_icmp()
220 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv4_tcp()
222 iph->saddr, iph->daddr, skb->csum); in tcf_csum_ipv4_tcp()
244 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv6_tcp()
247 skb->csum); in tcf_csum_ipv6_tcp()
284 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv4_udp()
286 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv4_udp()
293 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv4_udp()
298 skb->csum); in tcf_csum_ipv4_udp()
338 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv6_udp()
341 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv6_udp()
349 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv6_udp()
354 skb->csum); in tcf_csum_ipv6_udp()
701 .kind = "csum",
712 MODULE_ALIAS_NET_ACT("csum");