Lines Matching refs:sin
115 request->client->sin = &client;
129 request->server->sin = &server;
137 struct sockaddr_gen *sin = host->sin; local
139 if (sin != 0)
142 (void) inet_ntop(SGFAM(sin), SGADDRP(sin), host->addr, sizeof(host->addr));
144 STRN_CPY(host->addr, inet_ntoa(sin->sg_sin.sin_addr), sizeof(host->addr));
153 struct sockaddr_gen *sin = host->sin; local
165 if (sin != 0
166 && !SG_IS_UNSPECIFIED(sin)
167 && (hp = gethostbyaddr(SGADDRP(sin), SGADDRSZ(sin), SGFAM(sin))) != 0) {
184 if ((hp = tcpd_gethostbyname(host->name, SGFAM(sin))) == 0) {
220 (char *) SGADDRP(sin),
221 SGADDRSZ(sin)) == 0) {
233 inet_ntop(SGFAM(sin), SGADDRP(sin), buf, sizeof(buf)),
235 inet_ntoa(sin->sg_sin.sin_addr),
249 struct sockaddr_in sin; local
250 int size = sizeof(sin);
257 (void) recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *) & sin, &size);