* Delete all multicast group membership for an interface. * Should be used to quickly flush all multicast filters. */
| 3617 | * Should be used to quickly flush all multicast filters. |
| 3618 | */ |
| 3619 | void |
| 3620 | if_delallmulti(struct ifnet *ifp) |
| 3621 | { |
| 3622 | struct ifmultiaddr *ifma; |
| 3623 | struct ifmultiaddr *next; |
| 3624 | |
| 3625 | IF_ADDR_WLOCK(ifp); |
| 3626 | CK_STAILQ_FOREACH_SAFE(ifma, &ifp->if_multiaddrs, ifma_link, next) |
| 3627 | if_delmulti_locked(ifp, ifma, 0); |
| 3628 | IF_ADDR_WUNLOCK(ifp); |
| 3629 | } |
| 3630 | |
| 3631 | void |
| 3632 | if_delmulti_ifma(struct ifmultiaddr *ifma) |
nothing calls this directly
no test coverage detected