Lines Matching refs:sin_port
97 /* XXX assumes sin_port and sin6_port at same offset */
98 sock->local_addr->port = ntohs(sock->local_addr->sa.sin.sin_port);
112 /* XXX assumes sin_port and sin6_port at same offset */
113 sock->remote_addr->port = ntohs(sock->remote_addr->sa.sin.sin_port);
176 /* XXX IPv6: assumes sin_port and sin6_port at same offset */
177 addr->sa.sin.sin_port = htons(port);
182 addr->sa.sin.sin_port = htons(port);
760 tmpsa.sin_port = 0;
896 sockaddr->sa.sin.sin_port = res->s_port;
903 sockaddr->sa.sin.sin_port = se.s_port;
910 sockaddr->sa.sin.sin_port = se.s_port;
918 sockaddr->sa.sin.sin_port = se->s_port;