hwaddr_aton2() function
hwaddr_aton2 - Convert ASCII string to MAC address (in any known format) @txt: MAC address as a string (e.g., 00:11:22:33:44:55 or 0011.2233.4455) @addr: Buffer for the MAC address (ETH_ALEN = 6 bytes) Returns: Characters used (> 0) on success, -1 on failure