Searched refs:interface_name (Results 1 – 9 of 9) sorted by relevance
93 bool NetworkInterfaceExists(const std::string& interface_name) { in NetworkInterfaceExists() argument98 if (strcmp(ifa->ifa_name, interface_name.c_str()) == 0) { in NetworkInterfaceExists()108 SharedFD OpenTapInterface(const std::string& interface_name) { in OpenTapInterface() argument120 strncpy(ifr.ifr_name, interface_name.c_str(), IFNAMSIZ); in OpenTapInterface()124 LOG(ERROR) << "Unable to connect to " << interface_name in OpenTapInterface()
26 bool NetworkInterfaceExists(const std::string& interface_name);32 SharedFD OpenTapInterface(const std::string& interface_name);
41 std::string interface_name; in StartIpv6() local44 interface_name = host_parsed[1]; in StartIpv6()49 return SharedFD::Socket6Client(host_name, interface_name, port, SOCK_STREAM, timeout); in StartIpv6()
41 char interface_name[IFNAMSIZ]; member
73 char interface_name[IFNAMSIZ]; member
80 char interface_name[IFNAMSIZ]; member
53 char interface_name[IFNAMSIZ]; member