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>.
type |
the type of address; either <literal>ARPHRD_ETHER</literal> or <literal>ARPHRD_INFINIBAND</literal> |
the length or zero if the type is unrecognized. |