Lines Matching refs:mr_table

74 	struct mr_table		*mrt;
103 static struct mr_table *ipmr_new_table(struct net *net, u32 id);
104 static void ipmr_free_table(struct mr_table *mrt);
106 static void ip_mr_forward(struct net *net, struct mr_table *mrt,
109 static int ipmr_cache_report(const struct mr_table *mrt,
111 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
113 static void igmpmsg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt);
114 static void mroute_clean_tables(struct mr_table *mrt, int flags);
123 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
124 struct mr_table *mrt) in ipmr_mr_table_iter()
126 struct mr_table *ret; in ipmr_mr_table_iter()
130 struct mr_table, list); in ipmr_mr_table_iter()
133 struct mr_table, list); in ipmr_mr_table_iter()
140 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table()
142 struct mr_table *mrt; in __ipmr_get_table()
151 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
153 struct mr_table *mrt; in ipmr_get_table()
162 struct mr_table **mrt) in ipmr_fib_lookup()
186 struct mr_table *mrt; in ipmr_rule_action()
252 struct mr_table *mrt; in ipmr_rules_init()
285 struct mr_table *mrt, *next; in ipmr_rules_exit()
315 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
316 struct mr_table *mrt) in ipmr_mr_table_iter()
323 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
331 struct mr_table **mrt) in ipmr_fib_lookup()
339 struct mr_table *mrt; in ipmr_rules_init()
392 static void ipmr_new_table_set(struct mr_table *mrt, in ipmr_new_table_set()
410 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
412 struct mr_table *mrt; in ipmr_new_table()
426 static void ipmr_free_table(struct mr_table *mrt) in ipmr_free_table()
512 struct mr_table *mrt; in reg_vif_xmit()
559 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
596 static int __pim_rcv(struct mr_table *mrt, struct sk_buff *skb, in __pim_rcv()
634 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
666 static int vif_delete(struct mr_table *mrt, int vifi, int notify, in vif_delete()
737 static void ipmr_destroy_unres(struct mr_table *mrt, struct mfc_cache *c) in ipmr_destroy_unres()
768 struct mr_table *mrt = from_timer(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
805 static void ipmr_update_thresholds(struct mr_table *mrt, struct mr_mfc *cache, in ipmr_update_thresholds()
827 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
932 static struct mfc_cache *ipmr_cache_find(struct mr_table *mrt, in ipmr_cache_find()
945 static struct mfc_cache *ipmr_cache_find_any(struct mr_table *mrt, in ipmr_cache_find_any()
959 static struct mfc_cache *ipmr_cache_find_parent(struct mr_table *mrt, in ipmr_cache_find_parent()
997 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1035 static int ipmr_cache_report(const struct mr_table *mrt, in ipmr_cache_report()
1119 static int ipmr_cache_unresolved(struct mr_table *mrt, vifi_t vifi, in ipmr_cache_unresolved()
1193 static int ipmr_mfc_delete(struct mr_table *mrt, struct mfcctl *mfc, int parent) in ipmr_mfc_delete()
1214 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1295 static void mroute_clean_tables(struct mr_table *mrt, int flags) in mroute_clean_tables()
1351 struct mr_table *mrt; in mrtsock_destruct()
1379 struct mr_table *mrt; in ip_mroute_setsockopt()
1595 struct mr_table *mrt; in ip_mroute_getsockopt()
1643 struct mr_table *mrt; in ipmr_ioctl()
1711 struct mr_table *mrt; in ipmr_compat_ioctl()
1767 struct mr_table *mrt; in ipmr_device_event()
1833 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1847 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1856 static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_xmit()
1959 static int ipmr_find_vif(const struct mr_table *mrt, struct net_device *dev) in ipmr_find_vif()
1972 static void ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
2093 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
2108 struct mr_table *mrt; in ipmr_rt_fib_lookup()
2125 struct mr_table *mrt; in ip_mr_input()
2223 struct mr_table *mrt; in pim_rcv_v1()
2250 struct mr_table *mrt; in pim_rcv()
2278 struct mr_table *mrt; in ipmr_get_route()
2333 static int ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ipmr_fill_mroute()
2377 static int _ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ipmr_fill_mroute()
2406 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, in mroute_netlink_event()
2447 static void igmpmsg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt) in igmpmsg_netlink_event()
2558 struct mr_table *mrt; in ipmr_rtm_getroute()
2623 struct mr_table *mrt; in ipmr_rtm_dumproute()
2678 struct mr_table **mrtret, in rtm_to_ipmr_mfcc()
2683 struct mr_table *mrt; in rtm_to_ipmr_mfcc()
2753 struct mr_table *tbl; in ipmr_rtm_route()
2769 static bool ipmr_fill_table(struct mr_table *mrt, struct sk_buff *skb) in ipmr_fill_table()
2787 static bool ipmr_fill_vif(struct mr_table *mrt, u32 vifid, struct sk_buff *skb) in ipmr_fill_vif()
2855 struct mr_table *mrt; in ipmr_rtm_dumplink()
2939 struct mr_table *mrt; in ipmr_vif_seq_start()
2962 struct mr_table *mrt = iter->mrt; in ipmr_vif_seq_show()
2994 struct mr_table *mrt; in ipmr_mfc_seq_start()
3013 const struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()