/external/wpa_supplicant_8/src/ap/ |
vlan_util.h | 16 int vlan_add(const char *if_name, int vid, const char *vlan_if_name); 17 int vlan_rem(const char *if_name); 20 int ifconfig_helper(const char *if_name, int up); 21 int ifconfig_up(const char *if_name);
|
vlan_ifconfig.c | 19 int ifconfig_helper(const char *if_name, int up) 31 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); 36 __func__, if_name, strerror(errno)); 49 __func__, if_name, up, strerror(errno)); 59 int ifconfig_up(const char *if_name) 61 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s up", if_name); 62 return ifconfig_helper(if_name, 1);
|
vlan_ioctl.c | 19 int vlan_rem(const char *if_name) 24 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(%s)", if_name); 25 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { 27 if_name); 39 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); 44 "%s", __func__, if_name, strerror(errno)); 56 'if_name'. 62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) 67 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d)", 68 if_name, vid) [all...] |
vlan_util.c | 18 * tagged interface 'if_name'. 24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) 31 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, " 32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); 34 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { 36 if_name); 59 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); 63 if_name); 108 vlan_if_name, vid, if_name, if_idx, 124 int vlan_rem(const char *if_name) [all...] |
vlan_full.c | 119 static int ifconfig_down(const char *if_name) 121 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); 122 return ifconfig_helper(if_name, 0); 132 static int br_delif(const char *br_name, const char *if_name) 139 wpa_printf(MSG_DEBUG, "VLAN: br_delif(%s, %s)", br_name, if_name); 146 if_index = if_nametoindex(if_name); 151 __func__, if_name); 165 "BRCTL_DEL_IF] failed for br_name=%s if_name=%s: " 166 "%s", __func__, br_name, if_name, strerror(errno)); 177 Add interface 'if_name' to the bridge 'br_name [all...] |
/bionic/tests/ |
net_if_test.cpp | 49 fprintf(stderr, "\t%d\t%s\n", it->if_index, it->if_name); 50 if_nameindex_names.insert(it->if_name); 51 EXPECT_EQ(it->if_index, if_nametoindex(it->if_name)); 52 EXPECT_STREQ(it->if_name, if_indextoname(it->if_index, buf)); 53 if (strcmp(it->if_name, "lo") == 0) saw_lo = true;
|
ifaddrs_test.cpp | 110 static void CheckAddressIsInSet(const std::string& if_name, bool unicast, 115 if_name.copy(ifr.ifr_name, IFNAMSIZ - 1); 123 ASSERT_EQ(0, ioctl(fd, SIOCGIFFLAGS, &ifr)) << if_name << ' ' << strerror(errno); 127 ASSERT_EQ(0, ioctl(fd, request, &ifr)) << if_name << ' ' << strerror(errno); 133 EXPECT_TRUE(addrs.find(addr) != addrs.end()) << if_name << ' ' << std::hex << ntohl(addr);
|
/bionic/libc/include/net/ |
if.h | 44 char* if_name; member in struct:if_nameindex
|
/bionic/libc/bionic/ |
net_if.cpp | 90 if (names_too) free(it->data.if_name); 110 new_link->data.if_name = strndup(reinterpret_cast<char*>(RTA_DATA(rta)), RTA_PAYLOAD(rta)); 140 out->if_name = it->data.if_name; 144 out->if_name = nullptr; 157 while (ptr->if_index != 0 || ptr->if_name != nullptr) { 158 free(ptr->if_name);
|
/external/autotest/server/ |
site_linux_system.py | 21 ['inherited', 'phy', 'if_name', 'if_type']) 100 if_name=interface.if_name, 104 self.iw_runner.remove_interface(interface.if_name) 245 if net_dev.if_name == interface: 256 self.release_interface(net_dev.if_name) 260 self.remove_interface(net_dev.if_name) 317 if net_dev.if_name == self._capture_interface][0] 438 if net_dev.if_name == same_phy_as: 461 if net_dev.if_name == name] [all...] |
/bionic/libc/kernel/uapi/linux/ |
gsmmux.h | 50 char if_name[IFNAMSIZ]; member in struct:gsm_netconfig
|
/external/kernel-headers/original/uapi/linux/ |
gsmmux.h | 32 char if_name[IFNAMSIZ]; /* interface name format string */ member in struct:gsm_netconfig
|
/external/webrtc/webrtc/base/ |
fakenetwork.h | 42 void AddInterface(const SocketAddress& iface, const std::string& if_name) { 43 AddInterface(iface, if_name, ADAPTER_TYPE_UNKNOWN); 47 const std::string& if_name, 49 SocketAddress address(if_name, 0);
|
/system/webservd/webservd/ |
utils.h | 58 int CreateNetworkInterfaceSocket(const std::string& if_name);
|
utils.cc | 166 int CreateNetworkInterfaceSocket(const std::string& if_name) { 181 if_name.c_str(), if_name.size()) < 0) { 182 PLOG(WARNING) << "Failed to bind socket (SO_BINDTODEVICE) to " << if_name;
|
/external/autotest/client/common_lib/cros/network/ |
iw_runner.py | 46 IwNetDev = collections.namedtuple('IwNetDev', ['phy', 'if_name', 'if_type']) 235 if iw_if.if_name == interface_name] 338 if_name = None 344 if_name = None 351 if_name = m.group(1) 353 if not if_name: 359 interfaces.append(IwNetDev(phy=phy, if_name=if_name, 362 if_name = None
|
/external/selinux/sepolgen/src/sepolgen/ |
module.py | 63 def if_name(self): member in class:ModuleTree 86 open(self.if_name(), "w").close()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
module.py | 63 def if_name(self): member in class:ModuleTree 86 open(self.if_name(), "w").close()
|
/hardware/qcom/msm8x84/kernel-headers/linux/ |
msm_rmnet.h | 110 int8_t if_name[IFNAMSIZ]; member in union:rmnet_ioctl_extended_s::__anon34555
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/ |
msm_rmnet.h | 99 int8_t if_name[IFNAMSIZ]; member in union:rmnet_ioctl_extended_s::__anon34652
|
/external/autotest/server/site_tests/brillo_WifiInterfaceTest/ |
brillo_WifiInterfaceTest.py | 59 iw_ifaces = [iface_tuple.if_name
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
msm_rmnet.h | 112 int8_t if_name[IFNAMSIZ]; member in union:rmnet_ioctl_extended_s::__anon33886
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
msm_rmnet.h | 101 int8_t if_name[IFNAMSIZ]; member in union:rmnet_ioctl_extended_s::__anon33993
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
msm_rmnet.h | 116 int8_t if_name[IFNAMSIZ]; member in union:rmnet_ioctl_extended_s::__anon34130
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
msm_rmnet.h | 104 int8_t if_name[IFNAMSIZ]; member in union:rmnet_ioctl_extended_s::__anon34281
|