Lines Matching defs:uh
381 struct udphdr *uh;
419 uh = (struct udphdr *)((caddr_t)ip + iphlen);
425 if (uh->uh_dport == 0)
435 udp_in.sin_port = uh->uh_sport;
442 len = ntohs((u_short)uh->uh_ulen);
471 if (uh->uh_sum) {
489 uh->uh_ulen : htons(ip_len);
520 if (inp->inp_lport != uh->uh_dport)
533 inp->inp_fport != uh->uh_sport)
580 last, uh);
614 UDP_PROBE(receive, NULL, last, ip, last, uh);
639 inp = in_pcblookup_mbuf(pcbinfo, ip->ip_src, uh->uh_sport,
640 ip->ip_dst, uh->uh_dport, INPLOOKUP_RLOCKPCB, ifp, m);
648 uh->uh_sport, next_hop->sin_addr,
650 uh->uh_dport, INPLOOKUP_WILDCARD |
657 inp = in_pcblookup_mbuf(pcbinfo, ip->ip_src, uh->uh_sport,
658 ip->ip_dst, uh->uh_dport, INPLOOKUP_WILDCARD |
667 inet_ntoa_r(ip->ip_dst, dst), ntohs(uh->uh_dport),
668 inet_ntoa_r(ip->ip_src, src), ntohs(uh->uh_sport));
670 UDP_PROBE(receive, NULL, NULL, ip, NULL, uh);
690 UDP_PROBE(receive, NULL, inp, ip, inp, uh);
706 UDP_PROBE(receive, NULL, inp, ip, inp, uh);
750 struct udphdr *uh;
775 uh = (struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2));
776 inp = in_pcblookup(pcbinfo, faddr, uh->uh_dport,
777 ip->ip_src, uh->uh_sport, INPLOOKUP_RLOCKPCB, NULL);
785 inp = in_pcblookup(pcbinfo, faddr, uh->uh_dport,
786 ip->ip_src, uh->uh_sport,