Lines Matching defs:macp
509 mac_register_t *macp;
707 if ((macp = mac_alloc(MAC_VERSION)) == NULL)
710 macp->m_type_ident = MAC_PLUGIN_IDENT_ETHER;
711 macp->m_driver = dnetp;
712 macp->m_dip = devinfo;
713 macp->m_src_addr = dnetp->curr_macaddr;
714 macp->m_callbacks = &dnet_m_callbacks;
715 macp->m_min_sdu = 0;
716 macp->m_max_sdu = ETHERMTU;
717 macp->m_margin = VLAN_TAGSZ;
719 if (mac_register(macp, &dnetp->mac_handle) == 0) {
720 mac_free(macp);
756 mac_free(macp);