Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 30) sorted by relevance

12

/openthread-latest/tests/scripts/thread-cert/
Dtest_pbbr_aloc.py103 for ip in node.get_addrs():
104 if not re.match(MESH_LOCAL_PREFIX_REGEX_PATTERN, ip):
107 if ip == mleid:
110 self.assertIsNotNone(re.match(ROUTING_LOCATOR_REGEX_PATTERN, ip), ip)
111 locator = int(ip.split(':')[-1], 16)
113 yield ip
Dv1_2_test_multicast_listener_registration.py350 for ip in ["ff04::1", "ff04::2"]:
351 status, failed_ips = commissioiner.register_multicast_listener(ip)
353 self.__check_multicast_listener(ip, expect_mlr_timeout_range=[290, 300])
356 for ip in ["ff04::1", "ff04::2"]:
357 status, failed_ips = commissioiner.register_multicast_listener(ip, timeout=1000)
359 self.__check_multicast_listener(ip, expect_mlr_timeout_range=[990, 1000])
362 for ip, timeout in [("ff05::1", 400), ("ff05::2", 500), ("ff05::3", 600)]:
363 status, failed_ips = commissioiner.register_multicast_listener(ip, timeout=timeout)
365 self.__check_multicast_listener(ip, expect_mlr_timeout_range=[timeout - 10, timeout])
371 for ip in ips:
[all …]
Dtest_dnssd.py114 self.assertEqual(set(ipaddress.IPv6Address(ip) for ip, _ in answers),
118 self.assertEqual(set(ipaddress.IPv6Address(ip) for ip, _ in answers),
Dsimulator.py157 ip = '127.0.0.1'
159 self.sock.bind((ip, self.port))
173 self._spinel_cli_addr = (ip, self.BASE_PORT + self.port)
Dnode.py1633 ip = IPv6Address(line[0])
1635 assert ip not in table
1637 table[ip] = timeout
1646 def multicast_listener_add(self, ip: Union[IPv6Address, str], timeout: int = 0):
1647 if not isinstance(ip, IPv6Address):
1648 ip = IPv6Address(ip)
3459 ip = [item.strip() for item in addrs[::2]]
3462 return list(zip(ip, ttl))
3829 def add_ipmaddr_ether(self, ip: str):
4133 def add_ipmaddr_tun(self, ip: str):
/openthread-latest/script/
Dcheck-simulation-local-host38 sudo ip link set dev "$IFACE_NAME" down
39 sudo ip link del dev "$IFACE_NAME"
44 ip -V >/dev/null 2>&1 || {
49 ip link show "$IFACE_NAME" >/dev/null 2>&1 || sudo ip link add "$IFACE_NAME" type dummy
51 sudo ip link set dev "$IFACE_NAME" up
Dcheck-posix-pty234 NETIF_INDEX=$(ip link show "${NETIF_NAME}" | cut -f 1 -d ":" | head -n 1)
/openthread-latest/src/cli/
DREADME_UDP.md42 - [bind](#bind-netif-ip-port)
44 - [connect](#connect-ip-port)
47 - [send](#send-ip-port-message)
66 ### bind [netif] \<ip\> \<port\>
74 - ip: the unicast IPv6 address or the unspecified IPv6 address (`::`).
86 …unspecified IPv6 address must be used. Using a multicast address for the \<ip\> argument is not su…
97 ### connect \<ip\> \<port\>
101 - ip: the peer's IP address.
156 ### send \<ip\> \<port\> \<message\>
160 - ip: the destination address.
[all …]
DREADME_TCP.md60 - [bind](#bind-ip-port)
61 - [connect](#connect-ip-port-fastopen)
66 - [listen](#listen-ip-port)
109 ### bind \<ip\> \<port\>
113 - ip: the IPv6 address or the unspecified IPv6 address (`::`).
121 ### connect \<ip\> \<port\> [\<fastopen\>]
127 - ip: the peer's IP address.
192 ### listen \<ip\> \<port\>
198 - ip: the IPv6 address or the unspecified IPv6 address (`::`).
/openthread-latest/tools/harness-simulation/harness/Thread_Harness/THCI/
DOpenThread_Sim.py52 def __init__(self, ip, port, username, password, device, node_id): argument
53 self.ip = ip
75 self.log('Connecting to %s:%s with username=%s', self.ip, self.port, self.username)
76 … self.__handle.connect(self.ip, port=self.port, username=self.username, password=self.password)
126 print('%d@%s - %s - %s' % (self.node_id, self.ip, time.strftime('%b %d %H:%M:%S'), msg))
DOpenThread_BR_Sim.py56 def __init__(self, ip, port, username, password, docker_name): argument
57 self.ip = ip
72 … self.__handle.connect(self.ip, port=self.port, username=self.username, password=self.password)
/openthread-latest/tools/harness-automation/autothreadharness/
Dpdu_controller.py90 self.tn = telnetlib.Telnet(self.ip, self.port)
108 self.ip = params['ip']
213 self.ip = self.params['ip']
218 self._udp_transport_target = UdpTransportTarget((self.ip, self.snmp_agent_port))
342 logger.debug('Turned OFF socket {} at {}'.format(socket, self.ip))
344 logger.error('Failed to turn OFF socket {} at {}'.format(socket, self.ip))
365 logger.debug('Turned ON socket {} at {}'.format(socket, self.ip))
367 logger.error('Failed to turn ON socket {} at {}'.format(socket, self.ip))
/openthread-latest/third_party/mbedtls/repo/library/
Dx509.c1639 unsigned char *ip = san.san.unstructured_name.p; in mbedtls_x509_info_subject_alt_name() local
1642 ret = mbedtls_snprintf(p, n, "%u.%u.%u.%u", ip[0], ip[1], ip[2], ip[3]); in mbedtls_x509_info_subject_alt_name()
1647 ip[0], ip[1], ip[2], ip[3], ip[4], ip[5], ip[6], in mbedtls_x509_info_subject_alt_name()
1648 ip[7], ip[8], ip[9], ip[10], ip[11], ip[12], ip[13], in mbedtls_x509_info_subject_alt_name()
1649 ip[14], ip[15]); in mbedtls_x509_info_subject_alt_name()
/openthread-latest/tools/otci/otci/
Dotci.py242 ip: Union[str, Ip6Addr],
821 ip, port = matched.groups()
822 config['server'] = (Ip6Addr(ip), int(port))
901 'address': ip,
903 } for ip, ttl in zip(ips, ttls)]
1110 'addresses': [Ip6Addr(ip) for ip in addrs.split(', ')] if addrs else [],
1205 ip, port = matched.groups()
1206 return Ip6Addr(ip), int(port)
1276 rloc16, ip = line.split(': ')
1278 ipaddrs.setdefault(rloc16, []).append(Ip6Addr(ip.strip()))
[all …]
/openthread-latest/third_party/mbedtls/repo/programs/x509/
Dcert_req.c155 uint8_t ip[4] = { 0 }; in main() local
267 ip_addr_len = mbedtls_x509_crt_parse_cn_inet_pton(subtype_value, ip); in main()
273 cur->node.san.unstructured_name.p = (unsigned char *) ip; in main()
274 cur->node.san.unstructured_name.len = sizeof(ip); in main()
Dcert_write.c316 uint8_t ip[4] = { 0 }; in main() local
588 ip_addr_len = mbedtls_x509_crt_parse_cn_inet_pton(subtype_value, ip); in main()
594 cur->node.san.unstructured_name.p = (unsigned char *) ip; in main()
595 cur->node.san.unstructured_name.len = sizeof(ip); in main()
/openthread-latest/third_party/mbedtls/repo/tests/data_files/parse_input/
Dserver9.req.sha14 ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
Dserver9.req.sha2564 ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
Dserver9.req.sha3844 ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
Dserver9.req.sha2244 ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
Dserver9.req.sha5124 ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
/openthread-latest/tools/harness-simulation/harness/Thread_Harness/Sniffer/
DSimSniffer.py208 ip = netifaces.ifaddresses(_required_guid)[netifaces.AF_INET6][-1]['addr']
209 self.log('Local IP: %s', ip)
210 return int(ip.split('%')[1])
/openthread-latest/tools/harness-thci/
DOpenThread_BR.py66 def __init__(self, ip, port, username, password): argument
67 self.ip = ip
83 … self.__handle.connect(self.ip, port=self.port, username=self.username, password=self.password)
/openthread-latest/tests/toranj/
Dstart.sh47 sudo ip link delete "$interface" >/dev/null 2>&1
258 run ncp/test-032-child-attach-with-multiple-ip-addresses.py
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_aes.function183 unsigned char *ip = input, *op = output_b;
188 TEST_EQUAL(mbedtls_aes_crypt_ctr(&ctx, l, &nc_off_b, ctr_b, stream_block_b, ip, op), 0);
189 ip += l;

12