/external/autotest/client/cros/netprotos/ |
fake_host.py | 12 def __init__(self, ip_addr): 13 self.ip_addr = ip_addr 45 def listen(self, ip_addr, port, recv_callback): 46 """Bind and listen on the ip_addr:port. 51 @param ip_addr: Local destination ip_addr. 58 self._bind_ip_addr = ip_addr
|
interface_host.py | 18 def ip_addr(self): member in class:InterfaceHost 49 self._socket = InterfaceDatagramSocket(self.ip_addr) 102 def listen(self, ip_addr, port, recv_callback): 103 """Bind and listen on the ip_addr:port. 105 @param ip_addr: Multicast group IP (e.g. '224.0.0.251') 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): 158 @param ip_addr: string like '239.192.1.100' [all...] |
zeroconf.py | 86 self.register_A(self.full_hostname, host.ip_addr) 276 def register_A(self, hostname, ip_addr): 282 @param ip_addr: The IPv4 address of the host, for example, "192.0.1.1". 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/route53/ |
healthcheck.py | 67 XMLIpAddrPart = """<IPAddress>%(ip_addr)s</IPAddress>""" 77 def __init__(self, ip_addr, port, hc_type, resource_path, fqdn=None, string_match=None, request_interval=30, failure_threshold=3): 81 :type ip_addr: str 82 :param ip_addr: Optional IP Address 106 self.ip_addr = ip_addr 140 if self.ip_addr: 141 params['ip_addr_part'] = self.XMLIpAddrPart % {'ip_addr': self.ip_addr}
|
/external/autotest/client/deps/lansim/src/py/ |
host.py | 29 def __init__(self, sim, hw_addr, ip_addr): 34 @param ip_addr: The IPv4 address. For example: "10.0.0.1". 38 self._ip_addr = ip_addr 40 self._bin_ip_addr = socket.inet_aton(ip_addr) 61 def ip_addr(self): member in class:SimpleHost 78 self.add_arp(hw_addr=pkt.arp.sha, ip_addr=pkt.arp.spa) 95 def add_arp(self, hw_addr, ip_addr): 96 """Maps the ip_addr to a given hw_addr. 102 @param ip_addr: The network encoded IPv4 address. 104 self._arp_cache[ip_addr] = hw_add [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/route53/ |
test_health_check.py | 32 hc = HealthCheck(ip_addr="54.217.7.118", port=80, hc_type="HTTP", resource_path="/testing") 43 hc = HealthCheck(ip_addr="54.217.7.118", port=443, hc_type="HTTPS", resource_path="/testing") 55 hc = HealthCheck(ip_addr=None, port=443, hc_type="HTTPS", resource_path="/", fqdn="google.com") 67 hc = HealthCheck(ip_addr="54.217.7.118", port=80, hc_type="HTTP", resource_path="/testing") 69 hc = HealthCheck(ip_addr="54.217.7.119", port=80, hc_type="HTTP", resource_path="/testing") 77 hc = HealthCheck(ip_addr="54.217.7.118", port=80, hc_type="HTTP", resource_path="/testing") 93 hc = HealthCheck(ip_addr="54.217.7.118", port=80, hc_type="HTTP_STR_MATCH", resource_path="/testing", string_match="test") 105 hc = HealthCheck(ip_addr="54.217.7.118", port=80, hc_type="HTTPS_STR_MATCH", resource_path="/testing", string_match="test") 117 hc = HealthCheck(ip_addr="54.217.7.118", port=80, hc_type="HTTP", resource_path="/testing") 169 'ip_addr': "54.217.7.118" [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_i.h | 130 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member in struct:upnp_wps_device_sm 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);
|
wps_er.h | 82 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member in struct:wps_er
|
wps_upnp_ssdp.c | 858 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname) 893 &ip_addr, sizeof(ip_addr))) { 895 "%d (%s)", ip_addr, errno, strerror(errno)); 911 mreq.imr_interface.s_addr = ip_addr; 944 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL);
|
wps_er_ssdp.c | 167 er->multicast_sd = ssdp_open_multicast_sock(er->ip_addr,
|
/external/wpa_supplicant_8/src/utils/ |
Makefile | 20 ip_addr.o \
|
/external/ppp/pppd/plugins/radius/ |
config.c | 404 * Purpose: see if ip_addr is one of the ip addresses of hostname 410 static int find_match (UINT4 *ip_addr, char *hostname) 418 if (*ip_addr == ntohl(inet_addr (hostname))) 432 if (ntohl(addr) == *ip_addr) 450 int rc_find_server (char *server_name, UINT4 *ip_addr, char *secret) 463 if ((*ip_addr = rc_get_ipaddr (server_name)) == (UINT4) 0) 506 if (find_match (ip_addr, hostnm) == 0) 518 if (find_match (ip_addr, host2) == 0) 526 if (find_match (ip_addr, hostnm) == 0)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/ |
bootparam_prot.x | 68 ip_addr_t ip_addr;
|
bootparam_prot.h | 42 ip_addr_t ip_addr; member in union:bp_address::__anon37969
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
bootparam_prot.x | 68 ip_addr_t ip_addr;
|
bootparam_prot.h | 42 ip_addr_t ip_addr; member in union:bp_address::__anon39959
|
/external/autotest/client/cros/cellular/ |
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,
|
/system/connectivity/shill/wifi/ |
wake_on_wifi.cc | 207 bool WakeOnWiFi::CreateIPAddressPatternAndMask(const IPAddress& ip_addr, 210 if (ip_addr.family() == IPAddress::kFamilyIPv4) { 211 WakeOnWiFi::CreateIPV4PatternAndMask(ip_addr, pattern, mask); 213 } else if (ip_addr.family() == IPAddress::kFamilyIPv6) { 214 WakeOnWiFi::CreateIPV6PatternAndMask(ip_addr, pattern, mask); 223 void WakeOnWiFi::CreateIPV4PatternAndMask(const IPAddress& ip_addr, 231 CHECK_EQ(sizeof(pattern_bytes.ipv4_hdr.saddr), ip_addr.GetLength()); 232 memcpy(&pattern_bytes.ipv4_hdr.saddr, ip_addr.GetConstData(), 233 ip_addr.GetLength()); 237 int pattern_len = src_ip_offset + ip_addr.GetLength() [all...] |
wake_on_wifi.h | 372 // wake on packets originating from IP address |ip_addr|. The pattern and mask 376 static bool CreateIPAddressPatternAndMask(const IPAddress& ip_addr, 379 static void CreateIPV4PatternAndMask(const IPAddress& ip_addr, 381 static void CreateIPV6PatternAndMask(const IPAddress& ip_addr, 418 static bool CreateSinglePattern(const IPAddress& ip_addr,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
networkinterface.py | 294 for k, ip_addr in enumerate(spec.private_ip_addresses): 298 str(ip_addr.private_ip_address) 299 if ip_addr.primary is not None: 301 'true' if ip_addr.primary else 'false'
|
/external/autotest/client/tests/netperf2/ |
netperf2.py | 115 def configure_interface(self, dev, ip_addr): 118 if self.netif.get_ipaddr() != ip_addr: 119 self.netif.set_ipaddr(ip_addr)
|
/system/bt/stack/pan/ |
pan_int.h | 63 UINT32 ip_addr; member in struct:__anon72841
|
/system/extras/tests/net_test/ |
tcp_nuke_addr_test.py | 76 def ExchangeMessage(addr_family, ip_addr): 81 ip_addr: The IP address (IPv4 or IPv6 depending on the addr_family). 85 test_addr = (ip_addr, 0)
|
/bionic/libc/kernel/uapi/linux/ |
hyperv.h | 165 __u16 ip_addr[MAX_IP_ADDR_SIZE]; member in struct:hv_kvp_ipaddr_value
|
/external/kernel-headers/original/uapi/linux/ |
hyperv.h | 330 __u16 ip_addr[MAX_IP_ADDR_SIZE]; member in struct:hv_kvp_ipaddr_value
|