/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/crosvm/tests/ |
D | plugin_net_config.c | 58 char ip_addr[INET_ADDRSTRLEN]; in main() local 59 inet_ntop(AF_INET, &net_config.host_ip, ip_addr, sizeof(ip_addr)); in main() 60 fprintf(stderr, "ip %s != 100.115.92.5\n", ip_addr); in main()
|
/external/ltp/testcases/network/tcp_cmds/arping/ |
D | arping01.sh | 15 local ip_addr=$(tst_ipaddr rhost) 18 tst_res TINFO "arping host '$ip_addr' via dev '$dev' with timeout '$timeout' secs" 19 EXPECT_PASS arping -w $timeout "$ip_addr" -I $dev -fq
|
/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()
|
/external/ltp/testcases/network/dhcp/ |
D | dhcp_lib.sh | 43 ip_addr="fd00:1:1:2::12/64" 47 ip_addr="10.1.1.12/24" 71 tst_res TINFO "add $ip_addr to $iface0" 72 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/crosvm/net_util/src/ |
D | lib.rs | 63 fn create_sockaddr(ip_addr: net::Ipv4Addr) -> net_sys::sockaddr { in create_sockaddr() 69 sin_addr: unsafe { mem::transmute(ip_addr.octets()) }, in create_sockaddr() 244 fn ip_addr(&self) -> Result<net::Ipv4Addr>; in ip_addr() method 247 fn set_ip_addr(&self, ip_addr: net::Ipv4Addr) -> Result<()>; in set_ip_addr() 324 fn ip_addr(&self) -> Result<net::Ipv4Addr> { in ip_addr() method 342 fn set_ip_addr(&self, ip_addr: net::Ipv4Addr) -> Result<()> { in set_ip_addr() 344 let addr = create_sockaddr(ip_addr); in set_ip_addr() 559 fn ip_addr(&self) -> Result<net::Ipv4Addr> { in ip_addr() method 661 let ip_addr: net::Ipv4Addr = "100.115.92.5".parse().unwrap(); in tap_configure() localVariable 665 let ret = tap.set_ip_addr(ip_addr); in tap_configure()
|
/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 161 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, 173 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 | 310 (sm->ip_addr & sm->netmask.s_addr); in local_network_addr() 918 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, in get_netif_info() argument 941 *ip_addr = addr->sin_addr.s_addr; in get_netif_info() 942 in_addr.s_addr = *ip_addr; in get_netif_info() 1063 if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text, in upnp_wps_device_start()
|
/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/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 33 int r = memcmp(ip_addr, other.ip_addr, ip_size); in operator ==() 130 memcpy(cur.ip_addr, address.data, address.size); in ParseServerList()
|
D | load_balancer_api.h | 42 char ip_addr[GRPC_GRPCLB_SERVER_IP_ADDRESS_MAX_SIZE]; member
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_dns_cache_test.cc | 29 const string& ip_addr) override { in AddResolveOverride() argument 36 std::map<string, string>::value_type(hostname, ip_addr)); in AddResolveOverride()
|
D | http_request.h | 112 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/python/cpython3/Lib/ |
D | uuid.py | 527 ip_addr = socket.gethostbyname(socket.gethostname()) 532 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode(ip_addr)], lambda i: -1) 537 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode(ip_addr)], lambda i: i+1) 542 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode('(%s)' % 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/wpa_supplicant_8/src/utils/ |
D | Makefile | 11 ip_addr.o \
|
/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/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | vxlan_symmetric.sh | 118 local ip_addr=$1; shift 126 ip address add $ip_addr/24 dev $if_name 137 local ip_addr=$1; shift 142 ip address del $ip_addr/24 dev $if_name
|
D | vxlan_asymmetric.sh | 108 local ip_addr=$1; shift 116 ip address add $ip_addr/24 dev $if_name 127 local ip_addr=$1; shift 132 ip address del $ip_addr/24 dev $if_name
|