Searched refs:gsf (Results 1 - 6 of 6) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/ |
H A D | ipv6_sockglue.c | 611 struct group_filter *gsf; local 619 gsf = kmalloc(optlen,GFP_KERNEL); 620 if (!gsf) { 625 if (copy_from_user(gsf, optval, optlen)) { 626 kfree(gsf); 630 if (gsf->gf_numsrc >= 0x1ffffffU || 631 gsf->gf_numsrc > sysctl_mld_max_msf) { 632 kfree(gsf); 636 if (GROUP_FILTER_SIZE(gsf->gf_numsrc) > optlen) { 637 kfree(gsf); 898 struct group_filter gsf; local [all...] |
H A D | mcast.c | 445 int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf) argument 457 group = &((struct sockaddr_in6 *)&gsf->gf_group)->sin6_addr; 461 if (gsf->gf_fmode != MCAST_INCLUDE && 462 gsf->gf_fmode != MCAST_EXCLUDE) 466 idev = ip6_mc_find_dev_rcu(net, group, gsf->gf_interface); 477 if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) { 483 if (pmc->ifindex != gsf->gf_interface) 492 if (gsf->gf_numsrc) { 493 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(gsf 538 ip6_mc_msfget(struct sock *sk, struct group_filter *gsf, struct group_filter __user *optval, int __user *optlen) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/ |
H A D | ip_sockglue.c | 864 struct group_filter *gsf = NULL; local 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 1195 struct group_filter gsf; local [all...] |
H A D | igmp.c | 2219 int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf, argument 2229 psin = (struct sockaddr_in *)&gsf->gf_group; 2242 pmc->multi.imr_ifindex == gsf->gf_interface) 2247 gsf->gf_fmode = pmc->sfmode; 2251 copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc; 2252 gsf->gf_numsrc = count; 2254 copy_to_user(optval, gsf, GROUP_FILTER_SIZE(0))) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | igmp.h | 226 extern int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/ |
H A D | ipv6.h | 613 extern int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf); 614 extern int ip6_mc_msfget(struct sock *sk, struct group_filter *gsf,
|
Completed in 433 milliseconds