Returns the length in octets of a hardware address of type type.
type
the type of address; either ARPHRD_ETHER or ARPHRD_INFINIBAND
the positive length, or -1 if the type is unknown/unsupported.