Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv4/
Digmp.c1784 struct ip_mc_socklist *iml = NULL, *i; in ip_mc_join_group() local
1799 iml = NULL; in ip_mc_join_group()
1815 iml = sock_kmalloc(sk, sizeof(*iml), GFP_KERNEL); in ip_mc_join_group()
1816 if (iml == NULL) in ip_mc_join_group()
1819 memcpy(&iml->multi, imr, sizeof(*imr)); in ip_mc_join_group()
1820 iml->next_rcu = inet->mc_list; in ip_mc_join_group()
1821 iml->sflist = NULL; in ip_mc_join_group()
1822 iml->sfmode = MCAST_EXCLUDE; in ip_mc_join_group()
1823 rcu_assign_pointer(inet->mc_list, iml); in ip_mc_join_group()
1832 static int ip_mc_leave_src(struct sock *sk, struct ip_mc_socklist *iml, in ip_mc_leave_src() argument
[all …]
/linux-3.4.99/net/ipv6/
Dmcast.c106 static int ip6_mc_leave_src(struct sock *sk, struct ipv6_mc_socklist *iml,
2116 static int ip6_mc_leave_src(struct sock *sk, struct ipv6_mc_socklist *iml, in ip6_mc_leave_src() argument
2124 if (!iml->sflist) { in ip6_mc_leave_src()
2126 return ip6_mc_del_src(idev, &iml->addr, iml->sfmode, 0, NULL, 0); in ip6_mc_leave_src()
2128 err = ip6_mc_del_src(idev, &iml->addr, iml->sfmode, in ip6_mc_leave_src()
2129 iml->sflist->sl_count, iml->sflist->sl_addr, 0); in ip6_mc_leave_src()
2130 sock_kfree_s(sk, iml->sflist, IP6_SFLSIZE(iml->sflist->sl_max)); in ip6_mc_leave_src()
2131 iml->sflist = NULL; in ip6_mc_leave_src()