• Home
  • Raw
  • Download

Lines Matching refs:sfmode

87 			  int sfmode, int sfcount, const struct in6_addr *psfsrc,
90 int sfmode, int sfcount, const struct in6_addr *psfsrc,
181 mc_lst->sfmode = mode; in __ipv6_sock_mc_join()
369 if (pmc->sfmode != omode) { in ip6_mc_source()
373 } else if (pmc->sfmode != omode) { in ip6_mc_source()
376 ip6_mc_del_src(idev, group, pmc->sfmode, 0, NULL, 0); in ip6_mc_source()
377 pmc->sfmode = omode; in ip6_mc_source()
532 (void) ip6_mc_del_src(idev, group, pmc->sfmode, in ip6_mc_msfilter()
536 (void) ip6_mc_del_src(idev, group, pmc->sfmode, 0, NULL, 0); in ip6_mc_msfilter()
538 pmc->sfmode = gsf->gf_fmode; in ip6_mc_msfilter()
587 gsf->gf_fmode = pmc->sfmode; in ip6_mc_msfget()
640 rv = mc->sfmode == MCAST_EXCLUDE; in inet6_mc_check()
648 if (mc->sfmode == MCAST_INCLUDE && i >= psl->sl_count) in inet6_mc_check()
650 if (mc->sfmode == MCAST_EXCLUDE && i < psl->sl_count) in inet6_mc_check()
2125 static int ip6_mc_del1_src(struct ifmcaddr6 *pmc, int sfmode, in ip6_mc_del1_src() argument
2137 if (!psf || psf->sf_count[sfmode] == 0) { in ip6_mc_del1_src()
2141 psf->sf_count[sfmode]--; in ip6_mc_del1_src()
2163 int sfmode, int sfcount, const struct in6_addr *psfsrc, in ip6_mc_del_src() argument
2185 if (!pmc->mca_sfcount[sfmode]) { in ip6_mc_del_src()
2190 pmc->mca_sfcount[sfmode]--; in ip6_mc_del_src()
2194 int rv = ip6_mc_del1_src(pmc, sfmode, &psfsrc[i]); in ip6_mc_del_src()
2222 static int ip6_mc_add1_src(struct ifmcaddr6 *pmc, int sfmode, in ip6_mc_add1_src() argument
2244 psf->sf_count[sfmode]++; in ip6_mc_add1_src()
2327 int sfmode, int sfcount, const struct in6_addr *psfsrc, in ip6_mc_add_src() argument
2351 pmc->mca_sfcount[sfmode]++; in ip6_mc_add_src()
2354 err = ip6_mc_add1_src(pmc, sfmode, &psfsrc[i]); in ip6_mc_add_src()
2362 pmc->mca_sfcount[sfmode]--; in ip6_mc_add_src()
2364 ip6_mc_del1_src(pmc, sfmode, &psfsrc[j]); in ip6_mc_add_src()
2438 err = ip6_mc_del_src(idev, &iml->addr, iml->sfmode, 0, NULL, 0); in ip6_mc_leave_src()
2440 err = ip6_mc_del_src(idev, &iml->addr, iml->sfmode, in ip6_mc_leave_src()