Lines Matching refs:mr_table
73 struct mr_table *mrt;
97 static struct mr_table *ipmr_new_table(struct net *net, u32 id);
98 static void ipmr_free_table(struct mr_table *mrt);
100 static void ip_mr_forward(struct net *net, struct mr_table *mrt,
103 static int ipmr_cache_report(struct mr_table *mrt,
105 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
107 static void igmpmsg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt);
108 static void mroute_clean_tables(struct mr_table *mrt, int flags);
115 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
116 struct mr_table *mrt) in ipmr_mr_table_iter()
118 struct mr_table *ret; in ipmr_mr_table_iter()
122 struct mr_table, list); in ipmr_mr_table_iter()
125 struct mr_table, list); in ipmr_mr_table_iter()
132 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
134 struct mr_table *mrt; in ipmr_get_table()
144 struct mr_table **mrt) in ipmr_fib_lookup()
168 struct mr_table *mrt; in ipmr_rule_action()
239 struct mr_table *mrt; in ipmr_rules_init()
270 struct mr_table *mrt, *next; in ipmr_rules_exit()
300 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
301 struct mr_table *mrt) in ipmr_mr_table_iter()
308 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
314 struct mr_table **mrt) in ipmr_fib_lookup()
322 struct mr_table *mrt; in ipmr_rules_init()
375 static void ipmr_new_table_set(struct mr_table *mrt, in ipmr_new_table_set()
393 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
395 struct mr_table *mrt; in ipmr_new_table()
409 static void ipmr_free_table(struct mr_table *mrt) in ipmr_free_table()
521 struct mr_table *mrt; in reg_vif_xmit()
564 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
601 static int __pim_rcv(struct mr_table *mrt, struct sk_buff *skb, in __pim_rcv()
639 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
667 static int vif_delete(struct mr_table *mrt, int vifi, int notify, in vif_delete()
741 static void ipmr_destroy_unres(struct mr_table *mrt, struct mfc_cache *c) in ipmr_destroy_unres()
772 struct mr_table *mrt = from_timer(mrt, t, ipmr_expire_timer); in ipmr_expire_process()
809 static void ipmr_update_thresholds(struct mr_table *mrt, struct mr_mfc *cache, in ipmr_update_thresholds()
831 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
938 static struct mfc_cache *ipmr_cache_find(struct mr_table *mrt, in ipmr_cache_find()
951 static struct mfc_cache *ipmr_cache_find_any(struct mr_table *mrt, in ipmr_cache_find_any()
965 static struct mfc_cache *ipmr_cache_find_parent(struct mr_table *mrt, in ipmr_cache_find_parent()
1003 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1039 static int ipmr_cache_report(struct mr_table *mrt, in ipmr_cache_report()
1118 static int ipmr_cache_unresolved(struct mr_table *mrt, vifi_t vifi, in ipmr_cache_unresolved()
1192 static int ipmr_mfc_delete(struct mr_table *mrt, struct mfcctl *mfc, int parent) in ipmr_mfc_delete()
1213 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1294 static void mroute_clean_tables(struct mr_table *mrt, int flags) in mroute_clean_tables()
1350 struct mr_table *mrt; in mrtsock_destruct()
1378 struct mr_table *mrt; in ip_mroute_setsockopt()
1571 struct mr_table *mrt; in ip_mroute_getsockopt()
1617 struct mr_table *mrt; in ipmr_ioctl()
1692 struct mr_table *mrt; in ipmr_compat_ioctl()
1748 struct mr_table *mrt; in ipmr_device_event()
1815 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1829 static bool ipmr_forward_offloaded(struct sk_buff *skb, struct mr_table *mrt, in ipmr_forward_offloaded()
1838 static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_xmit()
1938 static int ipmr_find_vif(struct mr_table *mrt, struct net_device *dev) in ipmr_find_vif()
1950 static void ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
2069 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
2084 struct mr_table *mrt; in ipmr_rt_fib_lookup()
2101 struct mr_table *mrt; in ip_mr_input()
2207 struct mr_table *mrt; in pim_rcv_v1()
2234 struct mr_table *mrt; in pim_rcv()
2262 struct mr_table *mrt; in ipmr_get_route()
2321 static int ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in ipmr_fill_mroute()
2365 static int _ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, in _ipmr_fill_mroute()
2394 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, in mroute_netlink_event()
2435 static void igmpmsg_netlink_event(struct mr_table *mrt, struct sk_buff *pkt) in igmpmsg_netlink_event()
2545 struct mr_table *mrt; in ipmr_rtm_getroute()
2608 struct mr_table *mrt; in ipmr_rtm_dumproute()
2663 struct mr_table **mrtret, in rtm_to_ipmr_mfcc()
2668 struct mr_table *mrt; in rtm_to_ipmr_mfcc()
2738 struct mr_table *tbl; in ipmr_rtm_route()
2754 static bool ipmr_fill_table(struct mr_table *mrt, struct sk_buff *skb) in ipmr_fill_table()
2772 static bool ipmr_fill_vif(struct mr_table *mrt, u32 vifid, struct sk_buff *skb) in ipmr_fill_vif()
2837 struct mr_table *mrt; in ipmr_rtm_dumplink()
2921 struct mr_table *mrt; in ipmr_vif_seq_start()
2942 struct mr_table *mrt = iter->mrt; in ipmr_vif_seq_show()
2972 struct mr_table *mrt; in ipmr_mfc_seq_start()
2991 const struct mr_table *mrt = it->mrt; in ipmr_mfc_seq_show()