Lines Matching refs:iface
101 struct ifaddrs *iface, *head; in Curl_if_is_interface_name() local
104 for(iface=head; iface != NULL; iface=iface->ifa_next) { in Curl_if_is_interface_name()
105 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if_is_interface_name()
119 struct ifaddrs *iface, *head; in Curl_if2ip() local
132 for(iface = head; iface != NULL; iface=iface->ifa_next) { in Curl_if2ip()
133 if(iface->ifa_addr != NULL) { in Curl_if2ip()
134 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip()
135 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
143 unsigned int ifscope = Curl_ipv6_scope(iface->ifa_addr); in Curl_if2ip()
155 &((struct sockaddr_in6 *)(void *)iface->ifa_addr)->sin6_addr; in Curl_if2ip()
158 scopeid = ((struct sockaddr_in6 *)(void *)iface->ifa_addr) in Curl_if2ip()
175 &((struct sockaddr_in *)(void *)iface->ifa_addr)->sin_addr; in Curl_if2ip()
183 strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()