Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dnet_test.py277 def SetInterfaceHWAddr(ifname, hwaddr): argument
279 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)