Lines Matching refs:mr_table
60 struct mr_table *mrt;
84 static struct mr_table *ip6mr_new_table(struct net *net, u32 id);
85 static void ip6mr_free_table(struct mr_table *mrt);
87 static void ip6_mr_forward(struct net *net, struct mr_table *mrt,
89 static int ip6mr_cache_report(struct mr_table *mrt, struct sk_buff *pkt,
91 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc,
93 static void mrt6msg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt);
96 static void mroute_clean_tables(struct mr_table *mrt, bool all);
103 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
104 struct mr_table *mrt) in ip6mr_mr_table_iter()
106 struct mr_table *ret; in ip6mr_mr_table_iter()
110 struct mr_table, list); in ip6mr_mr_table_iter()
113 struct mr_table, list); in ip6mr_mr_table_iter()
120 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
122 struct mr_table *mrt; in ip6mr_get_table()
132 struct mr_table **mrt) in ip6mr_fib_lookup()
153 struct mr_table *mrt; in ip6mr_rule_action()
222 struct mr_table *mrt; in ip6mr_rules_init()
253 struct mr_table *mrt, *next; in ip6mr_rules_exit()
284 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
285 struct mr_table *mrt) in ip6mr_mr_table_iter()
292 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
298 struct mr_table **mrt) in ip6mr_fib_lookup()
306 struct mr_table *mrt; in ip6mr_rules_init()
354 static void ip6mr_new_table_set(struct mr_table *mrt, in ip6mr_new_table_set()
372 static struct mr_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
374 struct mr_table *mrt; in ip6mr_new_table()
384 static void ip6mr_free_table(struct mr_table *mrt) in ip6mr_free_table()
402 struct mr_table *mrt; in ip6mr_vif_seq_start()
423 struct mr_table *mrt = iter->mrt; in ip6mr_vif_seq_show()
452 struct mr_table *mrt; in ipmr_mfc_seq_start()
473 struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()
519 struct mr_table *mrt; in pim6_rcv()
588 struct mr_table *mrt; in reg_vif_xmit()
631 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr_table *mrt) in ip6mr_reg_vif()
683 static int mif6_delete(struct mr_table *mrt, int vifi, int notify, in mif6_delete()
758 static void ip6mr_destroy_unres(struct mr_table *mrt, struct mfc6_cache *c) in ip6mr_destroy_unres()
784 static void ipmr_do_expire_process(struct mr_table *mrt) in ipmr_do_expire_process()
810 struct mr_table *mrt = from_timer(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
825 static void ip6mr_update_thresholds(struct mr_table *mrt, in ip6mr_update_thresholds()
848 static int mif6_add(struct net *net, struct mr_table *mrt, in mif6_add()
923 static struct mfc6_cache *ip6mr_cache_find(struct mr_table *mrt, in ip6mr_cache_find()
936 static struct mfc6_cache *ip6mr_cache_find_any(struct mr_table *mrt, in ip6mr_cache_find_any()
952 ip6mr_cache_find_parent(struct mr_table *mrt, in ip6mr_cache_find_parent()
992 static void ip6mr_cache_resolve(struct net *net, struct mr_table *mrt, in ip6mr_cache_resolve()
1027 static int ip6mr_cache_report(struct mr_table *mrt, struct sk_buff *pkt, in ip6mr_cache_report()
1122 static int ip6mr_cache_unresolved(struct mr_table *mrt, mifi_t mifi, in ip6mr_cache_unresolved()
1195 static int ip6mr_mfc_delete(struct mr_table *mrt, struct mf6cctl *mfc, in ip6mr_mfc_delete()
1222 struct mr_table *mrt; in ip6mr_device_event()
1389 static int ip6mr_mfc_add(struct net *net, struct mr_table *mrt, in ip6mr_mfc_add()
1482 static void mroute_clean_tables(struct mr_table *mrt, bool all) in mroute_clean_tables()
1522 static int ip6mr_sk_init(struct mr_table *mrt, struct sock *sk) in ip6mr_sk_init()
1552 struct mr_table *mrt; in ip6mr_sk_done()
1586 struct mr_table *mrt; in mroute6_is_socket()
1614 struct mr_table *mrt; in ip6_mroute_setsockopt()
1771 struct mr_table *mrt; in ip6_mroute_getsockopt()
1822 struct mr_table *mrt; in ip6mr_ioctl()
1896 struct mr_table *mrt; in ip6mr_compat_ioctl()
1960 static int ip6mr_forward2(struct net *net, struct mr_table *mrt, in ip6mr_forward2()
2034 static int ip6mr_find_vif(struct mr_table *mrt, struct net_device *dev) in ip6mr_find_vif()
2045 static void ip6_mr_forward(struct net *net, struct mr_table *mrt, in ip6_mr_forward()
2151 struct mr_table *mrt; in ip6_mr_input()
2205 struct mr_table *mrt; in ip6mr_get_route()
2271 static int ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ip6mr_fill_mroute()
2315 static int _ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ip6mr_fill_mroute()
2344 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc, in mr6_netlink_event()
2386 static void mrt6msg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt) in mrt6msg_netlink_event()