Home
last modified time | relevance | path

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

/net/ipv6/
Dipv6_sockglue.c1086 struct group_filter gf; in compat_ipv6_get_msfilter() local
1097 gf.gf_interface = gf32.gf_interface; in compat_ipv6_get_msfilter()
1098 gf.gf_fmode = gf32.gf_fmode; in compat_ipv6_get_msfilter()
1099 num = gf.gf_numsrc = gf32.gf_numsrc; in compat_ipv6_get_msfilter()
1100 gf.gf_group = gf32.gf_group; in compat_ipv6_get_msfilter()
1102 if (gf.gf_group.ss_family != AF_INET6) in compat_ipv6_get_msfilter()
1106 err = ip6_mc_msfget(sk, &gf, p->gf_slist_flex); in compat_ipv6_get_msfilter()
1110 if (num > gf.gf_numsrc) in compat_ipv6_get_msfilter()
1111 num = gf.gf_numsrc; in compat_ipv6_get_msfilter()
1112 len = GROUP_FILTER_SIZE(num) - (sizeof(gf)-sizeof(gf32)); in compat_ipv6_get_msfilter()
[all …]
/net/ipv4/
Dip_sockglue.c1495 struct group_filter gf; in compat_ip_get_mcast_msfilter() local
1504 gf.gf_interface = gf32.gf_interface; in compat_ip_get_mcast_msfilter()
1505 gf.gf_fmode = gf32.gf_fmode; in compat_ip_get_mcast_msfilter()
1506 num = gf.gf_numsrc = gf32.gf_numsrc; in compat_ip_get_mcast_msfilter()
1507 gf.gf_group = gf32.gf_group; in compat_ip_get_mcast_msfilter()
1509 err = ip_mc_gsfget(sk, &gf, p->gf_slist_flex); in compat_ip_get_mcast_msfilter()
1512 if (gf.gf_numsrc < num) in compat_ip_get_mcast_msfilter()
1513 num = gf.gf_numsrc; in compat_ip_get_mcast_msfilter()
1514 len = GROUP_FILTER_SIZE(num) - (sizeof(gf) - sizeof(gf32)); in compat_ip_get_mcast_msfilter()
1516 put_user(gf.gf_fmode, &p->gf_fmode) || in compat_ip_get_mcast_msfilter()
[all …]