Lines Matching refs:mr_table

75 	struct mr_table		*mrt;
104 static struct mr_table *ipmr_new_table(struct net *net, u32 id);
105 static void ipmr_free_table(struct mr_table *mrt,
108 static void ip_mr_forward(struct net *net, struct mr_table *mrt,
111 static int ipmr_cache_report(const struct mr_table *mrt,
113 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
115 static void igmpmsg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt);
116 static void mroute_clean_tables(struct mr_table *mrt, int flags,
126 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
127 struct mr_table *mrt) in ipmr_mr_table_iter()
129 struct mr_table *ret; in ipmr_mr_table_iter()
133 struct mr_table, list); in ipmr_mr_table_iter()
136 struct mr_table, list); in ipmr_mr_table_iter()
143 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table()
145 struct mr_table *mrt; in __ipmr_get_table()
155 struct mr_table **mrt) in ipmr_fib_lookup()
179 struct mr_table *mrt; in ipmr_rule_action()
246 struct mr_table *mrt; in ipmr_rules_init()
283 struct mr_table *mrt, *next; in ipmr_rules_exit_rtnl()
308 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
309 struct mr_table *mrt) in ipmr_mr_table_iter()
316 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table()
327 struct mr_table **mrt) in ipmr_fib_lookup()
337 struct mr_table *mrt; in ipmr_rules_init()
354 struct mr_table *mrt = rcu_dereference_protected(net->ipv4.mrt, 1); in ipmr_rules_exit_rtnl()
378 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
380 struct mr_table *mrt; in ipmr_get_table()
408 static void ipmr_new_table_set(struct mr_table *mrt, in ipmr_new_table_set()
426 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
428 struct mr_table *mrt; in ipmr_new_table()
442 static void ipmr_free_table(struct mr_table *mrt, struct list_head *dev_kill_list) in ipmr_free_table()
532 struct mr_table *mrt; in reg_vif_xmit()
580 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
617 static int __pim_rcv(struct mr_table *mrt, struct sk_buff *skb, in __pim_rcv()
655 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
687 static int vif_delete(struct mr_table *mrt, int vifi, int notify, in vif_delete()
758 static void ipmr_destroy_unres(struct mr_table *mrt, struct mfc_cache *c) in ipmr_destroy_unres()
790 struct mr_table *mrt = timer_container_of(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
827 static void ipmr_update_thresholds(struct mr_table *mrt, struct mr_mfc *cache, in ipmr_update_thresholds()
849 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
954 static struct mfc_cache *ipmr_cache_find(struct mr_table *mrt, in ipmr_cache_find()
967 static struct mfc_cache *ipmr_cache_find_any(struct mr_table *mrt, in ipmr_cache_find_any()
981 static struct mfc_cache *ipmr_cache_find_parent(struct mr_table *mrt, in ipmr_cache_find_parent()
1019 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1057 static int ipmr_cache_report(const struct mr_table *mrt, in ipmr_cache_report()
1142 static int ipmr_cache_unresolved(struct mr_table *mrt, vifi_t vifi, in ipmr_cache_unresolved()
1221 static int ipmr_mfc_delete(struct mr_table *mrt, struct mfcctl *mfc, int parent) in ipmr_mfc_delete()
1241 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1322 static void mroute_clean_tables(struct mr_table *mrt, int flags, in mroute_clean_tables()
1382 struct mr_table *mrt; in mrtsock_destruct()
1415 struct mr_table *mrt; in ip_mroute_setsockopt()
1641 struct mr_table *mrt; in ip_mroute_getsockopt()
1689 struct mr_table *mrt; in ipmr_ioctl()
1757 struct mr_table *mrt; in ipmr_compat_ioctl()
1813 struct mr_table *mrt; in ipmr_device_event()
1879 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1893 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1902 static int ipmr_prepare_xmit(struct net *net, struct mr_table *mrt, in ipmr_prepare_xmit()
1980 static void ipmr_queue_fwd_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_fwd_xmit()
2014 static void ipmr_queue_output_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_output_xmit()
2028 static int ipmr_find_vif(const struct mr_table *mrt, struct net_device *dev) in ipmr_find_vif()
2041 static void ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
2162 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
2177 struct mr_table *mrt; in ipmr_rt_fib_lookup()
2194 struct mr_table *mrt; in ip_mr_input()
2289 static void ip_mr_output_finish(struct net *net, struct mr_table *mrt, in ip_mr_output_finish()
2348 struct mr_table *mrt; in ip_mr_output()
2399 struct mr_table *mrt; in pim_rcv_v1()
2426 struct mr_table *mrt; in pim_rcv()
2454 struct mr_table *mrt; in ipmr_get_route()
2509 static int ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ipmr_fill_mroute()
2553 static int _ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ipmr_fill_mroute()
2582 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, in mroute_netlink_event()
2622 static void igmpmsg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt) in igmpmsg_netlink_event()
2732 struct mr_table *mrt; in ipmr_rtm_getroute()
2799 struct mr_table *mrt; in ipmr_rtm_dumproute()
2863 struct mr_table **mrtret, in rtm_to_ipmr_mfcc()
2869 struct mr_table *mrt; in rtm_to_ipmr_mfcc()
2948 struct mr_table *tbl = NULL; in ipmr_rtm_route()
2969 static bool ipmr_fill_table(struct mr_table *mrt, struct sk_buff *skb) in ipmr_fill_table()
2987 static bool ipmr_fill_vif(struct mr_table *mrt, u32 vifid, struct sk_buff *skb) in ipmr_fill_vif()
3055 struct mr_table *mrt; in ipmr_rtm_dumplink()
3143 struct mr_table *mrt; in ipmr_vif_seq_start()
3166 struct mr_table *mrt = iter->mrt; in ipmr_vif_seq_show()
3198 struct mr_table *mrt; in ipmr_mfc_seq_start()
3217 const struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()