hwaddr_len
Description:
Returns the length in octets of a hardware address of type type
.
Before 1.28, it was an error to call this function with any value other than <literal>ARPHRD_ETHER</literal> or <literal> ARPHRD_INFINIBAND</literal>.
Parameters:
type |
the type of address; either <literal>ARPHRD_ETHER</literal> or <literal>ARPHRD_INFINIBAND</literal> |
Returns:
the length or zero if the type is unrecognized. |
Namespace: NM.Utils
Package: libnm