Searched refs:mreqs (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | ip_sockglue.c | 814 struct ip_mreq_source mreqs; in do_ip_setsockopt() local 819 if (copy_from_user(&mreqs, optval, sizeof(mreqs))) { in do_ip_setsockopt() 832 mreq.imr_multiaddr.s_addr = mreqs.imr_multiaddr; in do_ip_setsockopt() 833 mreq.imr_address.s_addr = mreqs.imr_interface; in do_ip_setsockopt() 844 err = ip_mc_source(add, omode, sk, &mreqs, 0); in do_ip_setsockopt() 878 struct ip_mreq_source mreqs; in do_ip_setsockopt() local 894 mreqs.imr_multiaddr = psin->sin_addr.s_addr; in do_ip_setsockopt() 896 mreqs.imr_sourceaddr = psin->sin_addr.s_addr; in do_ip_setsockopt() 897 mreqs.imr_interface = 0; /* use index for mc_source */ in do_ip_setsockopt() 922 err = ip_mc_source(add, omode, sk, &mreqs, in do_ip_setsockopt()
|
D | igmp.c | 2010 ip_mreq_source *mreqs, int ifindex) in ip_mc_source() argument 2014 __be32 addr = mreqs->imr_multiaddr; in ip_mc_source() 2028 imr.imr_multiaddr.s_addr = mreqs->imr_multiaddr; in ip_mc_source() 2029 imr.imr_address.s_addr = mreqs->imr_interface; in ip_mc_source() 2057 ip_mc_add_src(in_dev, &mreqs->imr_multiaddr, omode, 0, NULL, 0); in ip_mc_source() 2058 ip_mc_del_src(in_dev, &mreqs->imr_multiaddr, pmc->sfmode, 0, in ip_mc_source() 2069 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source() 2084 ip_mc_del_src(in_dev, &mreqs->imr_multiaddr, omode, 1, in ip_mc_source() 2085 &mreqs->imr_sourceaddr, 1); in ip_mc_source() 2124 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source() [all …]
|