Lines Matching refs:ul
258 u16 ul; in tcf_csum_ipv4_udp() local
275 ul = ntohs(udph->len); in tcf_csum_ipv4_udp()
282 if (ul == 0) in tcf_csum_ipv4_udp()
284 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv4_udp()
285 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv4_udp()
289 if (ul != ipl - ihl) in tcf_csum_ipv4_udp()
292 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv4_udp()
296 ul, iph->protocol, in tcf_csum_ipv4_udp()
314 u16 ul; in tcf_csum_ipv6_udp() local
331 ul = ntohs(udph->len); in tcf_csum_ipv6_udp()
336 if (ul == 0) in tcf_csum_ipv6_udp()
339 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv6_udp()
340 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv6_udp()
345 if (ul != ipl - ihl) in tcf_csum_ipv6_udp()
348 skb->csum = csum_partial(udph, ul, 0); in tcf_csum_ipv6_udp()
351 udph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, ul, in tcf_csum_ipv6_udp()