/curl/docs/libcurl/opts/ |
H A D | CURLINFO_PRIMARY_IP.md | 27 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIMARY_IP, char **ip); 38 The **ip** pointer is NULL or points to private memory. You MUST NOT free - 49 char *ip; 59 !curl_easy_getinfo(curl, CURLINFO_PRIMARY_IP, &ip) && ip) { 60 printf("IP: %s\n", ip);
|
H A D | CURLINFO_LOCAL_IP.md | 27 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LOCAL_IP, char **ip); 38 The **ip** pointer is NULL or points to private memory. You MUST NOT free - it 49 char *ip; 59 !curl_easy_getinfo(curl, CURLINFO_LOCAL_IP, &ip) && ip) { 60 printf("Local IP: %s\n", ip);
|
/curl/tests/data/ |
H A D | test435 | 26 verify -w local/remote port+ip after connection reuse 29 …ttp://%HOSTIP:%HTTPPORT/%TESTNUMBER -w 'local port == %{local_port}\nlocal ip == %{local_ip}\nremo… 59 local ip == 127.0.0.1 66 local ip == 127.0.0.1
|
H A D | test270 | 30 FTP RETR PASV --ftp-skip-pasv-ip 33 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-skip-pasv-ip --disable-epsv
|
H A D | test566 | 40 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER 47 <file name="%LOGDIR/ip%TESTNUMBER">
|
H A D | test578 | 41 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER 48 <file name="%LOGDIR/ip%TESTNUMBER">
|
H A D | test500 | 41 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER 48 <file name="%LOGDIR/ip%TESTNUMBER">
|
H A D | test579 | 71 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER 78 <file name="%LOGDIR/ip%TESTNUMBER">
|
H A D | test599 | 75 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER 82 <file name="%LOGDIR/ip%TESTNUMBER">
|
H A D | test595 | 39 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
|
H A D | test596 | 39 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER activeftp
|
/curl/docs/cmdline-opts/ |
H A D | ftp-skip-pasv-ip.md | 4 Long: ftp-skip-pasv-ip 13 - --ftp-skip-pasv-ip ftp://example.com/ 16 # `--ftp-skip-pasv-ip`
|
H A D | ip-tos.md | 4 Long: ip-tos 15 - --ip-tos CS5 $URL 18 # `--ip-tos`
|
H A D | vlan-priority.md | 12 - ip-tos
|
H A D | ignore-content-length.md | 11 - ftp-skip-pasv-ip
|
H A D | haproxy-clientip.md | 5 Arg: <ip>
|
/curl/tests/ |
H A D | servers.pm | 1153 my $ip = $HOSTIP; 1373 my $ip = $HOSTIP; 1662 my $ip = $HOSTIP; 1738 my $ip = $HOSTIP; 1814 my $ip=$HOSTIP; 1936 my $ip=$HOSTIP; 1992 my $ip=$HOSTIP; 2061 my $ip = $HOSTIP; 2122 my $ip = $HOSTIP; 2183 my $ip = $HOSTIP; [all …]
|
/curl/lib/ |
H A D | cf-socket.c | 1074 ctx->ip.local_ip, &ctx->ip.local_port)) { in set_local_ip() 1096 ctx->ip.remote_ip, &ctx->ip.remote_port)) { in set_remote_ip() 1334 ctx->ip.local_ip, ctx->ip.local_port); in cf_tcp_connect() 1381 ctx->ip.remote_ip, ctx->ip.remote_port, in cf_tcp_connect() 1382 ctx->ip.local_ip, ctx->ip.local_port, in cf_tcp_connect() 1844 ctx->sock, ctx->ip.local_ip, ctx->ip.local_port, in cf_udp_setup_quic() 1845 ctx->ip.remote_ip, ctx->ip.remote_port); in cf_udp_setup_quic() 1907 ctx->sock, ctx->ip.local_ip, ctx->ip.local_port); in cf_udp_connect() 2073 ctx->ip.remote_ip, &ctx->ip.remote_port)) { in cf_tcp_set_accepted_remote_ip() 2166 ctx->sock, ctx->ip.remote_ip, ctx->ip.remote_port); in cf_tcp_accept_connect() [all …]
|
H A D | if2ip.c | 121 const char *ip; in Curl_if2ip() local 164 ip = Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip() 165 msnprintf(buf, buf_size, "%s%s", ip, scope); in Curl_if2ip()
|
H A D | doh.c | 552 memcpy(&a->ip.v4, &doh[index], 4); in doh_store_a() 564 memcpy(&a->ip.v6, &doh[index], 16); in doh_store_aaaa() 845 a->ip.v4[0], a->ip.v4[1], in doh_show() 846 a->ip.v4[2], a->ip.v4[3]); in doh_show() 856 msnprintf(ptr, len, "%s%02x%02x", j ? ":" : "", d->addr[i].ip.v6[j], in doh_show() 857 d->addr[i].ip.v6[j + 1]); in doh_show() 962 DEBUGASSERT(sizeof(struct in_addr) == sizeof(de->addr[i].ip.v4)); in doh2ai() 963 memcpy(&addr->sin_addr, &de->addr[i].ip.v4, sizeof(struct in_addr)); in doh2ai() 975 DEBUGASSERT(sizeof(struct in6_addr) == sizeof(de->addr[i].ip.v6)); in doh2ai() 976 memcpy(&addr6->sin6_addr, &de->addr[i].ip.v6, sizeof(struct in6_addr)); in doh2ai()
|
H A D | doh.h | 121 } ip; member
|
H A D | hostip.h | 194 void Curl_printable_address(const struct Curl_addrinfo *ip,
|
/curl/lib/vquic/ |
H A D | vquic.c | 408 struct ip_quadruple ip; in recvmmsg_packets() local 409 Curl_cf_socket_peek(cf->next, data, NULL, NULL, &ip); in recvmmsg_packets() 411 ip.remote_ip, ip.remote_port); in recvmmsg_packets() 499 struct ip_quadruple ip; in recvmsg_packets() local 500 Curl_cf_socket_peek(cf->next, data, NULL, NULL, &ip); in recvmsg_packets() 502 ip.remote_ip, ip.remote_port); in recvmsg_packets() 574 struct ip_quadruple ip; in recvfrom_packets() local 575 Curl_cf_socket_peek(cf->next, data, NULL, NULL, &ip); in recvfrom_packets() 577 ip.remote_ip, ip.remote_port); in recvfrom_packets()
|
/curl/tests/unit/ |
H A D | unit1650.c | 207 p = &a->ip.v4[0]; 217 msnprintf(ptr, len, "%s%02x%02x", j?":":"", a->ip.v6[j], 218 a->ip.v6[j + 1]); 279 p = &a->ip.v4[0];
|
/curl/docs/ |
H A D | options-in-versions | 79 --ftp-skip-pasv-ip 7.14.2 102 --ip-tos 8.9.0
|