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()
139 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
141 struct mr_table *mrt; in ip6mr_get_table()
150 struct mr_table **mrt) in ip6mr_fib_lookup()
174 struct mr_table *mrt; in ip6mr_rule_action()
240 struct mr_table *mrt; in ip6mr_rules_init()
273 struct mr_table *mrt, *next; in ip6mr_rules_exit()
304 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
305 struct mr_table *mrt) in ip6mr_mr_table_iter()
312 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
320 struct mr_table **mrt) in ip6mr_fib_lookup()
328 struct mr_table *mrt; in ip6mr_rules_init()
375 static void ip6mr_new_table_set(struct mr_table *mrt, in ip6mr_new_table_set()
393 static struct mr_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
395 struct mr_table *mrt; in ip6mr_new_table()
405 static void ip6mr_free_table(struct mr_table *mrt) in ip6mr_free_table()
428 struct mr_table *mrt; in ip6mr_vif_seq_start()
451 struct mr_table *mrt = iter->mrt; in ip6mr_vif_seq_show()
484 struct mr_table *mrt; in ipmr_mfc_seq_start()
505 struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()
551 struct mr_table *mrt; in pim6_rcv()
616 struct mr_table *mrt; in reg_vif_xmit()
664 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr_table *mrt) in ip6mr_reg_vif()
717 static int mif6_delete(struct mr_table *mrt, int vifi, int notify, in mif6_delete()
790 static void ip6mr_destroy_unres(struct mr_table *mrt, struct mfc6_cache *c) in ip6mr_destroy_unres()
816 static void ipmr_do_expire_process(struct mr_table *mrt) in ipmr_do_expire_process()
842 struct mr_table *mrt = timer_container_of(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
857 static void ip6mr_update_thresholds(struct mr_table *mrt, in ip6mr_update_thresholds()
880 static int mif6_add(struct net *net, struct mr_table *mrt, in mif6_add()
956 static struct mfc6_cache *ip6mr_cache_find(struct mr_table *mrt, in ip6mr_cache_find()
969 static struct mfc6_cache *ip6mr_cache_find_any(struct mr_table *mrt, in ip6mr_cache_find_any()
985 ip6mr_cache_find_parent(struct mr_table *mrt, in ip6mr_cache_find_parent()
1025 static void ip6mr_cache_resolve(struct net *net, struct mr_table *mrt, in ip6mr_cache_resolve()
1063 static int ip6mr_cache_report(const struct mr_table *mrt, struct sk_buff *pkt, in ip6mr_cache_report()
1159 static int ip6mr_cache_unresolved(struct mr_table *mrt, mifi_t mifi, in ip6mr_cache_unresolved()
1236 static int ip6mr_mfc_delete(struct mr_table *mrt, struct mf6cctl *mfc, in ip6mr_mfc_delete()
1263 struct mr_table *mrt; in ip6mr_device_event()
1443 static int ip6mr_mfc_add(struct net *net, struct mr_table *mrt, in ip6mr_mfc_add()
1536 static void mroute_clean_tables(struct mr_table *mrt, int flags) in mroute_clean_tables()
1584 static int ip6mr_sk_init(struct mr_table *mrt, struct sock *sk) in ip6mr_sk_init()
1614 struct mr_table *mrt; in ip6mr_sk_done()
1653 struct mr_table *mrt; in mroute6_is_socket()
1682 struct mr_table *mrt; in ip6_mroute_setsockopt()
1857 struct mr_table *mrt; in ip6_mroute_getsockopt()
1907 struct mr_table *mrt; in ip6mr_ioctl()
1975 struct mr_table *mrt; in ip6mr_compat_ioctl()
2038 static int ip6mr_prepare_xmit(struct net *net, struct mr_table *mrt, in ip6mr_prepare_xmit()
2103 static void ip6mr_forward2(struct net *net, struct mr_table *mrt, in ip6mr_forward2()
2122 static void ip6mr_output2(struct net *net, struct mr_table *mrt, in ip6mr_output2()
2136 static int ip6mr_find_vif(struct mr_table *mrt, struct net_device *dev) in ip6mr_find_vif()
2149 static void ip6_mr_forward(struct net *net, struct mr_table *mrt, in ip6_mr_forward()
2248 static void ip6_mr_output_finish(struct net *net, struct mr_table *mrt, in ip6_mr_output_finish()
2307 struct mr_table *mrt; in ip6_mr_input()
2371 struct mr_table *mrt; in ip6_mr_output()
2422 struct mr_table *mrt; in ip6mr_get_route()
2490 static int ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ip6mr_fill_mroute()
2534 static int _ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ip6mr_fill_mroute()
2563 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc, in mr6_netlink_event()
2604 static void mrt6msg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt) in mrt6msg_netlink_event()
2697 struct mr_table *mrt; in ip6mr_rtm_getroute()
2757 struct mr_table *mrt; in ip6mr_rtm_dumproute()