/external/autotest/client/deps/lansim/src/py/ |
D | host.py | 29 def __init__(self, sim, hw_addr, ip_addr): argument 38 self._ip_addr = ip_addr 40 self._bin_ip_addr = socket.inet_aton(ip_addr) 61 def ip_addr(self): member in SimpleHost 78 self.add_arp(hw_addr=pkt.arp.sha, ip_addr=pkt.arp.spa) 95 def add_arp(self, hw_addr, ip_addr): argument 104 self._arp_cache[ip_addr] = hw_addr 107 def _resolve_mac_address(self, ip_addr): argument 126 int_ip_addr, = struct.unpack('!I', ip_addr) 130 if ip_addr in self._arp_cache: [all …]
|
/external/autotest/client/cros/netprotos/ |
D | interface_host.py | 18 def ip_addr(self): member in InterfaceHost 49 self._socket = InterfaceDatagramSocket(self.ip_addr) 102 def listen(self, ip_addr, port, recv_callback): argument 116 ip_addr_prefix = ord(socket.inet_aton(ip_addr)[0]) 125 socket.inet_aton(ip_addr) + 128 self._recv_sock.bind((ip_addr, port)) 154 def send(self, data, ip_addr, port): argument 162 self._send_sock.sendto(data, (ip_addr, port))
|
D | fake_host.py | 12 def __init__(self, ip_addr): argument 13 self.ip_addr = ip_addr 45 def listen(self, ip_addr, port, recv_callback): argument 58 self._bind_ip_addr = ip_addr
|
D | zeroconf.py | 86 self.register_A(self.full_hostname, host.ip_addr) 276 def register_A(self, hostname, ip_addr): argument 286 self._a_records[hostname].append(socket.inet_aton(ip_addr)) 299 for ip_addr in self._a_records[q.name]: 305 ip = ip_addr))
|
/external/ppp/pppd/plugins/radius/ |
D | config.c | 410 static int find_match (UINT4 *ip_addr, char *hostname) in find_match() argument 418 if (*ip_addr == ntohl(inet_addr (hostname))) in find_match() 432 if (ntohl(addr) == *ip_addr) in find_match() 450 int rc_find_server (char *server_name, UINT4 *ip_addr, char *secret) in rc_find_server() argument 463 if ((*ip_addr = rc_get_ipaddr (server_name)) == (UINT4) 0) in rc_find_server() 506 if (find_match (ip_addr, hostnm) == 0) in rc_find_server() 518 if (find_match (ip_addr, host2) == 0) in rc_find_server() 526 if (find_match (ip_addr, hostnm) == 0) in rc_find_server()
|
D | radius.c | 116 u_int32_t ip_addr; member 226 *addrp = rstate.ip_addr; in radius_choose_ip() 641 rstate.ip_addr = remote; in radius_setparams() 1342 if (addr == rstate.ip_addr) return 1; in radius_allowed_address()
|
/external/ltp/testcases/network/tcp_cmds/arping/ |
D | arping01.sh | 28 ip_addr=$(tst_ipaddr rhost) 31 tst_resm TINFO "arping host '$RHOST' with ip '$ip_addr' dev '$dev'" 34 arping -w $timeout "$ip_addr" -I $dev -fq
|
/external/ltp/testcases/network/dhcp/ |
D | dhcp_lib.sh | 42 ip_addr="fd00:1:1:2::12/64" 45 ip_addr="10.1.1.12/24" 67 tst_res TINFO "add $ip_addr to $iface0" 68 ip addr add $ip_addr dev $iface0 || \
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 70 unsigned char ip_addr[4]; member 76 struct in6_addr ip_addr; member 309 memcpy(gateway_p->ip_addr, rcvarp_p->ar_tip, 4); /* IP address */ in return_arp_reply() 312 memcpy(new_nexthop, gateway_p->ip_addr, 4); in return_arp_reply() 337 memcpy(sndarp_p->ar_sip, gateway_p->ip_addr, 4); in return_arp_reply() 414 memcpy((unsigned char *)&sndip_p->hdr.saddr, gw_p->ip_addr, 4); in return_icmp4_redirect() 499 gateway_p->ip_addr = rcvns_p->defs.nd_ns_target; /* IP address */ in return_neigh_adv() 532 sndip6_p->hdr.ip6_src = gateway_p->ip_addr; in return_neigh_adv() 539 sndna_p->defs.nd_na_target = gateway_p->ip_addr; in return_neigh_adv() 634 sndip6_p->hdr.ip6_src = gw_p->ip_addr; in return_icmp6_redirect()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_i.h | 130 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member 160 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, 172 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname);
|
D | wps_upnp_ssdp.c | 852 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname) in ssdp_open_multicast_sock() argument 887 &ip_addr, sizeof(ip_addr))) { in ssdp_open_multicast_sock() 889 "%d (%s)", ip_addr, errno, strerror(errno)); in ssdp_open_multicast_sock() 905 mreq.imr_interface.s_addr = ip_addr; in ssdp_open_multicast_sock() 938 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL); in ssdp_open_multicast()
|
D | wps_upnp.c | 895 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, in get_netif_info() argument 918 *ip_addr = addr->sin_addr.s_addr; in get_netif_info() 919 in_addr.s_addr = *ip_addr; in get_netif_info() 1027 if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text, in upnp_wps_device_start()
|
D | wps_er.h | 82 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member
|
/external/u-boot/net/ |
D | dns.c | 111 struct in_addr ip_addr; in dns_handler() local 181 memcpy(&ip_addr, p, 4); in dns_handler() 184 ip_to_string(ip_addr, ip_str); in dns_handler()
|
/external/autotest/client/cros/cellular/ |
D | prologix_scpi_driver_test_noautorun.py | 170 ip_addr = instr['ip'] 173 log.debug("trying %s at %s" % (name_part, ip_addr)) 175 hostname=ip_addr,
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_dns_cache_test.cc | 28 const string& ip_addr) override { in AddResolveOverride() argument 35 std::map<string, string>::value_type(hostname, ip_addr)); in AddResolveOverride()
|
D | http_request.h | 111 const string& ip_addr) = 0;
|
/external/python/cpython2/Lib/ |
D | uuid.py | 352 ip_addr = socket.gethostbyname(socket.gethostname()) 357 mac = _find_mac('arp', '-an', [ip_addr], lambda i: -1) 362 mac = _find_mac('arp', '-an', [ip_addr], lambda i: i+1) 367 mac = _find_mac('arp', '-an', ['(%s)' % ip_addr],
|
/external/autotest/client/tests/netperf2/ |
D | netperf2.py | 115 def configure_interface(self, dev, ip_addr): argument 118 if self.netif.get_ipaddr() != ip_addr: 119 self.netif.set_ipaddr(ip_addr)
|
/external/autotest/server/site_tests/enterprise_CFM_Test/ |
D | enterprise_CFM_Test.py | 127 errmsg = 'Reboot test fails for %s' % self.ip_addr 744 self.ip_addr = cfm_helper.get_mgmt_ipv4(self.client) 746 self.ip_addr) 823 ' %d, Test: %d', self.ip_addr, loop_no, test_no) 885 self.ip_addr, loop_no) 910 logging.info('\n%s:Test_failure:%s:%s', self.ip_addr, 941 self.ip_addr, verification, veri_msg)
|
/external/python/cpython3/Lib/ |
D | uuid.py | 430 ip_addr = socket.gethostbyname(socket.gethostname()) 435 mac = _find_mac('arp', '-an', [os.fsencode(ip_addr)], lambda i: -1) 440 mac = _find_mac('arp', '-an', [os.fsencode(ip_addr)], lambda i: i+1) 445 mac = _find_mac('arp', '-an', [os.fsencode('(%s)' % ip_addr)],
|
/external/wpa_supplicant_8/src/utils/ |
D | Makefile | 21 ip_addr.o \
|
/external/autotest/client/bin/net/ |
D | net_utils_unittest.py | 750 ip_addr = '110.211.112.213' 762 out = out_format % ip_addr 766 self.assertEquals(mock_netif.get_ipaddr(), ip_addr) 779 ip_addr = '1.2.3.4' 780 out = out_format % ip_addr 783 self.assertEquals(mock_netif.get_ipaddr(), ip_addr) 789 ip_addr = '1.2.3.4' 790 cmd = 'ifconfig %s %s' % (mock_netif._name, ip_addr) 792 mock_netif.set_ipaddr(ip_addr)
|
/external/walt/docs/ |
D | Development.md | 39 1. On your workstation, run `ssh root@ip_addr` to verify that Chromebook is accessible 40 1. Run `adb connect ip_addr:22`. From this point on Android studio and adb on your workstation shou…
|
/external/wpa_supplicant_8/src/ap/ |
D | sta_info.c | 1245 char ip_addr[100]; in ap_sta_set_authorized() local 1248 ip_addr[0] = '\0'; in ap_sta_set_authorized() 1251 os_snprintf(ip_addr, sizeof(ip_addr), in ap_sta_set_authorized() 1265 buf, ip_addr, keyid_buf); in ap_sta_set_authorized() 1271 buf, ip_addr, keyid_buf); in ap_sta_set_authorized()
|