Lines Matching refs:iface
512 char **dev, char **iface, char **host) in Curl_parse_interface() argument
520 DEBUGASSERT(iface); in Curl_parse_interface()
531 *iface = Curl_memdup0(input, len - strlen(if_prefix)); in Curl_parse_interface()
532 return *iface ? CURLE_OK : CURLE_OUT_OF_MEMORY; in Curl_parse_interface()
548 *iface = Curl_memdup0(input, host_part - input); 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()
587 const char *iface = iface_input ? iface_input : dev; in bindlocal() local
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()
633 infof(data, "socket successfully bound to interface '%s'", iface); in bindlocal()
645 iface, myhost, sizeof(myhost)); in bindlocal()
654 iface, error, Curl_strerror(error, buffer, sizeof(buffer))); in bindlocal()
667 iface, host, af); in bindlocal()