Lines Matching refs:sin
117 request->client->sin = &client;
131 request->server->sin = &server;
139 struct sockaddr_gen *sin = host->sin; local
141 if (sin != 0)
144 (void) inet_ntop(SGFAM(sin), SGADDRP(sin), host->addr, sizeof(host->addr));
146 STRN_CPY(host->addr, inet_ntoa(sin->sg_sin.sin_addr), sizeof(host->addr));
155 struct sockaddr_gen *sin = host->sin; local
167 if (sin != 0
168 && !SG_IS_UNSPECIFIED(sin)
169 && (hp = gethostbyaddr(SGADDRP(sin), SGADDRSZ(sin), SGFAM(sin))) != 0) {
186 if ((hp = tcpd_gethostbyname(host->name, SGFAM(sin))) == 0) {
222 (char *) SGADDRP(sin),
223 SGADDRSZ(sin)) == 0) {
235 inet_ntop(SGFAM(sin), SGADDRP(sin), buf, sizeof(buf)),
237 inet_ntoa(sin->sg_sin.sin_addr),
251 struct sockaddr_in sin; local
252 int size = sizeof(sin);
259 (void) recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *) & sin, &size);