Lines Matching refs:sfmode
107 int sfmode, int sfcount, struct in6_addr *psfsrc,
110 int sfmode, int sfcount, struct in6_addr *psfsrc,
179 mc_lst->sfmode = MCAST_EXCLUDE;
350 if (pmc->sfmode != omode) {
354 } else if (pmc->sfmode != omode) {
357 ip6_mc_del_src(idev, group, pmc->sfmode, 0, NULL, 0);
358 pmc->sfmode = omode;
520 (void) ip6_mc_del_src(idev, group, pmc->sfmode,
524 (void) ip6_mc_del_src(idev, group, pmc->sfmode, 0, NULL, 0);
526 pmc->sfmode = gsf->gf_fmode;
579 gsf->gf_fmode = pmc->sfmode;
633 rv = mc->sfmode == MCAST_EXCLUDE;
641 if (mc->sfmode == MCAST_INCLUDE && i >= psl->sl_count)
643 if (mc->sfmode == MCAST_EXCLUDE && i < psl->sl_count)
1815 static int ip6_mc_del1_src(struct ifmcaddr6 *pmc, int sfmode,
1827 if (!psf || psf->sf_count[sfmode] == 0) {
1831 psf->sf_count[sfmode]--;
1853 int sfmode, int sfcount, struct in6_addr *psfsrc,
1875 if (!pmc->mca_sfcount[sfmode]) {
1880 pmc->mca_sfcount[sfmode]--;
1884 int rv = ip6_mc_del1_src(pmc, sfmode, &psfsrc[i]);
1912 static int ip6_mc_add1_src(struct ifmcaddr6 *pmc, int sfmode,
1934 psf->sf_count[sfmode]++;
2017 int sfmode, int sfcount, struct in6_addr *psfsrc,
2041 pmc->mca_sfcount[sfmode]++;
2044 err = ip6_mc_add1_src(pmc, sfmode, &psfsrc[i], delta);
2052 pmc->mca_sfcount[sfmode]--;
2054 (void) ip6_mc_del1_src(pmc, sfmode, &psfsrc[i]);
2130 return ip6_mc_del_src(idev, &iml->addr, iml->sfmode, 0, NULL, 0);
2132 err = ip6_mc_del_src(idev, &iml->addr, iml->sfmode,