Searched refs:_find_mac (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | uuid.py | 314 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/ |
D | uuid.py | 380 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/ |
D | test_uuid.py | 457 mac = uuid._find_mac(
|
/external/python/cpython3/Lib/test/ |
D | test_uuid.py | 669 mac = self.uuid._find_mac(
|