Lines Matching defs:uh
196 struct udphdr *uh;
213 uh = (struct udphdr *)((caddr_t)ip6 + off);
215 IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(*uh));
216 if (!uh)
226 if (uh->uh_dport == 0)
230 ulen = ntohs((u_short)uh->uh_ulen);
244 if (uh->uh_sum == 0) {
253 if (uh->uh_sum == 0) {
279 fromsa.sin6_port = uh->uh_sport;
308 if (inp->inp_lport != uh->uh_dport)
311 inp->inp_fport != uh->uh_sport)
321 inp->inp_fport != uh->uh_sport)
369 last, uh);
401 UDP_PROBE(receive, NULL, last, ip6, last, uh);
425 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport,
434 uh->uh_sport, &next_hop6->sin6_addr,
436 uh->uh_dport, INPLOOKUP_WILDCARD |
444 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport,
455 ntohs(uh->uh_dport),
457 ntohs(uh->uh_sport));
459 UDP_PROBE(receive, NULL, NULL, ip6, NULL, uh);
480 UDP_PROBE(receive, NULL, inp, ip6, inp, uh);
497 struct udphdr uh;
548 bzero(&uh, sizeof(uh));
549 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh);
555 uh.uh_dport, &ip6->ip6_src, uh.uh_sport,
574 (void)in6_pcbnotify(pcbinfo, sa, uh.uh_dport,
575 (struct sockaddr *)ip6cp->ip6c_src, uh.uh_sport, cmd,