Lines Matching refs:uh
80 register struct udphdr *uh;
107 uh = (struct udphdr *)((caddr_t)ip + iphlen);
113 len = ntohs((u_int16_t)uh->uh_ulen);
134 if (UDPCKSUM && uh->uh_sum) {
137 ((struct ipovly *)ip)->ih_len = uh->uh_ulen;
139 * uh->uh_sum = cksum(m, len + sizeof (struct ip));
140 * if (uh->uh_sum) {
151 if (port_geth(uh->uh_dport) == BOOTP_SERVER) {
162 if (port_geth(uh->uh_dport) == TFTP_SERVER) {
171 if (so->so_laddr_port != port_geth(uh->uh_sport) ||
176 if (tmp->so_laddr_port == port_geth(uh->uh_sport) &&
179 tmp->so_faddr_port = port_geth(uh->uh_dport);
210 so->so_laddr_port = port_geth(uh->uh_sport);
222 so->so_faddr_port = port_geth(uh->uh_dport); /* XXX */