Lines Matching defs:mac
410 i_dladm_vnic_vrrp_mac(vrid_t vrid, int af, uint8_t *mac, uint_t maclen)
417 mac[0] = mac[1] = mac[3] = 0x0;
418 mac[2] = 0x5e;
419 mac[4] = (af == AF_INET) ? 0x01 : 0x02;
420 mac[5] = vrid;
449 * autovnic and reuse the previously generated mac address.
495 * If mac_addr_type is random then the randomly-generated mac address
875 dladm_vnic_macaddr2str(const uchar_t *mac, char *buf)
882 if (bcmp(unknown_mac, mac, ETHERADDRL) == 0)
885 return (_link_ntoa(mac, buf, ETHERADDRL, IFT_OTHER));