Home
last modified time | relevance | path

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

/net/ipv4/
Dip_sockglue.c681 struct ip_msfilter *msf; in do_ip_setsockopt() local
689 msf = kmalloc(optlen, GFP_KERNEL); in do_ip_setsockopt()
690 if (!msf) { in do_ip_setsockopt()
695 if (copy_from_user(msf, optval, optlen)) { in do_ip_setsockopt()
696 kfree(msf); in do_ip_setsockopt()
700 if (msf->imsf_numsrc >= 0x3ffffffcU || in do_ip_setsockopt()
701 msf->imsf_numsrc > sysctl_igmp_max_msf) { in do_ip_setsockopt()
702 kfree(msf); in do_ip_setsockopt()
706 if (IP_MSFILTER_SIZE(msf->imsf_numsrc) > optlen) { in do_ip_setsockopt()
707 kfree(msf); in do_ip_setsockopt()
[all …]
Digmp.c1982 int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf, int ifindex) in ip_mc_msfilter() argument
1986 __be32 addr = msf->imsf_multiaddr; in ip_mc_msfilter()
1996 if (msf->imsf_fmode != MCAST_INCLUDE && in ip_mc_msfilter()
1997 msf->imsf_fmode != MCAST_EXCLUDE) in ip_mc_msfilter()
2002 imr.imr_multiaddr.s_addr = msf->imsf_multiaddr; in ip_mc_msfilter()
2003 imr.imr_address.s_addr = msf->imsf_interface; in ip_mc_msfilter()
2013 if (msf->imsf_fmode == MCAST_INCLUDE && msf->imsf_numsrc == 0) { in ip_mc_msfilter()
2019 if (pmc->multi.imr_multiaddr.s_addr == msf->imsf_multiaddr && in ip_mc_msfilter()
2027 if (msf->imsf_numsrc) { in ip_mc_msfilter()
2028 newpsl = sock_kmalloc(sk, IP_SFLSIZE(msf->imsf_numsrc), in ip_mc_msfilter()
[all …]