Lines Matching refs:prsockp
298 prldap_try_one_address( struct lextiof_socket_private *prsockp, in prldap_try_one_address() argument
309 if (( prsockp->prsock_prfd = PR_OpenTCPSocket( in prldap_try_one_address()
322 if ( PR_SetSocketOption( prsockp->prsock_prfd, &optdata ) in prldap_try_one_address()
325 PR_Close( prsockp->prsock_prfd ); in prldap_try_one_address()
352 if ( PR_SUCCESS != PR_Connect( prsockp->prsock_prfd, addrp, in prldap_try_one_address()
353 prldap_timeout2it( timeout, prsockp->prsock_io_max_timeout ))) { in prldap_try_one_address()
354 PR_Close( prsockp->prsock_prfd ); in prldap_try_one_address()
355 prsockp->prsock_prfd = NULL; in prldap_try_one_address()
386 struct lextiof_socket_private *prsockp; in prldap_connect() local
399 if ( NULL == ( prsockp = prldap_socket_arg_alloc( sessionarg ))) { in prldap_connect()
420 rc = prldap_try_one_address( prsockp, &addr, port, in prldap_connect()
430 rc = prldap_try_one_address( prsockp, &addr, port, in prldap_connect()
452 prldap_socket_arg_free( &prsockp ); in prldap_connect()
454 *socketargp = prsockp; in prldap_connect()
653 PRLDAPIOSocketArg *prsockp; in prldap_socket_arg_alloc() local
655 prsockp = PR_Calloc( 1, sizeof( PRLDAPIOSocketArg )); in prldap_socket_arg_alloc()
657 if ( NULL != prsockp && NULL != sessionarg ) { in prldap_socket_arg_alloc()
659 prsockp->prsock_io_max_timeout = sessionarg->prsess_io_max_timeout; in prldap_socket_arg_alloc()
662 return( prsockp ); in prldap_socket_arg_alloc()