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()
259 struct mr_table *mrt, *next; in ip6mr_rules_exit()
291 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
292 struct mr_table *mrt) in ip6mr_mr_table_iter()
299 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
305 struct mr_table **mrt) in ip6mr_fib_lookup()
313 struct mr_table *mrt; in ip6mr_rules_init()
361 static void ip6mr_new_table_set(struct mr_table *mrt, in ip6mr_new_table_set()
379 static struct mr_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
381 struct mr_table *mrt; in ip6mr_new_table()
391 static void ip6mr_free_table(struct mr_table *mrt) in ip6mr_free_table()
410 struct mr_table *mrt; in ip6mr_vif_seq_start()
431 struct mr_table *mrt = iter->mrt; in ip6mr_vif_seq_show()
460 struct mr_table *mrt; in ipmr_mfc_seq_start()
481 struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()
527 struct mr_table *mrt; in pim6_rcv()
595 struct mr_table *mrt; in reg_vif_xmit()
642 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr_table *mrt) in ip6mr_reg_vif()
694 static int mif6_delete(struct mr_table *mrt, int vifi, int notify, in mif6_delete()
769 static void ip6mr_destroy_unres(struct mr_table *mrt, struct mfc6_cache *c) in ip6mr_destroy_unres()
795 static void ipmr_do_expire_process(struct mr_table *mrt) in ipmr_do_expire_process()
821 struct mr_table *mrt = from_timer(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
836 static void ip6mr_update_thresholds(struct mr_table *mrt, in ip6mr_update_thresholds()
859 static int mif6_add(struct net *net, struct mr_table *mrt, in mif6_add()
934 static struct mfc6_cache *ip6mr_cache_find(struct mr_table *mrt, in ip6mr_cache_find()
947 static struct mfc6_cache *ip6mr_cache_find_any(struct mr_table *mrt, in ip6mr_cache_find_any()
963 ip6mr_cache_find_parent(struct mr_table *mrt, in ip6mr_cache_find_parent()
1003 static void ip6mr_cache_resolve(struct net *net, struct mr_table *mrt, in ip6mr_cache_resolve()
1038 static int ip6mr_cache_report(struct mr_table *mrt, struct sk_buff *pkt, in ip6mr_cache_report()
1133 static int ip6mr_cache_unresolved(struct mr_table *mrt, mifi_t mifi, in ip6mr_cache_unresolved()
1210 static int ip6mr_mfc_delete(struct mr_table *mrt, struct mf6cctl *mfc, in ip6mr_mfc_delete()
1237 struct mr_table *mrt; in ip6mr_device_event()
1405 static int ip6mr_mfc_add(struct net *net, struct mr_table *mrt, in ip6mr_mfc_add()
1498 static void mroute_clean_tables(struct mr_table *mrt, int flags) in mroute_clean_tables()
1546 static int ip6mr_sk_init(struct mr_table *mrt, struct sock *sk) in ip6mr_sk_init()
1576 struct mr_table *mrt; in ip6mr_sk_done()
1610 struct mr_table *mrt; in mroute6_is_socket()
1639 struct mr_table *mrt; in ip6_mroute_setsockopt()
1810 struct mr_table *mrt; in ip6_mroute_getsockopt()
1861 struct mr_table *mrt; in ip6mr_ioctl()
1936 struct mr_table *mrt; in ip6mr_compat_ioctl()
2001 static int ip6mr_forward2(struct net *net, struct mr_table *mrt, in ip6mr_forward2()
2075 static int ip6mr_find_vif(struct mr_table *mrt, struct net_device *dev) in ip6mr_find_vif()
2086 static void ip6_mr_forward(struct net *net, struct mr_table *mrt, in ip6_mr_forward()
2192 struct mr_table *mrt; in ip6_mr_input()
2259 struct mr_table *mrt; in ip6mr_get_route()
2325 static int ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ip6mr_fill_mroute()
2369 static int _ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ip6mr_fill_mroute()
2398 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc, in mr6_netlink_event()
2440 static void mrt6msg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt) in mrt6msg_netlink_event()
2502 struct mr_table *mrt; in ip6mr_rtm_dumproute()