Home
last modified time | relevance | path

Searched refs:psf (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Digmp.c228 static int is_in(struct ip_mc_list *pmc, struct ip_sf_list *psf, int type, in is_in() argument
236 if (!(pmc->gsquery && !psf->sf_gsresp)) { in is_in()
242 if (psf->sf_count[MCAST_INCLUDE]) in is_in()
245 psf->sf_count[MCAST_EXCLUDE]; in is_in()
251 return psf->sf_count[MCAST_INCLUDE] != 0; in is_in()
256 psf->sf_count[MCAST_INCLUDE]) in is_in()
259 psf->sf_count[MCAST_EXCLUDE]; in is_in()
261 if (gdeleted || !psf->sf_crcount) in is_in()
266 return gdeleted || (psf->sf_crcount && sdeleted); in is_in()
267 return psf->sf_crcount && !gdeleted && !sdeleted; in is_in()
[all …]
/net/ipv6/
Dmcast.c786 struct ip6_sf_list *psf; in mld_add_delrec() local
791 for (psf=pmc->mca_sources; psf; psf=psf->sf_next) in mld_add_delrec()
792 psf->sf_crcount = pmc->mca_crcount; in mld_add_delrec()
805 struct ip6_sf_list *psf, *psf_next; in mld_del_delrec() local
822 for (psf=pmc->mca_tomb; psf; psf=psf_next) { in mld_del_delrec()
823 psf_next = psf->sf_next; in mld_del_delrec()
824 kfree(psf); in mld_del_delrec()
850 struct ip6_sf_list *psf, *psf_next; in mld_clear_delrec() local
853 psf = pmc->mca_tomb; in mld_clear_delrec()
856 for (; psf; psf=psf_next) { in mld_clear_delrec()
[all …]