Home
last modified time | relevance | path

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

/net/ipv4/
Digmp.c2310 struct ip_sf_socklist *psl; in ip_mc_source() local
2355 psl = rtnl_dereference(pmc->sflist); in ip_mc_source()
2357 if (!psl) in ip_mc_source()
2360 for (i = 0; i < psl->sl_count; i++) { in ip_mc_source()
2361 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source()
2370 if (psl->sl_count == 1 && omode == MCAST_INCLUDE) { in ip_mc_source()
2379 for (j = i+1; j < psl->sl_count; j++) in ip_mc_source()
2380 psl->sl_addr[j-1] = psl->sl_addr[j]; in ip_mc_source()
2381 psl->sl_count--; in ip_mc_source()
2387 if (psl && psl->sl_count >= net->ipv4.sysctl_igmp_max_msf) { in ip_mc_source()
[all …]
/net/ipv6/
Dmcast.c335 struct ip6_sf_socklist *psl; in ip6_mc_source() local
383 psl = pmc->sflist; in ip6_mc_source()
385 if (!psl) in ip6_mc_source()
388 for (i = 0; i < psl->sl_count; i++) { in ip6_mc_source()
389 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source()
397 if (psl->sl_count == 1 && omode == MCAST_INCLUDE) { in ip6_mc_source()
405 for (j = i+1; j < psl->sl_count; j++) in ip6_mc_source()
406 psl->sl_addr[j-1] = psl->sl_addr[j]; in ip6_mc_source()
407 psl->sl_count--; in ip6_mc_source()
413 if (psl && psl->sl_count >= sysctl_mld_max_msf) { in ip6_mc_source()
[all …]