hwaddr_aton
Description:
Parses asc
and converts it to binary form in buffer
.
See hwaddr_atoba if you'd rather have the result in a ByteArray.
See also hwaddr_aton_len, which takes an output length instead of a type.
Parameters:
asc |
the ASCII representation of a hardware address |
type |
the type of address; either ARPHRD_ETHER or ARPHRD_INFINIBAND |
buffer |
buffer to store the result into |
Returns:
|
Namespace: NM.Utils
Package: libnm-util