Lines Matching refs:iface
102 struct ifaddrs *iface, *head; in Curl_if_is_interface_name() local
105 for(iface=head; iface != NULL; iface=iface->ifa_next) { in Curl_if_is_interface_name()
106 if(curl_strequal(iface->ifa_name, interf)) { in Curl_if_is_interface_name()
120 struct ifaddrs *iface, *head; in Curl_if2ip() local
133 for(iface = head; iface != NULL; iface=iface->ifa_next) { in Curl_if2ip()
134 if(iface->ifa_addr != NULL) { in Curl_if2ip()
135 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip()
136 if(curl_strequal(iface->ifa_name, interf)) { in Curl_if2ip()
144 unsigned int ifscope = Curl_ipv6_scope(iface->ifa_addr); in Curl_if2ip()
155 addr = &((struct sockaddr_in6 *)iface->ifa_addr)->sin6_addr; in Curl_if2ip()
159 ((struct sockaddr_in6 *)iface->ifa_addr)->sin6_scope_id; in Curl_if2ip()
174 addr = &((struct sockaddr_in *)iface->ifa_addr)->sin_addr; in Curl_if2ip()
182 curl_strequal(iface->ifa_name, interf)) { in Curl_if2ip()