Lines Matching defs:uh
194 struct udphdr *uh;
218 uh = (struct udphdr *)((caddr_t)ip6 + off);
220 IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(*uh));
221 if (!uh)
230 if (uh->uh_dport == 0)
234 ulen = ntohs((u_short)uh->uh_ulen);
248 if (uh->uh_sum == 0) {
257 if (uh->uh_sum == 0) {
283 fromsa.sin6_port = uh->uh_sport;
312 if (inp->inp_lport != uh->uh_dport)
315 inp->inp_fport != uh->uh_sport)
325 inp->inp_fport != uh->uh_sport)
373 last, uh);
404 UDP_PROBE(receive, NULL, last, ip6, last, uh);
427 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport,
436 uh->uh_sport, &next_hop6->sin6_addr,
438 uh->uh_dport, INPLOOKUP_WILDCARD |
446 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport,
457 ntohs(uh->uh_dport),
459 ntohs(uh->uh_sport));
483 UDP_PROBE(receive, NULL, inp, ip6, inp, uh);
500 struct udphdr uh;
551 bzero(&uh, sizeof(uh));
552 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh);
554 (void)in6_pcbnotify(pcbinfo, sa, uh.uh_dport,
555 (struct sockaddr *)ip6cp->ip6c_src, uh.uh_sport, cmd,