Lines Matching refs:conn
87 static apr_status_t rfc1413_connect(apr_socket_t **newsock, conn_rec *conn,
93 if ((rv = apr_sockaddr_info_get(&localsa, conn->local_ip, APR_UNSPEC,
95 0, conn->pool)) != APR_SUCCESS) {
100 conn->local_ip);
104 if ((rv = apr_sockaddr_info_get(&destsa, conn->client_ip,
106 RFC1413_PORT, 0, conn->pool)) != APR_SUCCESS) {
111 conn->client_ip);
117 SOCK_STREAM, 0, conn->pool)) != APR_SUCCESS) {
158 static apr_status_t rfc1413_query(apr_socket_t *sock, conn_rec *conn,
169 sav_our_port = conn->local_addr->port;
170 sav_rmt_port = conn->client_addr->port;
238 conn->remote_logname = apr_pstrdup(conn->pool, user);
308 conn_rec *conn = r->connection;
318 rv = rfc1413_connect(&sock, conn, srv, conf->timeout);
320 rv = rfc1413_query(sock, conn, srv);
324 conn->remote_logname = FROM_UNKNOWN;
327 return (const char *)conn->remote_logname;