Lines Matching defs:mcast
4736 gld_mcast_t *mcast;
4738 if ((mcast = gld->gld_mcast[i]) != NULL) {
4739 ASSERT(mcast->gldm_refcnt);
4740 gld_send_disable_multi(macinfo, mcast);
4840 gld_mcast_t *mcast;
4886 /* no mcast addresses -- allocate table */
4912 mcast = NULL;
4926 mcast = &mac_pvt->mcast_table[i];
4931 if (mcast == NULL) {
4935 mcast = &mac_pvt->mcast_table[i];
4936 mac_copy(maddr, mcast->gldm_addr,
4942 if (mcast == NULL) {
4948 /* now we have a mac layer slot in mcast -- get a stream slot */
4953 if (!mcast->gldm_refcnt) {
4954 /* set mcast in hardware */
4989 gld->gld_mcast[i] = mcast;
4990 mcast->gldm_refcnt++;
5015 gld_mcast_t *mcast;
5047 if (((mcast = gld->gld_mcast[i]) != NULL) &&
5048 mac_eq(mcast->gldm_addr,
5050 ASSERT(mcast->gldm_refcnt);
5051 gld_send_disable_multi(macinfo, mcast);
5063 * gld_send_disable_multi(macinfo, mcast)
5069 gld_send_disable_multi(gld_mac_info_t *macinfo, gld_mcast_t *mcast)
5073 ASSERT(mcast != NULL);
5074 ASSERT(mcast->gldm_refcnt);
5076 if (!mcast->gldm_refcnt) {
5080 if (--mcast->gldm_refcnt > 0) {
5089 gld_bitreverse(mcast->gldm_addr, macinfo->gldm_addrlen);
5093 (macinfo, mcast->gldm_addr, GLD_MULTI_DISABLE);