Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 103) sorted by relevance

12345

/curl/lib/
H A Dnoproxy.c49 unsigned int address = 0; in Curl_cidr4_match() local
56 if(1 != Curl_inet_pton(AF_INET, ipv4, &address)) in Curl_cidr4_match()
63 unsigned int haddr = htonl(address); in Curl_cidr4_match()
74 return (address == check); in Curl_cidr4_match()
84 unsigned char address[16]; in Curl_cidr6_match() local
94 if(1 != Curl_inet_pton(AF_INET6, ipv6, address)) in Curl_cidr6_match()
98 if(bytes && memcmp(address, check, bytes)) in Curl_cidr6_match()
100 if(rest && !((address[bytes] ^ check[bytes]) & (0xff << (8 - rest)))) in Curl_cidr6_match()
163 unsigned int address; in Curl_check_noproxy() local
165 if(1 == Curl_inet_pton(AF_INET, name, &address)) in Curl_check_noproxy()
/curl/tests/unit/
H A Dunit1609.c55 const char *address[10]; member
115 int addressnum = sizeof (tests[i].address) / sizeof (*tests[i].address);
155 if(!addr && !tests[i].address[j])
166 if(addr && !tests[i].address[j]) {
174 if(!addr && tests[i].address[j]) {
177 __FILE__, __LINE__, i, i, j, tests[i].address[j]);
182 if(!curl_strequal(ipaddress, tests[i].address[j])) {
185 __FILE__, __LINE__, i, ipaddress, i, j, tests[i].address[j]);
H A Dunit1607.c58 const char *address[10]; member
119 int addressnum = sizeof(tests[i].address) / sizeof(*tests[i].address);
153 if(!addr && !tests[i].address[j])
156 if(tests[i].address[j] == &skip)
167 if(addr && !tests[i].address[j]) {
175 if(!addr && tests[i].address[j]) {
178 __FILE__, __LINE__, i, i, j, tests[i].address[j]);
183 if(!curl_strequal(ipaddress, tests[i].address[j])) {
186 __FILE__, __LINE__, i, ipaddress, i, j, tests[i].address[j]);
/curl/docs/cmdline-opts/
H A Ddns-ipv4-addr.md5 Arg: <address>
6 Help: IPv4 address to use for DNS requests
21 Bind to a specific IP address when making IPv4 DNS requests, so that the DNS
22 requests originate from this address. The argument should be a single IPv4
23 address.
H A Ddns-ipv6-addr.md5 Arg: <address>
6 Help: IPv6 address to use for DNS requests
21 Bind to a specific IP address when making IPv6 DNS requests, so that the DNS
22 requests originate from this address. The argument should be a single IPv6
23 address.
H A Dftp-port.md5 Arg: <address>
25 back to the client's specified address and port, while passive mode asks the
26 server to setup an IP address and port for it to connect to. \<address\>
30 e.g. **eth0** to specify which interface's IP address you want to use (Unix only)
32 ## IP address
33 e.g. **192.168.10.1** to specify the exact IP address
39 make curl pick the same IP address that is already used for the control
47 You can also append ":[start]-[end]" to the right of the address, to tell
H A Dmail-auth.md5 Arg: <address>
7 Help: Originator address of the original email
20 Specify a single address. This is used to specify the authentication address
H A Dmail-from.md5 Arg: <address>
6 Help: Mail from this address
20 Specify a single address that the given mail should get sent from.
H A Dresolve.md6 Help: Resolve host+port to address
19 Provide a custom address for a specific host and port pair. Using this, you
20 can make the curl requests(s) use a specified address and prevent the
21 otherwise normally resolved address to be used. Consider it a sort of
24 you need several entries if you want to provide address for the same host but
28 port pair to the specified address. Wildcard is resolved last so any --resolve
31 The provided address set by this option is used even if --ipv4 or --ipv6 is
H A Dmail-rcpt.md5 Arg: <address>
6 Help: Mail to this address
19 Specify a single email address, username or mailing list name. Repeat this
22 When performing an address verification (**VRFY** command), the recipient
H A Dftp-skip-pasv-ip.md5 Help: Skip the IP address for PASV
18 Do not use the IP address the server suggests in its response to curl's PASV
20 IP address it already uses for the control connection.
H A Dinterface.md21 name, IP address or hostname. If you prefer to be specific, you can use the
31 IP address or hostname.
35 Interface name and IP address or hostname. This syntax requires libcurl 8.9.0
/curl/docs/libcurl/opts/
H A DCURLOPT_DNS_LOCAL_IP4.md18 CURLOPT_DNS_LOCAL_IP4 - IPv4 address to bind DNS resolves to
25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_LOCAL_IP4, char *address);
30 Set the local IPv4 *address* that the resolver should bind to. The argument
31 should be of type char * and contain a single numerical IPv4 address as a
33 specific IP address).
74 CURLE_BAD_FUNCTION_ARGUMENT when given a bad address.
H A DCURLOPT_DNS_LOCAL_IP6.md18 CURLOPT_DNS_LOCAL_IP6 - IPv6 address to bind DNS resolves to
25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_LOCAL_IP6, char *address);
30 Set the local IPv6 *address* that the resolver should bind to. The argument
31 should be of type char * and contain a single IPv6 address as a string. Set
33 address).
74 CURLE_BAD_FUNCTION_ARGUMENT when given a bad address.
H A DCURLOPT_HAPROXY_CLIENT_IP.md30 When this parameter is set to a valid IPv4 or IPv6 numerical address, the
31 library sends this address as client address in the HAProxy PROXY protocol v1
35 use a specified address.
H A DCURLOPT_FTPPORT.md31 IP address to use for the FTP PORT instruction.
34 specified IP address. The string may be a plain IP address, a hostname, a
36 use your system's default IP address. Default FTP operations are passive, and
39 The address can be followed by a ':' to specify a port, optionally followed by
54 We strongly advise against specifying the address with a name, as it causes
55 libcurl to do a blocking name resolve call to retrieve the IP address. That
H A DCURLOPT_MAIL_FROM.md17 CURLOPT_MAIL_FROM - SMTP sender address
30 to specify the sender's email address when sending SMTP mail with libcurl.
32 An originator email address should be specified with angled brackets (\<\>)
35 If this parameter is not specified then an empty address is sent to the SMTP
H A DCURLOPT_FTP_SKIP_PASV_IP.md17 CURLOPT_FTP_SKIP_PASV_IP - ignore the IP address in the PASV response
30 address the server suggests in its 227-response to libcurl's PASV command when
32 address it already uses for the control connection. It still uses the port
37 address. Setting this option also reduces the risk for various sorts of client
H A DCURLOPT_OPENSOCKETFUNCTION.md39 struct curl_sockaddr *address);
58 The callback gets the resolved peer address as the *address* argument and
59 is allowed to modify the address or refuse to connect completely. The callback
66 This return code can be used for IP address block listing.
88 struct curl_sockaddr *address)
H A DCURLOPT_MAIL_AUTH.md17 CURLOPT_MAIL_AUTH - SMTP authentication address
30 specify the authentication address (identity) of a submitted message that is
37 and the AUTH address is not known or is invalid, then an empty string should
40 Unlike CURLOPT_MAIL_FROM(3) and CURLOPT_MAIL_RCPT(3), the address should not
H A DCURLOPT_INTERFACE.md31 outgoing network interface. The name can be an interface name, an IP address,
36 * `host!\<name\>` - IP address or hostname
37 * `ifhost!\<interface\>!\<host\>` - Interface name and IP address or hostname
47 causes libcurl to do a blocking name resolve call to retrieve the IP address.
/curl/tests/data/
H A Dtest23729 # The bogus address used here is chosen specifically so that when processed on
30 # certain hosts with buggy resolver code, the resulting address (192.0.2.127)
31 # is from an address block that is guaranteed never to be assigned (RFC3330).
/curl/tests/libtest/
H A Dlib1530.c31 struct curl_sockaddr *address) in opensocket() argument
34 (void)address; in opensocket()
H A Dlib1510.c43 char *address = libtest_arg2; in test() local
50 port, address); in test()
/curl/CMake/
H A DCurlTests.c73 char *address = "example.com"; in main() local
92 rc = gethostbyname_r(address, &h, &hdata); in main()
95 rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); in main()
99 rc = gethostbyname_r(address, &h, buffer, 8192, &hp, &h_errnop); in main()

Completed in 29 milliseconds

12345