Lines Matching refs:mcst_p
1247 mcst_addr_t *mcst_p = NULL; in vsw_m_multicst() local
1271 mcst_p = kmem_zalloc(sizeof (mcst_addr_t), KM_NOSLEEP); in vsw_m_multicst()
1272 if (mcst_p == NULL) { in vsw_m_multicst()
1278 mcst_p->addr = addr; in vsw_m_multicst()
1279 ether_copy(mca, &mcst_p->mca); in vsw_m_multicst()
1285 ret = vsw_mac_multicast_add(vswp, NULL, mcst_p, in vsw_m_multicst()
1290 kmem_free(mcst_p, sizeof (*mcst_p)); in vsw_m_multicst()
1295 mcst_p->nextp = vswp->mcap; in vsw_m_multicst()
1296 vswp->mcap = mcst_p; in vsw_m_multicst()
1315 mcst_p = vsw_del_addr(VSW_LOCALDEV, vswp, addr); in vsw_m_multicst()
1316 ASSERT(mcst_p != NULL); in vsw_m_multicst()
1318 vsw_mac_multicast_remove(vswp, NULL, mcst_p, VSW_LOCALDEV); in vsw_m_multicst()
1319 kmem_free(mcst_p, sizeof (*mcst_p)); in vsw_m_multicst()