Home
last modified time | relevance | path

Searched refs:udphp (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/stand/lib/inet/
H A Dudp.c81 udp_ports(uint16_t *udphp, enum Ports request) in udp_ports() argument
84 return (((struct udphdr *)udphp)->uh_sport); in udp_ports()
85 return (((struct udphdr *)udphp)->uh_dport); in udp_ports()
104 struct udphdr *udphp; in udp_input() local
120 udphp = (struct udphdr *)(mp->b_rptr + in udp_input()
123 mp->b_rptr = ((unsigned char *)udphp) + header_len; in udp_input()
124 mp->b_wptr = ((unsigned char *)udphp) + ntohs(udphp->uh_ulen); in udp_input()
127 if (udp_cksum_flag && udphp->uh_sum != 0) { in udp_input()
128 if (udp_chksum(udphp, &igp->igm_saddr.sin_addr, in udp_input()
139 if (sockets[index].bind.sin_port != udphp->uh_dport) { in udp_input()
[all …]