Lines Matching refs:mr_table

58 	struct mr_table	*mrt;
82 static struct mr_table *ip6mr_new_table(struct net *net, u32 id);
83 static void ip6mr_free_table(struct mr_table *mrt);
85 static void ip6_mr_forward(struct net *net, struct mr_table *mrt,
88 static int ip6mr_cache_report(struct mr_table *mrt, struct sk_buff *pkt,
90 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc,
92 static void mrt6msg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt);
95 static void mroute_clean_tables(struct mr_table *mrt, int flags);
104 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
105 struct mr_table *mrt) in ip6mr_mr_table_iter()
107 struct mr_table *ret; in ip6mr_mr_table_iter()
111 struct mr_table, list); in ip6mr_mr_table_iter()
114 struct mr_table, list); in ip6mr_mr_table_iter()
121 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
123 struct mr_table *mrt; in ip6mr_get_table()
133 struct mr_table **mrt) in ip6mr_fib_lookup()
157 struct mr_table *mrt; in ip6mr_rule_action()
228 struct mr_table *mrt; in ip6mr_rules_init()
261 struct mr_table *mrt, *next; in ip6mr_rules_exit()
293 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
294 struct mr_table *mrt) in ip6mr_mr_table_iter()
301 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
307 struct mr_table **mrt) in ip6mr_fib_lookup()
315 struct mr_table *mrt; in ip6mr_rules_init()
363 static void ip6mr_new_table_set(struct mr_table *mrt, in ip6mr_new_table_set()
381 static struct mr_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
383 struct mr_table *mrt; in ip6mr_new_table()
393 static void ip6mr_free_table(struct mr_table *mrt) in ip6mr_free_table()
412 struct mr_table *mrt; in ip6mr_vif_seq_start()
433 struct mr_table *mrt = iter->mrt; in ip6mr_vif_seq_show()
462 struct mr_table *mrt; in ipmr_mfc_seq_start()
483 struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()
529 struct mr_table *mrt; in pim6_rcv()
598 struct mr_table *mrt; in reg_vif_xmit()
645 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr_table *mrt) in ip6mr_reg_vif()
697 static int mif6_delete(struct mr_table *mrt, int vifi, int notify, in mif6_delete()
772 static void ip6mr_destroy_unres(struct mr_table *mrt, struct mfc6_cache *c) in ip6mr_destroy_unres()
798 static void ipmr_do_expire_process(struct mr_table *mrt) in ipmr_do_expire_process()
824 struct mr_table *mrt = from_timer(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
839 static void ip6mr_update_thresholds(struct mr_table *mrt, in ip6mr_update_thresholds()
862 static int mif6_add(struct net *net, struct mr_table *mrt, in mif6_add()
937 static struct mfc6_cache *ip6mr_cache_find(struct mr_table *mrt, in ip6mr_cache_find()
950 static struct mfc6_cache *ip6mr_cache_find_any(struct mr_table *mrt, in ip6mr_cache_find_any()
966 ip6mr_cache_find_parent(struct mr_table *mrt, in ip6mr_cache_find_parent()
1006 static void ip6mr_cache_resolve(struct net *net, struct mr_table *mrt, in ip6mr_cache_resolve()
1041 static int ip6mr_cache_report(struct mr_table *mrt, struct sk_buff *pkt, in ip6mr_cache_report()
1136 static int ip6mr_cache_unresolved(struct mr_table *mrt, mifi_t mifi, in ip6mr_cache_unresolved()
1213 static int ip6mr_mfc_delete(struct mr_table *mrt, struct mf6cctl *mfc, in ip6mr_mfc_delete()
1240 struct mr_table *mrt; in ip6mr_device_event()
1408 static int ip6mr_mfc_add(struct net *net, struct mr_table *mrt, in ip6mr_mfc_add()
1501 static void mroute_clean_tables(struct mr_table *mrt, int flags) in mroute_clean_tables()
1549 static int ip6mr_sk_init(struct mr_table *mrt, struct sock *sk) in ip6mr_sk_init()
1579 struct mr_table *mrt; in ip6mr_sk_done()
1613 struct mr_table *mrt; in mroute6_is_socket()
1642 struct mr_table *mrt; in ip6_mroute_setsockopt()
1813 struct mr_table *mrt; in ip6_mroute_getsockopt()
1864 struct mr_table *mrt; in ip6mr_ioctl()
1939 struct mr_table *mrt; in ip6mr_compat_ioctl()
2004 static int ip6mr_forward2(struct net *net, struct mr_table *mrt, in ip6mr_forward2()
2078 static int ip6mr_find_vif(struct mr_table *mrt, struct net_device *dev) in ip6mr_find_vif()
2089 static void ip6_mr_forward(struct net *net, struct mr_table *mrt, in ip6_mr_forward()
2195 struct mr_table *mrt; in ip6_mr_input()
2262 struct mr_table *mrt; in ip6mr_get_route()
2328 static int ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ip6mr_fill_mroute()
2372 static int _ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ip6mr_fill_mroute()
2401 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc, in mr6_netlink_event()
2443 static void mrt6msg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt) in mrt6msg_netlink_event()
2505 struct mr_table *mrt; in ip6mr_rtm_dumproute()