Lines Matching defs:uh
195 register struct udphdr *uh;
218 uh = (struct udphdr *)((caddr_t)ip6 + off);
219 ulen = ntohs((u_short)uh->uh_ulen);
230 if (uh->uh_sum == 0)
272 udp_in6.sin6_port = uh->uh_sport;
298 if (in6p->in6p_lport != uh->uh_dport) {
314 in6p->in6p_fport != uh->uh_sport) {
385 in6p = in6_pcblookup_hash(&udbinfo, &ip6->ip6_src, uh->uh_sport,
386 &ip6->ip6_dst, uh->uh_dport, 1,
396 buf, ntohs(uh->uh_dport),
397 ip6_sprintf(&ip6->ip6_src), ntohs(uh->uh_sport));
402 buf, ntohs(uh->uh_dport),
403 ip6_sprintf(&ip6->ip6_src), ntohs(uh->uh_sport)));
441 udp_in6.sin6_port = uh->uh_sport;
472 struct udphdr uh;
520 bzero(&uh, sizeof(uh));
521 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh);
523 (void) in6_pcbnotify(&udbinfo, sa, uh.uh_dport,
525 uh.uh_sport, cmd, notify);