Lines Matching defs:uh
220 struct udphdr *uh;
230 if (inp->inp_lport != ctx->uh->uh_dport)
232 if (inp->inp_fport != 0 && inp->inp_fport != ctx->uh->uh_sport)
239 inp->inp_fport != ctx->uh->uh_sport))
273 ctx.uh = (struct udphdr *)((char *)ctx.ip6 + off);
310 inp, ctx.uh);
313 ctx.uh);
353 struct udphdr *uh;
376 uh = (struct udphdr *)((caddr_t)ip6 + off);
383 if (uh->uh_dport == 0)
387 ulen = ntohs((u_short)uh->uh_ulen);
401 if (uh->uh_sum == 0) {
410 if (uh->uh_sum == 0) {
416 if (ntohs(uh->uh_dport) == V_zero_checksum_port)
444 fromsa[0].sin6_port = uh->uh_sport;
446 fromsa[1].sin6_port = uh->uh_dport;
472 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport,
481 uh->uh_sport, &next_hop6->sin6_addr,
483 uh->uh_dport, INPLOOKUP_WILDCARD |
491 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport,
502 ntohs(uh->uh_dport),
504 ntohs(uh->uh_sport));
507 UDPLITE_PROBE(receive, NULL, NULL, ip6, NULL, uh);
509 UDP_PROBE(receive, NULL, NULL, ip6, NULL, uh);
534 UDPLITE_PROBE(receive, NULL, inp, ip6, inp, uh);
536 UDP_PROBE(receive, NULL, inp, ip6, inp, uh);
551 struct udphdr uh;
572 bzero(&uh, sizeof(uh));
573 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh);
576 inp = in6_pcblookup_mbuf(pcbinfo, &ip6->ip6_dst, uh.uh_dport,
577 &ip6->ip6_src, uh.uh_sport, INPLOOKUP_WILDCARD | INPLOOKUP_RLOCKPCB,
589 in6_pcbnotify(pcbinfo, ip6cp->ip6c_finaldst, uh.uh_dport,
590 ip6cp->ip6c_src, uh.uh_sport, errno, ip6cp->ip6c_cmdarg,