/curl/lib/ |
H A D | setup-os400.h | 131 extern int Curl_os400_connect(int sd, struct sockaddr *destaddr, int addrlen); 132 extern int Curl_os400_bind(int sd, struct sockaddr *localaddr, int addrlen); 134 const struct sockaddr *dstaddr, int addrlen); 136 struct sockaddr *fromaddr, int *addrlen); 137 extern int Curl_os400_getpeername(int sd, struct sockaddr *addr, int *addrlen); 138 extern int Curl_os400_getsockname(int sd, struct sockaddr *addr, int *addrlen);
|
H A D | socketpair.c | 139 curl_socklen_t addrlen = sizeof(a.inaddr); in Curl_socketpair() local 175 if(getsockname(listener, &a.addr, &addrlen) == -1 || in Curl_socketpair() 176 addrlen < (int)sizeof(a.inaddr)) in Curl_socketpair()
|
H A D | cf-socket.h | 49 unsigned int addrlen; member
|
H A D | cf-socket.c | 335 dest->addrlen = (unsigned int)ai->ai_addrlen; in Curl_sock_assign_addr() 337 if(dest->addrlen > sizeof(struct Curl_sockaddr_storage)) in Curl_sock_assign_addr() 338 dest->addrlen = sizeof(struct Curl_sockaddr_storage); in Curl_sock_assign_addr() 339 memcpy(&dest->curl_sa_addr, ai->ai_addr, dest->addrlen); in Curl_sock_assign_addr() 1095 (curl_socklen_t)ctx->addr.addrlen, in set_remote_ip() 1265 endpoints.sae_dstaddrlen = ctx->addr.addrlen; in do_connect() 1275 rc = connect(ctx->sock, &ctx->addr.curl_sa_addr, ctx->addr.addrlen); in do_connect() 1283 rc = connect(ctx->sock, &ctx->addr.curl_sa_addr, ctx->addr.addrlen); in do_connect() 1293 (curl_socklen_t)ctx->addr.addrlen); in do_connect() 1515 cf->conn->remote_addr->addrlen); in cf_socket_send() [all …]
|
H A D | memdebug.c | 370 curl_socklen_t *addrlen = (curl_socklen_t *)saddrlen; in curl_dbg_accept() local 372 curl_socket_t sockfd = accept(s, addr, addrlen); in curl_dbg_accept()
|
H A D | ftp.c | 877 size_t addrlen = 0; in ftp_state_use_port() local 895 addrlen = ip_end - ip_start; in ftp_state_use_port() 910 addrlen = ip_end - string_ftpport; in ftp_state_use_port() 921 addrlen = strlen(string_ftpport); in ftp_state_use_port() 948 if(addrlen) { in ftp_state_use_port() 950 if(addrlen >= sizeof(ipstr)) in ftp_state_use_port() 952 memcpy(ipstr, addr, addrlen); in ftp_state_use_port() 953 ipstr[addrlen] = 0; in ftp_state_use_port()
|
H A D | socks.c | 1032 int addrlen = (int) socksreq[4]; in do_SOCKS5() local 1033 len = 5 + addrlen + 2; in do_SOCKS5()
|
H A D | tftp.c | 528 (curl_socklen_t)data->conn->remote_addr->addrlen); in tftp_send_first() 1032 (curl_socklen_t)conn->remote_addr->addrlen); in tftp_connect()
|
/curl/packages/OS400/ |
H A D | os400sys.c | 874 i = sockaddr2ebcdic(&laddr, destaddr, addrlen); in Curl_os400_connect() 883 Curl_os400_bind(int sd, struct sockaddr *localaddr, int addrlen) in Curl_os400_bind() argument 888 i = sockaddr2ebcdic(&laddr, localaddr, addrlen); in Curl_os400_bind() 898 const struct sockaddr *dstaddr, int addrlen) in Curl_os400_sendto() argument 903 i = sockaddr2ebcdic(&laddr, dstaddr, addrlen); in Curl_os400_sendto() 913 struct sockaddr *fromaddr, int *addrlen) in Curl_os400_recvfrom() argument 919 if(!fromaddr || !addrlen || *addrlen <= 0) in Curl_os400_recvfrom() 936 *addrlen = laddrlen; in Curl_os400_recvfrom() 948 laddrlen = sockaddr2ascii(addr, *addrlen, &laddr, laddrlen); in Curl_os400_getpeername() 951 *addrlen = laddrlen; in Curl_os400_getpeername() [all …]
|
H A D | curl.inc.in | 2355 d addrlen 10u 0
|
/curl/lib/vtls/ |
H A D | gtls.c | 1561 size_t addrlen = 0; in Curl_gtls_verifyserver() local 1564 addrlen = 4; in Curl_gtls_verifyserver() 1567 addrlen = 16; in Curl_gtls_verifyserver() 1570 if(addrlen) { in Curl_gtls_verifyserver() 1585 if(certaddrlen == addrlen && !memcmp(addrbuf, certaddr, addrlen)) { in Curl_gtls_verifyserver()
|
H A D | openssl.c | 2108 size_t addrlen = 0; in ossl_verifyhost() local 2127 addrlen = sizeof(struct in_addr); in ossl_verifyhost() 2134 addrlen = sizeof(struct in6_addr); in ossl_verifyhost() 2204 if((altlen == addrlen) && !memcmp(altptr, &addr, altlen)) { in ossl_verifyhost()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_OPENSOCKETFUNCTION.md | 33 unsigned int addrlen;
|
/curl/lib/vquic/ |
H A D | curl_msh3.c | 829 memcpy(&addr, &ctx->addr.curl_sa_addr, ctx->addr.addrlen); in cf_connect_start()
|
H A D | curl_quiche.c | 1336 sockaddr->addrlen, in cf_quiche_ctx_open()
|
H A D | curl_ngtcp2.c | 2307 &sockaddr->curl_sa_addr, (socklen_t)sockaddr->addrlen); in cf_connect_start()
|
/curl/src/ |
H A D | tool_operate.c | 176 curl_socklen_t addrlen = sizeof(addr); in get_address_family() local 178 if(getsockname(sockfd, (struct sockaddr *)&addr, &addrlen) == 0) in get_address_family()
|
/curl/include/curl/ |
H A D | curl.h | 424 unsigned int addrlen; /* addrlen was a socklen_t type before 7.18.0 but it member
|