Lines Matching refs:mr_table

58 	struct mr_table	*mrt;
87 static struct mr_table *ip6mr_new_table(struct net *net, u32 id);
88 static void ip6mr_free_table(struct mr_table *mrt);
90 static void ip6_mr_forward(struct net *net, struct mr_table *mrt,
93 static int ip6mr_cache_report(const struct mr_table *mrt, struct sk_buff *pkt,
95 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc,
97 static void mrt6msg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt);
102 static void mroute_clean_tables(struct mr_table *mrt, int flags);
111 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
112 struct mr_table *mrt) in ip6mr_mr_table_iter()
114 struct mr_table *ret; in ip6mr_mr_table_iter()
118 struct mr_table, list); in ip6mr_mr_table_iter()
121 struct mr_table, list); in ip6mr_mr_table_iter()
128 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
130 struct mr_table *mrt; in ip6mr_get_table()
140 struct mr_table **mrt) in ip6mr_fib_lookup()
164 struct mr_table *mrt; in ip6mr_rule_action()
230 struct mr_table *mrt; in ip6mr_rules_init()
263 struct mr_table *mrt, *next; in ip6mr_rules_exit()
294 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
295 struct mr_table *mrt) in ip6mr_mr_table_iter()
302 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
308 struct mr_table **mrt) in ip6mr_fib_lookup()
316 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()
466 struct mr_table *mrt; in ipmr_mfc_seq_start()
487 struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()
533 struct mr_table *mrt; in pim6_rcv()
598 struct mr_table *mrt; in reg_vif_xmit()
646 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr_table *mrt) in ip6mr_reg_vif()
699 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()
938 static struct mfc6_cache *ip6mr_cache_find(struct mr_table *mrt, in ip6mr_cache_find()
951 static struct mfc6_cache *ip6mr_cache_find_any(struct mr_table *mrt, in ip6mr_cache_find_any()
967 ip6mr_cache_find_parent(struct mr_table *mrt, in ip6mr_cache_find_parent()
1007 static void ip6mr_cache_resolve(struct net *net, struct mr_table *mrt, in ip6mr_cache_resolve()
1045 static int ip6mr_cache_report(const struct mr_table *mrt, struct sk_buff *pkt, in ip6mr_cache_report()
1141 static int ip6mr_cache_unresolved(struct mr_table *mrt, mifi_t mifi, in ip6mr_cache_unresolved()
1218 static int ip6mr_mfc_delete(struct mr_table *mrt, struct mf6cctl *mfc, in ip6mr_mfc_delete()
1245 struct mr_table *mrt; in ip6mr_device_event()
1425 static int ip6mr_mfc_add(struct net *net, struct mr_table *mrt, in ip6mr_mfc_add()
1518 static void mroute_clean_tables(struct mr_table *mrt, int flags) in mroute_clean_tables()
1566 static int ip6mr_sk_init(struct mr_table *mrt, struct sock *sk) in ip6mr_sk_init()
1596 struct mr_table *mrt; in ip6mr_sk_done()
1635 struct mr_table *mrt; in mroute6_is_socket()
1664 struct mr_table *mrt; in ip6_mroute_setsockopt()
1839 struct mr_table *mrt; in ip6_mroute_getsockopt()
1890 struct mr_table *mrt; in ip6mr_ioctl()
1965 struct mr_table *mrt; in ip6mr_compat_ioctl()
2030 static int ip6mr_forward2(struct net *net, struct mr_table *mrt, in ip6mr_forward2()
2105 static int ip6mr_find_vif(struct mr_table *mrt, struct net_device *dev) in ip6mr_find_vif()
2118 static void ip6_mr_forward(struct net *net, struct mr_table *mrt, in ip6_mr_forward()
2225 struct mr_table *mrt; in ip6_mr_input()
2287 struct mr_table *mrt; in ip6mr_get_route()
2353 static int ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ip6mr_fill_mroute()
2397 static int _ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ip6mr_fill_mroute()
2426 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc, in mr6_netlink_event()
2468 static void mrt6msg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt) in mrt6msg_netlink_event()
2561 struct mr_table *mrt; in ip6mr_rtm_getroute()
2619 struct mr_table *mrt; in ip6mr_rtm_dumproute()