Lines Matching refs:uh
40 struct udphdr *uh; in udp6_ufo_fragment() local
55 uh = udp_hdr(skb); in udp6_ufo_fragment()
58 uh->check = 0; in udp6_ufo_fragment()
60 uh->check = udp_v6_check(skb->len, &ipv6h->saddr, in udp6_ufo_fragment()
62 if (uh->check == 0) in udp6_ufo_fragment()
63 uh->check = CSUM_MANGLED_0; in udp6_ufo_fragment()
117 struct udphdr *uh = udp_gro_udphdr(skb); in udp6_gro_receive() local
119 if (unlikely(!uh) || !static_branch_unlikely(&udpv6_encap_needed_key)) in udp6_gro_receive()
126 if (skb_gro_checksum_validate_zero_check(skb, IPPROTO_UDP, uh->check, in udp6_gro_receive()
129 else if (uh->check) in udp6_gro_receive()
130 skb_gro_checksum_try_convert(skb, IPPROTO_UDP, uh->check, in udp6_gro_receive()
135 return udp_gro_receive(head, skb, uh, udp6_lib_lookup_skb); in udp6_gro_receive()
145 struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); in udp6_gro_complete() local
147 if (uh->check) in udp6_gro_complete()
148 uh->check = ~udp_v6_check(skb->len - nhoff, &ipv6h->saddr, in udp6_gro_complete()