Home
last modified time | relevance | path

Searched refs:_find_mac (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Duuid.py314 def _find_mac(command, args, hw_identifiers, get_index): function
344 mac = _find_mac('ifconfig', args, keywords, lambda i: i+1)
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],
375 return _find_mac('lanscan', '-ai', ['lan0'], lambda i: 0)
/external/python/cpython3/Lib/
Duuid.py380 def _find_mac(command, args, hw_identifiers, get_index): function
413 mac = _find_mac('ifconfig', args, keywords, lambda i: i+1)
421 mac = _find_mac('ip', 'link', [b'link/ether'], lambda i: i+1)
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)],
455 return _find_mac('lanscan', '-ai', [b'lan0'], lambda i: 0)
/external/python/cpython2/Lib/test/
Dtest_uuid.py457 mac = uuid._find_mac(
/external/python/cpython3/Lib/test/
Dtest_uuid.py669 mac = self.uuid._find_mac(