Home
last modified time | relevance | path

Searched refs:nmc (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/malo/
H A Dif_malohal.c883 malo_hal_setmcast(struct malo_hal *mh, int nmc, const uint8_t macs[]) in malo_hal_setmcast() argument
888 if (nmc > MALO_HAL_MCAST_MAX) in malo_hal_setmcast()
894 memcpy(cmd->maclist, macs, nmc * IEEE80211_ADDR_LEN); in malo_hal_setmcast()
895 cmd->numaddr = htole16(nmc); in malo_hal_setmcast()
H A Dif_malo.c1498 int nmc; member
1502 malo_copy_maddr(void *arg, struct sockaddr_dl *sdl, u_int nmc) in malo_copy_maddr() argument
1506 if (ctx->nmc == MALO_HAL_MCAST_MAX) in malo_copy_maddr()
1509 IEEE80211_ADDR_COPY(ctx->macs + (ctx->nmc * IEEE80211_ADDR_LEN), in malo_copy_maddr()
1511 ctx->nmc++; in malo_copy_maddr()
1531 ctx.nmc = 0; in malo_setmcastfilter()
1535 malo_hal_setmcast(sc->malo_mh, ctx.nmc, ctx.macs); in malo_setmcastfilter()
/freebsd/sys/dev/mwl/
H A Dmwlhal.h406 int mwl_hal_setmcast(struct mwl_hal *mh, int nmc, const uint8_t macs[]);
H A Dmwlhal.c1155 mwl_hal_setmcast(struct mwl_hal *mh0, int nmc, const uint8_t macs[]) in mwl_hal_setmcast() argument
1161 if (nmc > MWL_HAL_MCAST_MAX) in mwl_hal_setmcast()
1167 memcpy(pCmd->MACList, macs, nmc*IEEE80211_ADDR_LEN); in mwl_hal_setmcast()
1168 pCmd->NumOfAdrs = htole16(nmc); in mwl_hal_setmcast()
H A Dif_mwl.c1723 int nmc; in mwl_setmcastfilter()
1726 nmc = 0; in mwl_setmcastfilter()
1730 if (nmc == MWL_HAL_MCAST_MAX || in mwl_setmcastfilter()
1736 mp += IEEE80211_ADDR_LEN, nmc++; in mwl_setmcastfilter()
1740 mwl_hal_setmcast(sc->sc_mh, nmc, macs); in mwl_setmcastfilter()