/* Return the padding between the option length and the start of the link addr. Currently only IP-over-InfiniBand needs this, although if RFC 3831 IPv6-over-Fibre Channel is ever implemented it may also need a pad of 2.  */
static int ndisc_addr_option_pad(unsigned short type)
/* Return the padding between the option length and the start of the link addr. Currently only IP-over-InfiniBand needs this, although if RFC 3831 IPv6-over-Fibre Channel is ever implemented it may also need a pad of 2.  */
static int ndisc_addr_option_pad(unsigned short type)
{
	switch (type) {
	case ARPHRD_INFINIBAND: return 2;
	default:                return 0;
	}
}