Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 11 of 11) sorted by relevance

/curl/lib/
H A Dif2ip.c107 struct ifaddrs *iface, *head; in Curl_if2ip() local
116 for(iface = head; iface != NULL; iface = iface->ifa_next) { in Curl_if2ip()
117 if(iface->ifa_addr) { in Curl_if2ip()
118 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip()
119 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
129 unsigned int ifscope = Curl_ipv6_scope(iface->ifa_addr); in Curl_if2ip()
141 &((struct sockaddr_in6 *)(void *)iface->ifa_addr)->sin6_addr; in Curl_if2ip()
144 scopeid = ((struct sockaddr_in6 *)(void *)iface->ifa_addr) in Curl_if2ip()
162 &((struct sockaddr_in *)(void *)iface->ifa_addr)->sin_addr; in Curl_if2ip()
170 strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
H A Dcf-socket.c520 DEBUGASSERT(iface); in Curl_parse_interface()
532 return *iface ? CURLE_OK : CURLE_OUT_OF_MEMORY; in Curl_parse_interface()
549 if(!*iface) in Curl_parse_interface()
554 free(*iface); in Curl_parse_interface()
555 *iface = NULL; in Curl_parse_interface()
600 if(!iface && !host && !port) in bindlocal()
603 else if(iface && (strlen(iface) >= 255) ) in bindlocal()
608 if(iface || host) { in bindlocal()
614 if(iface) { in bindlocal()
626 iface, (curl_socklen_t)strlen(iface) + 1) == 0) { in bindlocal()
[all …]
H A Dcf-socket.h61 char **dev, char **iface, char **host);
H A Dsetopt.c146 char *iface = NULL; in setstropt_interface() local
156 result = Curl_parse_interface(option, &dev, &iface, &host); in setstropt_interface()
164 *ifacep = iface; in setstropt_interface()
/curl/tests/unit/
H A Dunit1663.c59 char *iface = NULL; in test_parse() local
61 CURLcode rc = Curl_parse_interface(input_data, &dev, &iface, &host); in test_parse()
65 fail_unless(!!exp_iface == !!iface, "iface expectation failed"); in test_parse()
71 fail_unless(!exp_iface || strcmp(iface, exp_iface) == 0, in test_parse()
78 free(iface); in test_parse()
/curl/m4/
H A Dxc-am-iface.m43 # xc-am-iface.m4
H A Dxc-lt-iface.m43 # xc-lt-iface.m4
/curl/src/
H A Dtool_cfgable.h81 char *iface; member
H A Dtool_cfgable.c69 Curl_safefree(config->iface); in free_config_fields()
H A Dtool_getparam.c1353 err = getstr(&config->iface, nextarg, DENY_BLANK); in getparameter()
H A Dtool_operate.c1419 my_setopt_str(curl, CURLOPT_INTERFACE, config->iface); in config2setopts()

Completed in 32 milliseconds