Lines Matching refs:sin
197 struct sockaddr_in *sin; in rc_send_server() local
244 sin = (struct sockaddr_in *) & salocal; in rc_send_server()
245 memset ((char *) sin, '\0', (size_t) length); in rc_send_server()
246 sin->sin_family = AF_INET; in rc_send_server()
247 sin->sin_addr.s_addr = htonl(rc_own_bind_ipaddress()); in rc_send_server()
248 sin->sin_port = htons ((unsigned short) 0); in rc_send_server()
249 if (bind (sockfd, (struct sockaddr *) sin, length) < 0 || in rc_send_server()
250 getsockname (sockfd, (struct sockaddr *) sin, &length) < 0) in rc_send_server()
288 sin = (struct sockaddr_in *) & saremote; in rc_send_server()
289 memset ((char *) sin, '\0', sizeof (saremote)); in rc_send_server()
290 sin->sin_family = AF_INET; in rc_send_server()
291 sin->sin_addr.s_addr = htonl (auth_ipaddr); in rc_send_server()
292 sin->sin_port = htons ((unsigned short) data->svc_port); in rc_send_server()
297 (struct sockaddr *) sin, sizeof (struct sockaddr_in)); in rc_send_server()