Home
last modified time | relevance | path

Searched refs:is_in_same_subnet (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/common_lib/
Dutils_unittest.py1016 self.assertTrue(utils.is_in_same_subnet('192.168.0.0', '192.168.1.2',
1018 self.assertFalse(utils.is_in_same_subnet('192.168.0.0', '192.168.1.2',
1020 self.assertTrue(utils.is_in_same_subnet('192.168.0.0', '192.168.0.255',
1022 self.assertFalse(utils.is_in_same_subnet('191.168.0.0', '192.168.0.0',
Dutils.py2469 def is_in_same_subnet(ip_1, ip_2, mask_bits=24): function
2527 if server_ip and is_in_same_subnet(server_ip, host_ip, mask_bits):
2548 if is_in_same_subnet(subnet_ip, host_ip, mask_bits):
2584 if (is_in_same_subnet(subnet_ip, host_ip, maskbit) and
/external/autotest/client/common_lib/cros/
Ddev_server.py2793 if utils.is_in_same_subnet(host_ip, subnet_ip, mask_bits):