Classes | Defines | Functions
connect.c File Reference
#include "curl_setup.h"
#include "urldata.h"
#include "sendf.h"
#include "if2ip.h"
#include "strerror.h"
#include "connect.h"
#include "select.h"
#include "url.h"
#include "multiif.h"
#include "sockaddr.h"
#include "inet_ntop.h"
#include "inet_pton.h"
#include "vtls/vtls.h"
#include "progress.h"
#include "warnless.h"
#include "conncache.h"
#include "multihandle.h"
#include "system_win32.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Include dependency graph for connect.c:

Go to the source code of this file.

Classes

struct  connfind

Defines

#define KEEPALIVE_FACTOR(x)
#define nosigpipe(x, y)   Curl_nop_stmt

Functions

static CURLcode bindlocal (struct connectdata *conn, curl_socket_t sockfd, int af, unsigned int scope)
static int conn_is_conn (struct connectdata *conn, void *param)
int Curl_closesocket (struct connectdata *conn, curl_socket_t sock)
bool Curl_conn_data_pending (struct connectdata *conn, int sockindex)
bool Curl_connalive (struct connectdata *conn)
void Curl_conncontrol (struct connectdata *conn, int ctrl)
CURLcode Curl_connecthost (struct connectdata *conn, const struct Curl_dns_entry *remotehost)
curl_socket_t Curl_getconnectinfo (struct Curl_easy *data, struct connectdata **connp)
CURLcode Curl_is_connected (struct connectdata *conn, int sockindex, bool *connected)
void Curl_persistconninfo (struct connectdata *conn)
CURLcode Curl_socket (struct connectdata *conn, const Curl_addrinfo *ai, struct Curl_sockaddr_ex *addr, curl_socket_t *sockfd)
void Curl_tcpnodelay (struct connectdata *conn, curl_socket_t sockfd)
time_t Curl_timeleft (struct Curl_easy *data, struct timeval *nowp, bool duringconnect)
void Curl_updateconninfo (struct connectdata *conn, curl_socket_t sockfd)
static bool getaddressinfo (struct sockaddr *sa, char *addr, long *port)
static CURLcode singleipconnect (struct connectdata *conn, const Curl_addrinfo *ai, curl_socket_t *sock)
static void tcpkeepalive (struct Curl_easy *data, curl_socket_t sockfd)
static CURLcode trynextip (struct connectdata *conn, int sockindex, int tempindex)
static bool verifyconnect (curl_socket_t sockfd, int *error)

Define Documentation

#define KEEPALIVE_FACTOR (   x)

Definition at line 93 of file connect.c.

#define nosigpipe (   x,
  y 
)    Curl_nop_stmt

Definition at line 928 of file connect.c.


Function Documentation

static CURLcode bindlocal ( struct connectdata conn,
curl_socket_t  sockfd,
int  af,
unsigned int  scope 
) [static]

Definition at line 239 of file connect.c.

static int conn_is_conn ( struct connectdata conn,
void *  param 
) [static]

Definition at line 1203 of file connect.c.

int Curl_closesocket ( struct connectdata conn,
curl_socket_t  sock 
)

Definition at line 1289 of file connect.c.

bool Curl_conn_data_pending ( struct connectdata conn,
int  sockindex 
)

Definition at line 1409 of file connect.c.

bool Curl_connalive ( struct connectdata conn)

Definition at line 1260 of file connect.c.

void Curl_conncontrol ( struct connectdata conn,
int  ctrl 
)

Definition at line 1387 of file connect.c.

CURLcode Curl_connecthost ( struct connectdata conn,
const struct Curl_dns_entry remotehost 
)

Definition at line 1153 of file connect.c.

curl_socket_t Curl_getconnectinfo ( struct Curl_easy data,
struct connectdata **  connp 
)

Definition at line 1219 of file connect.c.

CURLcode Curl_is_connected ( struct connectdata conn,
int  sockindex,
bool connected 
)

Definition at line 721 of file connect.c.

void Curl_persistconninfo ( struct connectdata conn)

Definition at line 600 of file connect.c.

CURLcode Curl_socket ( struct connectdata conn,
const Curl_addrinfo ai,
struct Curl_sockaddr_ex addr,
curl_socket_t sockfd 
)

Definition at line 1323 of file connect.c.

void Curl_tcpnodelay ( struct connectdata conn,
curl_socket_t  sockfd 
)

Definition at line 874 of file connect.c.

time_t Curl_timeleft ( struct Curl_easy data,
struct timeval nowp,
bool  duringconnect 
)

Definition at line 182 of file connect.c.

void Curl_updateconninfo ( struct connectdata conn,
curl_socket_t  sockfd 
)

Definition at line 663 of file connect.c.

static bool getaddressinfo ( struct sockaddr *  sa,
char *  addr,
long *  port 
) [static]

Definition at line 611 of file connect.c.

static CURLcode singleipconnect ( struct connectdata conn,
const Curl_addrinfo ai,
curl_socket_t sock 
) [static]

Definition at line 984 of file connect.c.

static void tcpkeepalive ( struct Curl_easy data,
curl_socket_t  sockfd 
) [static]

Definition at line 107 of file connect.c.

static CURLcode trynextip ( struct connectdata conn,
int  sockindex,
int  tempindex 
) [static]

Definition at line 540 of file connect.c.

static bool verifyconnect ( curl_socket_t  sockfd,
int *  error 
) [static]

Definition at line 474 of file connect.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08