Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/malo/
HDif_malohal.c887 malo_hal_setmcast(struct malo_hal *mh, int nmc, const uint8_t macs[]) in malo_hal_setmcast() argument
892 if (nmc > MALO_HAL_MCAST_MAX) in malo_hal_setmcast()
898 memcpy(cmd->maclist, macs, nmc * IEEE80211_ADDR_LEN); in malo_hal_setmcast()
899 cmd->numaddr = htole16(nmc); in malo_hal_setmcast()
HDif_malo.c1508 int nmc; member
1512 malo_copy_maddr(void *arg, struct sockaddr_dl *sdl, u_int nmc) in malo_copy_maddr() argument
1516 if (ctx->nmc == MALO_HAL_MCAST_MAX) in malo_copy_maddr()
1519 IEEE80211_ADDR_COPY(ctx->macs + (ctx->nmc * IEEE80211_ADDR_LEN), in malo_copy_maddr()
1521 ctx->nmc++; in malo_copy_maddr()
1541 ctx.nmc = 0; in malo_setmcastfilter()
1545 malo_hal_setmcast(sc->malo_mh, ctx.nmc, ctx.macs); in malo_setmcastfilter()
/freebsd-14-stable/sys/dev/mwl/
HDmwlhal.h406 int mwl_hal_setmcast(struct mwl_hal *mh, int nmc, const uint8_t macs[]);
HDmwlhal.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()
HDif_mwl.c1727 int nmc; in mwl_setmcastfilter()
1730 nmc = 0; in mwl_setmcastfilter()
1734 if (nmc == MWL_HAL_MCAST_MAX || in mwl_setmcastfilter()
1740 mp += IEEE80211_ADDR_LEN, nmc++; in mwl_setmcastfilter()
1744 mwl_hal_setmcast(sc->sc_mh, nmc, macs); in mwl_setmcastfilter()