Lines Matching refs:remoteaddr
81 struct sockaddr_storage remoteaddr; in main_inetd() local
88 remoteaddrlen = sizeof(remoteaddr); in main_inetd()
89 if (getpeername(0, (struct sockaddr*)&remoteaddr, &remoteaddrlen) < 0) { in main_inetd()
94 addrstring = getaddrstring(&remoteaddr, 1); in main_inetd()
105 svr_session(0, -1, getaddrhostname(&remoteaddr), addrstring); in main_inetd()
226 struct sockaddr_storage remoteaddr; in main_noinetd() local
237 remoteaddrlen = sizeof(remoteaddr); in main_noinetd()
239 (struct sockaddr*)&remoteaddr, &remoteaddrlen); in main_noinetd()
247 remote_addr_str = getaddrstring(&remoteaddr, 0); in main_noinetd()
296 addrstring = getaddrstring(&remoteaddr, 1); in main_noinetd()
312 getaddrhostname(&remoteaddr), in main_noinetd()