Lines Matching defs:connectdata
898 struct connectdata { struct
899 struct Curl_llist_element bundle_node; /* conncache */
901 curl_closesocket_callback fclosesocket; /* function closing the socket(s) */
902 void *closesocket_client;
911 curl_off_t connection_id; /* Contains a unique number to make it easier to
918 struct Curl_dns_entry *dns_entry;
922 const struct Curl_sockaddr_ex *remote_addr;
924 struct hostname host;
925 char *hostname_resolve; /* host name to resolve to address, allocated */
926 char *secondaryhostname; /* secondary socket host name (ftp) */
927 struct hostname conn_to_host; /* the host to connect to. valid only if
930 struct proxy_info socks_proxy;
931 struct proxy_info http_proxy;
940 char primary_ip[MAX_IPADR_LEN];
941 char *user; /* user name string, allocated */
942 char *passwd; /* password string, allocated */
943 char *options; /* options string, allocated */
944 char *sasl_authzid; /* authorization identity string, allocated */
945 char *oauth_bearer; /* OAUTH2 bearer, allocated */
946 struct curltime now; /* "current" time */
947 struct curltime created; /* creation time */
948 struct curltime lastused; /* when returned to the connection cache */
949 curl_socket_t sock[2]; /* two sockets, the second is used for the data
951 Curl_recv *recv[2];
952 Curl_send *send[2];
953 struct Curl_cfilter *cfilter[2]; /* connection filters */
955 struct ssl_primary_config ssl_config;
957 struct ssl_primary_config proxy_ssl_config;
959 struct ConnectBits bits; /* various state-flags for this connection */
961 const struct Curl_handler *handler; /* Connection's protocol handler */
962 const struct Curl_handler *given; /* The protocol first given */
967 struct curltime keepalive;
971 curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */
972 curl_socket_t writesockfd; /* socket to write to, it may very
978 unsigned char command_prot; /* enum protection_level */
979 unsigned char data_prot; /* enum protection_level */
980 unsigned char request_data_prot; /* enum protection_level */
981 size_t buffer_size;
982 struct krb5buffer in_buffer;
983 void *app_data;
984 const struct Curl_sec_client_mech *mech;
985 struct sockaddr_in local_addr;
989 struct kerberos5data krb5; /* variables into the structure definition, */
992 struct Curl_llist easyq; /* List of easy handles using this connection */
993 curl_seek_callback seek_func; /* function that seeks the input */
994 void *seek_client; /* pointer to pass to the seek() above */
998 CtxtHandle *sslContext;
1002 struct gsasldata gsasl;
1006 curlntlm http_ntlm_state;
1007 curlntlm proxy_ntlm_state;
1009 struct ntlmdata ntlm; /* NTLM differs from other authentication schemes
1012 struct ntlmdata proxyntlm; /* NTLM data for proxy */
1016 curlnegotiate http_negotiate_state;
1017 curlnegotiate proxy_negotiate_state;
1019 struct negotiatedata negotiate; /* state data for host Negotiate auth */
1020 struct negotiatedata proxyneg; /* state data for proxy Negotiate auth */
1023 union {
1061 } proto;
1063 struct connectbundle *bundle; /* The bundle we are member of */
1065 char *unix_domain_socket;
1069 Curl_datastream datastream;
1076 char *localdev;
1077 unsigned short localportrange;
1078 int waitfor; /* current READ/WRITE bits to wait for */
1080 int socks5_gssapi_enctype;
1083 int port; /* which port to use locally - to connect to */
1084 int remote_port; /* the remote port, not the proxy port! */
1085 int conn_to_port; /* the remote port to connect to. valid only if
1088 unsigned int scope_id; /* Scope id for IPv6 */
1090 unsigned short localport;
1091 unsigned short secondary_port; /* secondary socket remote port to connect to
1093 unsigned char alpn; /* APLN TLS negotiated protocol, a CURL_HTTP_VERSION*
1117 /* The end of connectdata. */ argument