hwaddr_atoba
Description:
Parses asc
and converts it to binary form in a ByteArray.
See hwaddr_aton if you don't want a ByteArray.
Parameters:
asc |
the ASCII representation of a hardware address |
type |
the type of address; either ARPHRD_ETHER or ARPHRD_INFINIBAND |
Returns:
a new ByteArray, or |
Namespace: NM.Utils
Package: libnm-util