/external/autotest/server/cros/network/ |
D | ip_config_context_manager.py | 29 def add_ip_route(self, host, dest_ip, iface_name, via_ip=None): argument 41 dest_ip, via, iface_name) 47 (dest_ip, via, iface_name)) 49 def assign_ip_addr_to_iface(self, host, ip_addr, iface_name): argument 58 clear_command = 'sudo ip addr del %s/24 dev %s' % (ip_addr, iface_name) 63 host.run('sudo ip addr replace %s/24 dev %s' % (ip_addr, iface_name))
|
/external/wpa_supplicant_8/hostapd/aidl/ |
D | hostapd.h | 49 ::ndk::ScopedAStatus removeAccessPoint(const std::string& iface_name) override; 54 const std::string& iface_name, 72 ::ndk::ScopedAStatus removeAccessPointInternal(const std::string& iface_name); 76 const std::string& iface_name,
|
D | hostapd.cpp | 853 ::ndk::ScopedAStatus Hostapd::removeAccessPoint(const std::string& iface_name) in removeAccessPoint() argument 855 return removeAccessPointInternal(iface_name); in removeAccessPoint() 875 const std::string& iface_name, const std::vector<uint8_t>& client_address, in forceClientDisconnect() argument 878 return forceClientDisconnectInternal(iface_name, client_address, reason_code); in forceClientDisconnect() 1090 ::ndk::ScopedAStatus Hostapd::removeAccessPointInternal(const std::string& iface_name) in removeAccessPointInternal() argument 1096 const auto it = br_interfaces_.find(iface_name); in removeAccessPointInternal() 1100 br_interfaces_.erase(iface_name); in removeAccessPointInternal() 1103 interfaces.push_back(iface_name); in removeAccessPointInternal() 1136 ::ndk::ScopedAStatus Hostapd::forceClientDisconnectInternal(const std::string& iface_name, in forceClientDisconnectInternal() argument 1139 struct hostapd_data *hapd = hostapd_get_iface(interfaces_, iface_name.c_str()); in forceClientDisconnectInternal() [all …]
|
/external/toybox/toys/net/ |
D | ifconfig.c | 196 char iface_name[IFNAMSIZ]; in display_ifconfig() local 204 ipv6_addr, &plen, &iscope, iface_name); in display_ifconfig() 208 if (!strcmp(name, iface_name)) { in display_ifconfig() 300 static void show_iface(char *iface_name) in show_iface() argument 323 if (iface_name) { in show_iface() 324 if (!strcmp(iface_name, name)) { in show_iface() 325 display_ifconfig(iface_name, 1, val); in show_iface() 340 if (iface_name) display_ifconfig(iface_name, 1, 0); in show_iface()
|
/external/openthread/tools/harness-simulation/harness/Thread_Harness/Sniffer/ |
D | SimSniffer.py | 93 def _find_index(self, iface_name): argument 97 _required_iface_index = absolute_iface_name.index(iface_name) 104 self.log('Interface %s not found', iface_name)
|
/external/dnsmasq/src/ |
D | rfc2131.c | 117 size_t dhcp_reply(struct dhcp_context* context, char* iface_name, int int_index, size_t sz, in dhcp_reply() argument 149 iface_id.net = iface_name; in dhcp_reply() 444 log_packet("BOOTP", logaddr, mess->chaddr, mess->hlen, iface_name, message, mess->xid); in dhcp_reply() 686 log_packet("PXE", &mess->yiaddr, emac, emac_len, iface_name, (char*) mess->file, in dhcp_reply() 724 log_packet("PXE", NULL, emac, emac_len, iface_name, in dhcp_reply() 751 log_packet("DHCPDECLINE", option_ptr(opt, 0), emac, emac_len, iface_name, in dhcp_reply() 779 … log_packet("DHCPRELEASE", &mess->ciaddr, emac, emac_len, iface_name, message, mess->xid); in dhcp_reply() 842 log_packet("DHCPDISCOVER", opt ? option_ptr(opt, 0) : NULL, emac, emac_len, iface_name, in dhcp_reply() 847 log_packet("DHCPOFFER", &mess->yiaddr, emac, emac_len, iface_name, NULL, mess->xid); in dhcp_reply() 931 log_packet("DHCPREQUEST", &mess->yiaddr, emac, emac_len, iface_name, NULL, mess->xid); in dhcp_reply() [all …]
|
D | dnsmasq.h | 791 size_t dhcp_reply(struct dhcp_context* context, char* iface_name, int int_index, size_t sz,
|
/external/scapy/scapy/arch/ |
D | linux.py | 176 def get_alias_address(iface_name, ip_mask, gw_str, metric): argument 201 if not ifname.decode("utf8").startswith(iface_name):
|
/external/scapy/scapy/arch/windows/ |
D | __init__.py | 731 for iface_name in sorted(self.data): 732 dev = self.data[iface_name]
|