Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 31) sorted by relevance

12

/curl/docs/libcurl/opts/
H A DCURLINFO_PRIMARY_IP.md27 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 DCURLINFO_LOCAL_IP.md27 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 Dtest43526 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 Dtest27030 FTP RETR PASV --ftp-skip-pasv-ip
33 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-skip-pasv-ip --disable-epsv
H A Dtest56640 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
47 <file name="%LOGDIR/ip%TESTNUMBER">
H A Dtest57841 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
48 <file name="%LOGDIR/ip%TESTNUMBER">
H A Dtest50041 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
48 <file name="%LOGDIR/ip%TESTNUMBER">
H A Dtest57971 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
78 <file name="%LOGDIR/ip%TESTNUMBER">
H A Dtest59975 http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
82 <file name="%LOGDIR/ip%TESTNUMBER">
H A Dtest59539 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
H A Dtest59639 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER activeftp
/curl/docs/cmdline-opts/
H A Dftp-skip-pasv-ip.md4 Long: ftp-skip-pasv-ip
13 - --ftp-skip-pasv-ip ftp://example.com/
16 # `--ftp-skip-pasv-ip`
H A Dip-tos.md4 Long: ip-tos
15 - --ip-tos CS5 $URL
18 # `--ip-tos`
H A Dvlan-priority.md12 - ip-tos
H A Dignore-content-length.md11 - ftp-skip-pasv-ip
H A Dhaproxy-clientip.md5 Arg: <ip>
/curl/tests/
H A Dservers.pm1153 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 Dcf-socket.c1074 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 Dif2ip.c121 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 Ddoh.c552 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 Ddoh.h121 } ip; member
H A Dhostip.h194 void Curl_printable_address(const struct Curl_addrinfo *ip,
/curl/lib/vquic/
H A Dvquic.c408 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 Dunit1650.c207 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 Doptions-in-versions79 --ftp-skip-pasv-ip 7.14.2
102 --ip-tos 8.9.0

Completed in 51 milliseconds

12