Lines Matching refs:ul
259 u16 ul; in tcf_csum_ipv4_udp() local
276 ul = ntohs(udph->len); in tcf_csum_ipv4_udp()
283 if (ul == 0) in tcf_csum_ipv4_udp()
285 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv4_udp()
286 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv4_udp()
290 if (ul != ipl - ihl) in tcf_csum_ipv4_udp()
293 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv4_udp()
297 ul, iph->protocol, in tcf_csum_ipv4_udp()
315 u16 ul; in tcf_csum_ipv6_udp() local
332 ul = ntohs(udph->len); in tcf_csum_ipv6_udp()
337 if (ul == 0) in tcf_csum_ipv6_udp()
340 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv6_udp()
341 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv6_udp()
346 if (ul != ipl - ihl) in tcf_csum_ipv6_udp()
349 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv6_udp()
352 udph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, ul, in tcf_csum_ipv6_udp()