Lines Matching refs:gsf
864 struct group_filter *gsf = NULL;
873 gsf = kmalloc(optlen, GFP_KERNEL);
874 if (!gsf) {
879 if (copy_from_user(gsf, optval, optlen))
883 if (gsf->gf_numsrc >= 0x1ffffff ||
884 gsf->gf_numsrc > sysctl_igmp_max_msf) {
888 if (GROUP_FILTER_SIZE(gsf->gf_numsrc) > optlen) {
892 msize = IP_MSFILTER_SIZE(gsf->gf_numsrc);
898 ifindex = gsf->gf_interface;
899 psin = (struct sockaddr_in *)&gsf->gf_group;
906 msf->imsf_fmode = gsf->gf_fmode;
907 msf->imsf_numsrc = gsf->gf_numsrc;
909 for (i = 0; i < gsf->gf_numsrc; ++i) {
910 psin = (struct sockaddr_in *)&gsf->gf_slist[i];
916 kfree(gsf);
917 gsf = NULL;
922 kfree(gsf);
1195 struct group_filter gsf;
1202 if (copy_from_user(&gsf, optval, GROUP_FILTER_SIZE(0))) {
1206 err = ip_mc_gsfget(sk, &gsf,