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);
102 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
103 struct mr_table *mrt) in ip6mr_mr_table_iter()
105 struct mr_table *ret; in ip6mr_mr_table_iter()
109 struct mr_table, list); in ip6mr_mr_table_iter()
112 struct mr_table, list); in ip6mr_mr_table_iter()
119 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
121 struct mr_table *mrt; in ip6mr_get_table()
131 struct mr_table **mrt) in ip6mr_fib_lookup()
155 struct mr_table *mrt; in ip6mr_rule_action()
226 struct mr_table *mrt; in ip6mr_rules_init()
257 struct mr_table *mrt, *next; in ip6mr_rules_exit()
288 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
289 struct mr_table *mrt) in ip6mr_mr_table_iter()
296 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
302 struct mr_table **mrt) in ip6mr_fib_lookup()
310 struct mr_table *mrt; in ip6mr_rules_init()
357 static void ip6mr_new_table_set(struct mr_table *mrt, in ip6mr_new_table_set()
375 static struct mr_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
377 struct mr_table *mrt; in ip6mr_new_table()
387 static void ip6mr_free_table(struct mr_table *mrt) in ip6mr_free_table()
406 struct mr_table *mrt; in ip6mr_vif_seq_start()
427 struct mr_table *mrt = iter->mrt; in ip6mr_vif_seq_show()
456 struct mr_table *mrt; in ipmr_mfc_seq_start()
477 struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()
523 struct mr_table *mrt; in pim6_rcv()
592 struct mr_table *mrt; in reg_vif_xmit()
639 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr_table *mrt) in ip6mr_reg_vif()
691 static int mif6_delete(struct mr_table *mrt, int vifi, int notify, in mif6_delete()
766 static void ip6mr_destroy_unres(struct mr_table *mrt, struct mfc6_cache *c) in ip6mr_destroy_unres()
792 static void ipmr_do_expire_process(struct mr_table *mrt) in ipmr_do_expire_process()
818 struct mr_table *mrt = from_timer(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
833 static void ip6mr_update_thresholds(struct mr_table *mrt, in ip6mr_update_thresholds()
856 static int mif6_add(struct net *net, struct mr_table *mrt, in mif6_add()
931 static struct mfc6_cache *ip6mr_cache_find(struct mr_table *mrt, in ip6mr_cache_find()
944 static struct mfc6_cache *ip6mr_cache_find_any(struct mr_table *mrt, in ip6mr_cache_find_any()
960 ip6mr_cache_find_parent(struct mr_table *mrt, in ip6mr_cache_find_parent()
1000 static void ip6mr_cache_resolve(struct net *net, struct mr_table *mrt, in ip6mr_cache_resolve()
1035 static int ip6mr_cache_report(struct mr_table *mrt, struct sk_buff *pkt, in ip6mr_cache_report()
1130 static int ip6mr_cache_unresolved(struct mr_table *mrt, mifi_t mifi, in ip6mr_cache_unresolved()
1207 static int ip6mr_mfc_delete(struct mr_table *mrt, struct mf6cctl *mfc, in ip6mr_mfc_delete()
1234 struct mr_table *mrt; in ip6mr_device_event()
1401 static int ip6mr_mfc_add(struct net *net, struct mr_table *mrt, in ip6mr_mfc_add()
1494 static void mroute_clean_tables(struct mr_table *mrt, int flags) in mroute_clean_tables()
1542 static int ip6mr_sk_init(struct mr_table *mrt, struct sock *sk) in ip6mr_sk_init()
1572 struct mr_table *mrt; in ip6mr_sk_done()
1606 struct mr_table *mrt; in mroute6_is_socket()
1634 struct mr_table *mrt; in ip6_mroute_setsockopt()
1805 struct mr_table *mrt; in ip6_mroute_getsockopt()
1856 struct mr_table *mrt; in ip6mr_ioctl()
1931 struct mr_table *mrt; in ip6mr_compat_ioctl()
1996 static int ip6mr_forward2(struct net *net, struct mr_table *mrt, in ip6mr_forward2()
2070 static int ip6mr_find_vif(struct mr_table *mrt, struct net_device *dev) in ip6mr_find_vif()
2081 static void ip6_mr_forward(struct net *net, struct mr_table *mrt, in ip6_mr_forward()
2187 struct mr_table *mrt; in ip6_mr_input()
2254 struct mr_table *mrt; in ip6mr_get_route()
2320 static int ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ip6mr_fill_mroute()
2364 static int _ip6mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ip6mr_fill_mroute()
2393 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc, in mr6_netlink_event()
2435 static void mrt6msg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt) in mrt6msg_netlink_event()
2497 struct mr_table *mrt; in ip6mr_rtm_dumproute()