Searched refs:iface (Results 1 – 11 of 11) sorted by relevance
/curl/lib/ |
H A D | if2ip.c | 107 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 D | cf-socket.c | 520 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 D | cf-socket.h | 61 char **dev, char **iface, char **host);
|
H A D | setopt.c | 146 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 D | unit1663.c | 59 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 D | xc-am-iface.m4 | 3 # xc-am-iface.m4
|
H A D | xc-lt-iface.m4 | 3 # xc-lt-iface.m4
|
/curl/src/ |
H A D | tool_cfgable.h | 81 char *iface; member
|
H A D | tool_cfgable.c | 69 Curl_safefree(config->iface); in free_config_fields()
|
H A D | tool_getparam.c | 1353 err = getstr(&config->iface, nextarg, DENY_BLANK); in getparameter()
|
H A D | tool_operate.c | 1419 my_setopt_str(curl, CURLOPT_INTERFACE, config->iface); in config2setopts()
|
Completed in 78 milliseconds