Lines Matching defs:uh
396 struct udphdr *uh;
434 uh = (struct udphdr *)((caddr_t)ip + iphlen);
440 if (uh->uh_dport == 0)
450 udp_in.sin_port = uh->uh_sport;
457 len = ntohs((u_short)uh->uh_ulen);
486 if (uh->uh_sum) {
504 uh->uh_ulen : htons(ip_len);
535 if (inp->inp_lport != uh->uh_dport)
548 inp->inp_fport != uh->uh_sport)
595 last, uh);
629 UDP_PROBE(receive, NULL, last, ip, last, uh);
654 inp = in_pcblookup_mbuf(pcbinfo, ip->ip_src, uh->uh_sport,
655 ip->ip_dst, uh->uh_dport, INPLOOKUP_RLOCKPCB, ifp, m);
663 uh->uh_sport, next_hop->sin_addr,
665 uh->uh_dport, INPLOOKUP_WILDCARD |
672 inp = in_pcblookup_mbuf(pcbinfo, ip->ip_src, uh->uh_sport,
673 ip->ip_dst, uh->uh_dport, INPLOOKUP_WILDCARD |
682 buf, ntohs(uh->uh_dport), inet_ntoa(ip->ip_src),
683 ntohs(uh->uh_sport));
719 UDP_PROBE(receive, NULL, inp, ip, inp, uh);
763 struct udphdr *uh;
788 uh = (struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2));
789 inp = in_pcblookup(pcbinfo, faddr, uh->uh_dport,
790 ip->ip_src, uh->uh_sport, INPLOOKUP_RLOCKPCB, NULL);
798 inp = in_pcblookup(pcbinfo, faddr, uh->uh_dport,
799 ip->ip_src, uh->uh_sport,