Lines Matching refs:rv
370 int i, j, rv; in ip6_mc_source() local
414 rv = !0; in ip6_mc_source()
416 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source()
417 if (rv == 0) in ip6_mc_source()
420 if (rv) /* source not found */ in ip6_mc_source()
468 rv = 1; /* > 0 for insert logic below if sl_count is 0 */ in ip6_mc_source()
470 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source()
471 if (rv == 0) /* There is an error in the address. */ in ip6_mc_source()
636 bool rv = true; in inet6_mc_check() local
649 rv = mc->sfmode == MCAST_EXCLUDE; in inet6_mc_check()
658 rv = false; in inet6_mc_check()
660 rv = false; in inet6_mc_check()
664 return rv; in inet6_mc_check()
1019 bool rv = false; in ipv6_chk_mcast_addr() local
1037 rv = psf->sf_count[MCAST_INCLUDE] || in ipv6_chk_mcast_addr()
1041 rv = mc->mca_sfcount[MCAST_EXCLUDE] != 0; in ipv6_chk_mcast_addr()
1043 rv = true; /* don't filter unspecified source */ in ipv6_chk_mcast_addr()
1047 return rv; in ipv6_chk_mcast_addr()
2278 int rv = 0; in ip6_mc_del1_src() local
2308 rv = 1; in ip6_mc_del1_src()
2313 return rv; in ip6_mc_del1_src()
2344 int rv = ip6_mc_del1_src(pmc, sfmode, &psfsrc[i]); in ip6_mc_del_src() local
2346 changerec |= rv > 0; in ip6_mc_del_src()
2347 if (!err && rv < 0) in ip6_mc_del_src()
2348 err = rv; in ip6_mc_del_src()
2423 int new_in, rv; in sf_setstate() local
2425 rv = 0; in sf_setstate()
2454 rv++; in sf_setstate()
2477 rv++; in sf_setstate()
2480 return rv; in sf_setstate()