Searched refs:hwaddr (Results 1 – 1 of 1) sorted by relevance
277 def SetInterfaceHWAddr(ifname, hwaddr): argument279 hwaddr = hwaddr.replace(":", "")280 hwaddr = binascii.unhexlify(hwaddr)281 if len(hwaddr) != 6:282 raise ValueError("Unknown hardware address length %d" % len(hwaddr))284 hwaddr)