Lines Matching refs:mr_table
77 struct mr_table *mrt;
101 static struct mr_table *ipmr_new_table(struct net *net, u32 id);
102 static void ipmr_free_table(struct mr_table *mrt);
104 static void ip_mr_forward(struct net *net, struct mr_table *mrt,
107 static int ipmr_cache_report(struct mr_table *mrt,
109 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
111 static void igmpmsg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt);
112 static void mroute_clean_tables(struct mr_table *mrt, bool all);
119 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
120 struct mr_table *mrt) in ipmr_mr_table_iter()
122 struct mr_table *ret; in ipmr_mr_table_iter()
126 struct mr_table, list); in ipmr_mr_table_iter()
129 struct mr_table, list); in ipmr_mr_table_iter()
136 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
138 struct mr_table *mrt; in ipmr_get_table()
148 struct mr_table **mrt) in ipmr_fib_lookup()
172 struct mr_table *mrt; in ipmr_rule_action()
243 struct mr_table *mrt; in ipmr_rules_init()
274 struct mr_table *mrt, *next; in ipmr_rules_exit()
304 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
305 struct mr_table *mrt) in ipmr_mr_table_iter()
312 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
318 struct mr_table **mrt) in ipmr_fib_lookup()
326 struct mr_table *mrt; in ipmr_rules_init()
380 static void ipmr_new_table_set(struct mr_table *mrt, in ipmr_new_table_set()
398 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
400 struct mr_table *mrt; in ipmr_new_table()
414 static void ipmr_free_table(struct mr_table *mrt) in ipmr_free_table()
525 struct mr_table *mrt; in reg_vif_xmit()
568 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
605 static int __pim_rcv(struct mr_table *mrt, struct sk_buff *skb, in __pim_rcv()
643 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
671 static int vif_delete(struct mr_table *mrt, int vifi, int notify, in vif_delete()
745 static void ipmr_destroy_unres(struct mr_table *mrt, struct mfc_cache *c) in ipmr_destroy_unres()
776 struct mr_table *mrt = from_timer(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
813 static void ipmr_update_thresholds(struct mr_table *mrt, struct mr_mfc *cache, in ipmr_update_thresholds()
835 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
944 static struct mfc_cache *ipmr_cache_find(struct mr_table *mrt, in ipmr_cache_find()
957 static struct mfc_cache *ipmr_cache_find_any(struct mr_table *mrt, in ipmr_cache_find_any()
971 static struct mfc_cache *ipmr_cache_find_parent(struct mr_table *mrt, in ipmr_cache_find_parent()
1009 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1045 static int ipmr_cache_report(struct mr_table *mrt, in ipmr_cache_report()
1124 static int ipmr_cache_unresolved(struct mr_table *mrt, vifi_t vifi, in ipmr_cache_unresolved()
1198 static int ipmr_mfc_delete(struct mr_table *mrt, struct mfcctl *mfc, int parent) in ipmr_mfc_delete()
1219 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1300 static void mroute_clean_tables(struct mr_table *mrt, bool all) in mroute_clean_tables()
1347 struct mr_table *mrt; in mrtsock_destruct()
1375 struct mr_table *mrt; in ip_mroute_setsockopt()
1557 struct mr_table *mrt; in ip_mroute_getsockopt()
1603 struct mr_table *mrt; in ipmr_ioctl()
1677 struct mr_table *mrt; in ipmr_compat_ioctl()
1732 struct mr_table *mrt; in ipmr_device_event()
1799 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1813 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1822 static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_xmit()
1923 static int ipmr_find_vif(struct mr_table *mrt, struct net_device *dev) in ipmr_find_vif()
1935 static void ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
2054 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
2069 struct mr_table *mrt; in ipmr_rt_fib_lookup()
2086 struct mr_table *mrt; in ip_mr_input()
2192 struct mr_table *mrt; in pim_rcv_v1()
2219 struct mr_table *mrt; in pim_rcv()
2247 struct mr_table *mrt; in ipmr_get_route()
2305 static int ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ipmr_fill_mroute()
2349 static int _ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ipmr_fill_mroute()
2378 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, in mroute_netlink_event()
2419 static void igmpmsg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt) in igmpmsg_netlink_event()
2474 struct mr_table *mrt; in ipmr_rtm_getroute()
2570 struct mr_table **mrtret, in rtm_to_ipmr_mfcc()
2575 struct mr_table *mrt; in rtm_to_ipmr_mfcc()
2645 struct mr_table *tbl; in ipmr_rtm_route()
2661 static bool ipmr_fill_table(struct mr_table *mrt, struct sk_buff *skb) in ipmr_fill_table()
2679 static bool ipmr_fill_vif(struct mr_table *mrt, u32 vifid, struct sk_buff *skb) in ipmr_fill_vif()
2719 struct mr_table *mrt; in ipmr_rtm_dumplink()
2796 struct mr_table *mrt; in ipmr_vif_seq_start()
2817 struct mr_table *mrt = iter->mrt; in ipmr_vif_seq_show()
2847 struct mr_table *mrt; in ipmr_mfc_seq_start()
2866 const struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()