/external/wpa_supplicant_8/src/ap/ |
D | vlan_ioctl.c | 19 int vlan_rem(const char *if_name) in vlan_rem() argument 24 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(%s)", if_name); in vlan_rem() 25 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_rem() 27 if_name); in vlan_rem() 39 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem() 44 "%s", __func__, if_name, strerror(errno)); in vlan_rem() 62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument 68 if_name, vid); in vlan_add() 69 ifconfig_up(if_name); in vlan_add() 71 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_add() [all …]
|
D | vlan_util.c | 24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument 32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); in vlan_add() 34 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { in vlan_add() 36 if_name); in vlan_add() 59 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); in vlan_add() 63 if_name); in vlan_add() 108 vlan_if_name, vid, if_name, if_idx, in vlan_add() 124 int vlan_rem(const char *if_name) in vlan_rem() argument 130 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(if_name=%s)", if_name); in vlan_rem() 145 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); in vlan_rem() [all …]
|
D | vlan_ifconfig.c | 19 int ifconfig_helper(const char *if_name, int up) in ifconfig_helper() argument 31 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper() 36 __func__, if_name, strerror(errno)); in ifconfig_helper() 49 __func__, if_name, up, strerror(errno)); in ifconfig_helper() 59 int ifconfig_up(const char *if_name) in ifconfig_up() argument 61 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s up", if_name); in ifconfig_up() 62 return ifconfig_helper(if_name, 1); in ifconfig_up()
|
D | 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);
|
D | vlan_full.c | 119 static int ifconfig_down(const char *if_name) in ifconfig_down() argument 121 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); in ifconfig_down() 122 return ifconfig_helper(if_name, 0); in ifconfig_down() 132 static int br_delif(const char *br_name, const char *if_name) in br_delif() argument 139 wpa_printf(MSG_DEBUG, "VLAN: br_delif(%s, %s)", br_name, if_name); in br_delif() 146 if_index = if_nametoindex(if_name); in br_delif() 151 __func__, if_name); in br_delif() 166 "%s", __func__, br_name, if_name, strerror(errno)); in br_delif() 183 static int br_addif(const char *br_name, const char *if_name) in br_addif() argument 190 wpa_printf(MSG_DEBUG, "VLAN: br_addif(%s, %s)", br_name, if_name); in br_addif() [all …]
|
/external/autotest/server/ |
D | site_linux_system.py | 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]) 462 if_name = lambda index: '%s%d' % (phytype, index) function 464 while name_exists(if_name(if_index)): [all …]
|
/external/webrtc/webrtc/base/ |
D | fakenetwork.h | 42 void AddInterface(const SocketAddress& iface, const std::string& if_name) { in AddInterface() argument 43 AddInterface(iface, if_name, ADAPTER_TYPE_UNKNOWN); in AddInterface() 47 const std::string& if_name, in AddInterface() argument 49 SocketAddress address(if_name, 0); in AddInterface()
|
D | network_unittest.cc | 113 char* if_name, in AddIpv6Address() argument 119 if_addr->ifa_name = if_name; in AddIpv6Address() 720 char if_name[20] = "rmnet0"; in TEST_F() local 722 list = AddIpv6Address(list, if_name, "1000:2000:3000:4000:0:0:0:1", in TEST_F() 724 list = AddIpv6Address(list, if_name, "1000:2000:3000:4000:0:0:0:2", in TEST_F()
|
/external/autotest/client/common_lib/cros/network/ |
D | iw_runner.py | 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/libpcap/ |
D | pcap-dlpi.c | 1675 char if_name[sizeof(ifnet.if_name) + 1]; local 1705 dlpi_kread(kd, (off_t)ifnet.if_name, 1706 if_name, sizeof(ifnet.if_name), ebuf) < 0) { 1710 if_name[sizeof(ifnet.if_name)] = '\0'; 1711 if (strcmp(if_name, ifname) == 0 && ifnet.if_unit == unit)
|
D | pcap-linux.c | 1077 linux_if_drops(const char * if_name) argument 1082 int field_to_convert = 3, if_name_sz = strlen(if_name); 1101 if ((bufptr = strstr(buffer, if_name)) &&
|
/external/selinux/sepolgen/src/sepolgen/ |
D | module.py | 63 def if_name(self): member in ModuleTree 86 open(self.if_name(), "w").close()
|
/external/autotest/client/deps/lansim/src/py/ |
D | tuntap.py | 37 def pack_struct_ifreq(if_name, argname, *args): argument 53 return struct.pack(IFNAMSIZ_FMT + STRUCT_IFREQ_FMT[argname], if_name, *args)
|
/external/kernel-headers/original/uapi/linux/ |
D | gsmmux.h | 32 char if_name[IFNAMSIZ]; /* interface name format string */ member
|
/external/webrtc/webrtc/p2p/client/ |
D | portallocator_unittest.cc | 115 void AddInterface(const SocketAddress& addr, const std::string& if_name) { in AddInterface() argument 116 network_manager_.AddInterface(addr, if_name); in AddInterface() 119 const std::string& if_name, in AddInterface() argument 121 network_manager_.AddInterface(addr, if_name, type); in AddInterface() 508 std::string if_name("test_net0"); in TEST_F() local 509 AddInterface(kClientAddr, if_name); in TEST_F() 526 AddInterface(kClientAddr, if_name); in TEST_F() 536 std::string if_name("test_net0"); in TEST_F() local 537 AddInterface(kClientAddr, if_name); in TEST_F() 553 AddInterface(kClientAddr, if_name); in TEST_F()
|
/external/autotest/server/site_tests/buffet_PrivetSetupFlow/ |
D | buffet_PrivetSetupFlow.py | 89 ap_interface = interface.Interface(devs[0].if_name, host=host) 160 managed_interface = interface.Interface(devs[0].if_name,
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | socket_ops.ipp | 1367 char if_name[IF_NAMESIZE + 1] = "%"; 1374 || if_indextoname(static_cast<unsigned>(scope_id), if_name + 1) == 0) 1375 sprintf(if_name + 1, "%lu", scope_id); 1376 strcat(dest, if_name); 1390 const char* if_name = is_v6 ? strchr(src, '%') : 0; 1393 if (if_name != 0) 1395 if (if_name - src > max_addr_v6_str_len) 1400 memcpy(src_buf, src, if_name - src); 1401 src_buf[if_name - src] = 0; 1412 if (if_name != 0) [all …]
|
/external/autotest/server/site_tests/brillo_WifiInterfaceTest/ |
D | brillo_WifiInterfaceTest.py | 59 iw_ifaces = [iface_tuple.if_name
|
/external/ppp/pppd/ |
D | sys-solaris.c | 470 get_if_hwaddr(u_char *addr, char *if_name) in get_if_hwaddr() argument 475 if (if_name == NULL) in get_if_hwaddr() 481 if (!get_hw_addr_dlpi(if_name, &s_eth_addr)) { in get_if_hwaddr() 482 error("could not obtain hardware address for %s", if_name); in get_if_hwaddr() 538 char *if_name; in ether_to_eui64() local 540 if ((if_name = get_first_ethernet()) == NULL) { in ether_to_eui64() 548 if (!get_hw_addr_dlpi(if_name, &s_eth_addr)) { in ether_to_eui64() 549 error("could not obtain hardware address for %s", if_name); in ether_to_eui64()
|
/external/mdnsresponder/Clients/ |
D | dns-sd.c | 802 char if_name[IFNAMSIZ]; // Older Linux distributions don't define IF_NAMESIZE in addrinfo_reply() local 805 if (!if_indextoname(s6->sin6_scope_id, if_name)) in addrinfo_reply() 806 snprintf(if_name, sizeof(if_name), "<%d>", s6->sin6_scope_id); in addrinfo_reply() 809 b[0x8], b[0x9], b[0xA], b[0xB], b[0xC], b[0xD], b[0xE], b[0xF], if_name); in addrinfo_reply()
|
/external/autotest/server/cros/network/ |
D | connection_worker.py | 60 iw.remove_interface(devs[i].if_name)
|
D | wifi_client.py | 345 if dev.if_name not in self.WIFI_IF_BLACKLIST] 353 self._wifi_if = devs[0].if_name
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.h | 127 char if_name[IFNAMSIZ]; member
|
/external/mdnsresponder/mDNSPosix/ |
D | NetMonitor.c | 482 char if_name[IFNAMSIZ]; // Older Linux distributions don't define IF_NAMESIZE in DisplayPacketHeader() local 483 if_indextoname(index, if_name); in DisplayPacketHeader() 486 …d:%02d:%02d.%06d Interface %d/%s\n", tm.tm_hour, tm.tm_min, tm.tm_sec, tv.tv_usec, index, if_name); in DisplayPacketHeader()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 284 for (p = p0; p && p->if_index && p->if_name; p++) { in if_maxindex()
|