Lines Matching refs:ip_mc_list
156 static void igmpv3_add_delrec(struct in_device *in_dev, struct ip_mc_list *im,
158 static void igmpv3_del_delrec(struct in_device *in_dev, struct ip_mc_list *im);
160 static int sf_setstate(struct ip_mc_list *pmc);
161 static void sf_markstate(struct ip_mc_list *pmc);
163 static void ip_mc_clear_src(struct ip_mc_list *pmc);
167 static void ip_ma_put(struct ip_mc_list *im) in ip_ma_put()
202 static void igmp_stop_timer(struct ip_mc_list *im) in igmp_stop_timer()
214 static void igmp_start_timer(struct ip_mc_list *im, int max_delay) in igmp_start_timer()
245 static void igmp_mod_timer(struct ip_mc_list *im, int max_delay) in igmp_mod_timer()
270 static int is_in(struct ip_mc_list *pmc, struct ip_sf_list *psf, int type, in is_in()
315 igmp_scount(struct ip_mc_list *pmc, int type, int gdeleted, int sdeleted) in igmp_scount()
427 static int grec_size(struct ip_mc_list *pmc, int type, int gdel, int sdel) in grec_size()
432 static struct sk_buff *add_grhead(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grhead()
457 static struct sk_buff *add_grec(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grec()
585 static int igmpv3_send_report(struct in_device *in_dev, struct ip_mc_list *pmc) in igmpv3_send_report()
643 static void kfree_pmc(struct ip_mc_list *pmc) in kfree_pmc()
652 struct ip_mc_list *pmc, *pmc_prev, *pmc_next; in igmpv3_send_cr()
723 static int igmp_send_report(struct in_device *in_dev, struct ip_mc_list *pmc, in igmp_send_report()
837 struct ip_mc_list *im = from_timer(im, t, timer); in igmp_timer_expire()
860 static int igmp_xmarksources(struct ip_mc_list *pmc, int nsrcs, __be32 *srcs) in igmp_xmarksources()
887 static int igmp_marksources(struct ip_mc_list *pmc, int nsrcs, __be32 *srcs) in igmp_marksources()
918 struct ip_mc_list *im; in igmp_heard_report()
946 struct ip_mc_list *im; in igmp_heard_query()
1172 static void igmpv3_add_delrec(struct in_device *in_dev, struct ip_mc_list *im, in igmpv3_add_delrec()
1175 struct ip_mc_list *pmc; in igmpv3_add_delrec()
1214 static void igmpv3_del_delrec(struct in_device *in_dev, struct ip_mc_list *im) in igmpv3_del_delrec()
1216 struct ip_mc_list *pmc, *pmc_prev; in igmpv3_del_delrec()
1260 struct ip_mc_list *pmc, *nextpmc; in igmpv3_clear_delrec()
1288 static void __igmp_group_dropped(struct ip_mc_list *im, gfp_t gfp) in __igmp_group_dropped()
1327 static void igmp_group_dropped(struct ip_mc_list *im) in igmp_group_dropped()
1332 static void igmp_group_added(struct ip_mc_list *im) in igmp_group_added()
1379 static u32 ip_mc_hash(const struct ip_mc_list *im) in ip_mc_hash()
1385 struct ip_mc_list *im) in ip_mc_hash_add()
1387 struct ip_mc_list __rcu **mc_hash; in ip_mc_hash_add()
1402 mc_hash = kzalloc(sizeof(struct ip_mc_list *) << MC_HASH_SZ_LOG, in ip_mc_hash_add()
1417 struct ip_mc_list *im) in ip_mc_hash_remove()
1419 struct ip_mc_list __rcu **mc_hash = rtnl_dereference(in_dev->mc_hash); in ip_mc_hash_remove()
1420 struct ip_mc_list *aux; in ip_mc_hash_remove()
1437 struct ip_mc_list *im; in ____ip_mc_inc_group()
1642 struct ip_mc_list *im; in ip_mc_rejoin_groups()
1675 struct ip_mc_list *i; in __ip_mc_dec_group()
1676 struct ip_mc_list __rcu **ip; in __ip_mc_dec_group()
1707 struct ip_mc_list *pmc; in ip_mc_unmap()
1717 struct ip_mc_list *pmc; in ip_mc_remap()
1733 struct ip_mc_list *pmc; in ip_mc_down()
1784 struct ip_mc_list *pmc; in ip_mc_up()
1805 struct ip_mc_list *i; in ip_mc_destroy_dev()
1859 static int ip_mc_del1_src(struct ip_mc_list *pmc, int sfmode, in ip_mc_del1_src()
1911 struct ip_mc_list *pmc; in ip_mc_del_src()
1974 static int ip_mc_add1_src(struct ip_mc_list *pmc, int sfmode, in ip_mc_add1_src()
2003 static void sf_markstate(struct ip_mc_list *pmc) in sf_markstate()
2017 static int sf_setstate(struct ip_mc_list *pmc) in sf_setstate()
2083 struct ip_mc_list *pmc; in ip_mc_add_src()
2149 static void ip_mc_clear_src(struct ip_mc_list *pmc) in ip_mc_clear_src()
2713 struct ip_mc_list *im; in ip_check_mc_rcu()
2714 struct ip_mc_list __rcu **mc_hash; in ip_check_mc_rcu()
2765 static inline struct ip_mc_list *igmp_mc_get_first(struct seq_file *seq) in igmp_mc_get_first()
2768 struct ip_mc_list *im = NULL; in igmp_mc_get_first()
2787 static struct ip_mc_list *igmp_mc_get_next(struct seq_file *seq, struct ip_mc_list *im) in igmp_mc_get_next()
2806 static struct ip_mc_list *igmp_mc_get_idx(struct seq_file *seq, loff_t pos) in igmp_mc_get_idx()
2808 struct ip_mc_list *im = igmp_mc_get_first(seq); in igmp_mc_get_idx()
2824 struct ip_mc_list *im; in igmp_mc_seq_next()
2849 struct ip_mc_list *im = v; in igmp_mc_seq_show()
2889 struct ip_mc_list *im;
2898 struct ip_mc_list *im = NULL; in igmp_mcf_get_first()