Lines Matching refs:hwaddr
321 hwaddr = f.read().strip()
323 return hwaddr
326 def set_hwaddr(self, hwaddr):
327 bin_utils.system('ifconfig %s hw ether %s' % (self._name, hwaddr))
670 def mac_string_to_binary(hwaddr):
677 hwaddr: a text string containing the MAC address to convert.
683 for c in hwaddr.split(':',6)]])
688 def mac_binary_to_string(hwaddr):
695 hwaddr: a byte string containing the MAC address to convert.
700 return "%02x:%02x:%02x:%02x:%02x:%02x" % tuple(map(ord,hwaddr))