Lines Matching defs:mac_len
426 uint_t *mac_len, int *mac_slot, uint_t *mac_prefix_len, uchar_t *tmp_addr,
458 if (is_etherstub && *mac_len == 0)
459 *mac_len = ETHERADDRL;
472 *mac_len != 0 || *mac_prefix_len != 0 ||
476 *mac_len = ETHERADDRL;
478 status = i_dladm_vnic_vrrp_mac(vrid, af, *mac_addr, *mac_len);
483 if (*mac_len > MAXMACADDRLEN)
501 vnic_mac_addr_type_t mac_addr_type, uchar_t *mac_addr, uint_t mac_len,
549 status = i_dladm_mac_addr_check(mac_addr_type, &mac_addr, &mac_len,
587 attr.va_mac_len = mac_len;
590 if (mac_len > 0)
591 bcopy(mac_addr, attr.va_mac_addr, mac_len);
659 uint_t mac_len, int *mac_slot, uint_t mac_prefix_len,
708 &mac_len, mac_slot, &mac_prefix_len, tmp_addr, vrid, af,
713 new_attr.va_mac_len = mac_len;
719 if (mac_len > 0)
720 bcopy(mac_addr, new_attr.va_mac_addr, mac_len);