Home
last modified time | relevance | path

Searched refs:iface_name (Results 1 – 14 of 14) sorted by relevance

/external/autotest/client/site_tests/network_NegotiatedLANSpeed/
Dnetwork_NegotiatedLANSpeed.py9 def run_once(self, iface_name = 'eth0'): argument
11 if not self.iface_up(iface_name):
12 utils.system('ifconfig %s up' % iface_name)
13 if not self.iface_up(iface_name):
16 if not int(self.get_speed(iface_name)) >= 1000:
Dcontrol14 job.run_test('network_NegotiatedLANSpeed', iface_name = 'eth0', tag = 'eth0')
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
Dplatformsettings.py694 def _netsh_set_dns(self, iface_name, addr): argument
697 iface_name, 'static', addr)
699 def _netsh_set_dns_dhcp(self, iface_name): argument
702 iface_name, 'dhcp')
709 iface_name = None
716 iface_name = iface_match.group('name')
725 if iface_name and iface_dns and iface_kind:
726 ifaces.append((iface_dns, iface_name, iface_kind))
727 iface_name = None
739 (iface_dns, iface_name, iface_kind) = iface
[all …]
/external/toybox/toys/other/
Difconfig.c168 char iface_name[IFNAMSIZ]; in display_ifconfig() local
176 ipv6_addr, &plen, &iscope, iface_name); in display_ifconfig()
180 if (!strcmp(name, iface_name)) { in display_ifconfig()
266 static void show_iface(char *iface_name) in show_iface() argument
289 if (iface_name) { in show_iface()
290 if (!strcmp(iface_name, name)) { in show_iface()
291 display_ifconfig(iface_name, 1, val); in show_iface()
306 if (iface_name) display_ifconfig(iface_name, 1, 0); in show_iface()
/external/autotest/client/site_tests/suite_HWConfig/
Dcontrol47 iface_name='wlan0', tag='wlan0') # WiFi
49 iface_name='eth0', tag='eth0') # Ethernet
51 iface_name='hci0', tag='hci0') # Bluetooth
/external/dhcpcd-6.8.2/dbus/
Drpc-dbus.c511 const char *iface_name; in msg_handler() local
513 DBUS_TYPE_STRING, &iface_name, in msg_handler()
519 dhcpcd_start_interface(dhcpcd_ctx, iface_name); in msg_handler()
522 const char *iface_name; in msg_handler() local
524 DBUS_TYPE_STRING, &iface_name, in msg_handler()
530 dhcpcd_release_ipv4(dhcpcd_ctx, iface_name); in msg_handler()
533 const char *iface_name; in msg_handler() local
535 DBUS_TYPE_STRING, &iface_name, in msg_handler()
541 dhcpcd_stop_interface(dhcpcd_ctx, iface_name); in msg_handler()
/external/autotest/client/site_tests/suite_HWQual/
Dcontrol.auto80 iface_name='wlan0', tag='wlan0') # WiFi
82 iface_name='eth0', tag='eth0') # Ethernet
84 iface_name='hci0', tag='hci0') # Bluetooth
/external/dnsmasq/src/
Drfc2131.c121 size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index, in dhcp_reply() argument
154 iface_id.net = iface_name; in dhcp_reply()
494 log_packet("BOOTP", logaddr, mess->chaddr, mess->hlen, iface_name, message, mess->xid); in dhcp_reply()
773 log_packet("PXE", &mess->yiaddr, emac, emac_len, iface_name, (char *)mess->file, mess->xid); in dhcp_reply()
814 …log_packet("PXE", NULL, emac, emac_len, iface_name, ignore ? "proxy" : "proxy-ignored", mess->xid); in dhcp_reply()
844 …log_packet("DHCPDECLINE", option_ptr(opt, 0), emac, emac_len, iface_name, daemon->dhcp_buff, mess-… in dhcp_reply()
876 log_packet("DHCPRELEASE", &mess->ciaddr, emac, emac_len, iface_name, message, mess->xid); in dhcp_reply()
940 …log_packet("DHCPDISCOVER", opt ? option_ptr(opt, 0) : NULL, emac, emac_len, iface_name, message, m… in dhcp_reply()
945 log_packet("DHCPOFFER" , &mess->yiaddr, emac, emac_len, iface_name, NULL, mess->xid); in dhcp_reply()
1048 log_packet("DHCPREQUEST", &mess->yiaddr, emac, emac_len, iface_name, NULL, mess->xid); in dhcp_reply()
[all …]
Ddnsmasq.h847 size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
/external/autotest/client/site_tests/network_ShillInitScripts/
Dcontrol20 job.run_test('network_ShillInitScripts', iface_name='all', tag='all')
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch195 -size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
196 +size_t dhcp_reply(int pipefd, struct dhcp_context *context, char *iface_name, int int_index,
457 -size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
458 +size_t dhcp_reply(int piperead, struct dhcp_context *context, char *iface_name, int int_index,
/external/webrtc/webrtc/base/
Dnetwork.cc644 char iface_name[256]; in IsDefaultRoute() local
648 iface_name, &iface_ip, &iface_gw, in IsDefaultRoute()
650 network_name == iface_name && in IsDefaultRoute()
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/
Dcontrol44 job.run_test('documentscan_AppTestWithFakeLorgnette', iface_name='all', tag='all')
/external/autotest/client/bin/net/
Dnet_utils.py464 def __init__(self, iface_name): argument
470 self._name = iface_name