Searched refs:iml (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | igmp.c | 2171 struct ip_mc_socklist *iml, *i; in __ip_mc_join_group() local 2202 iml = sock_kmalloc(sk, sizeof(*iml), GFP_KERNEL); in __ip_mc_join_group() 2203 if (!iml) in __ip_mc_join_group() 2206 memcpy(&iml->multi, imr, sizeof(*imr)); in __ip_mc_join_group() 2207 iml->next_rcu = inet->mc_list; in __ip_mc_join_group() 2208 iml->sflist = NULL; in __ip_mc_join_group() 2209 iml->sfmode = mode; in __ip_mc_join_group() 2210 rcu_assign_pointer(inet->mc_list, iml); in __ip_mc_join_group() 2233 static int ip_mc_leave_src(struct sock *sk, struct ip_mc_socklist *iml, in ip_mc_leave_src() argument 2236 struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist); in ip_mc_leave_src() [all …]
|
/net/ipv6/ |
D | mcast.c | 92 static int ip6_mc_leave_src(struct sock *sk, struct ipv6_mc_socklist *iml, 2430 static int ip6_mc_leave_src(struct sock *sk, struct ipv6_mc_socklist *iml, in ip6_mc_leave_src() argument 2435 write_lock_bh(&iml->sflock); in ip6_mc_leave_src() 2436 if (!iml->sflist) { in ip6_mc_leave_src() 2438 err = ip6_mc_del_src(idev, &iml->addr, iml->sfmode, 0, NULL, 0); in ip6_mc_leave_src() 2440 err = ip6_mc_del_src(idev, &iml->addr, iml->sfmode, in ip6_mc_leave_src() 2441 iml->sflist->sl_count, iml->sflist->sl_addr, 0); in ip6_mc_leave_src() 2442 sock_kfree_s(sk, iml->sflist, IP6_SFLSIZE(iml->sflist->sl_max)); in ip6_mc_leave_src() 2443 iml->sflist = NULL; in ip6_mc_leave_src() 2445 write_unlock_bh(&iml->sflock); in ip6_mc_leave_src()
|