Searched refs:copycount (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | igmp.c | 2528 int err, len, count, copycount; in ip_mc_msfget() local 2568 copycount = count < msf->imsf_numsrc ? count : msf->imsf_numsrc; in ip_mc_msfget() 2569 len = copycount * sizeof(psl->sl_addr[0]); in ip_mc_msfget() 2571 if (put_user(IP_MSFILTER_SIZE(copycount), optlen) || in ip_mc_msfget() 2586 int err, i, count, copycount; in ip_mc_gsfget() local 2614 copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc; in ip_mc_gsfget() 2616 if (put_user(GROUP_FILTER_SIZE(copycount), optlen) || in ip_mc_gsfget() 2620 for (i = 0; i < copycount; i++) { in ip_mc_gsfget()
|
/net/ipv6/ |
D | mcast.c | 552 int err, i, count, copycount; in ip6_mc_msfget() local 593 copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc; in ip6_mc_msfget() 595 if (put_user(GROUP_FILTER_SIZE(copycount), optlen) || in ip6_mc_msfget() 602 for (i = 0; i < copycount; i++) { in ip6_mc_msfget()
|