Searched refs:mrt (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ipv4/ |
| H A D | ipmr_base.c | 35 void (*table_set)(struct mr_table *mrt, in mr_table_alloc() argument 38 struct mr_table *mrt; in mr_table_alloc() local 41 mrt = kzalloc(sizeof(*mrt), GFP_KERNEL); in mr_table_alloc() 42 if (!mrt) in mr_table_alloc() 44 mrt->id = id; in mr_table_alloc() 45 write_pnet(&mrt->net, net); in mr_table_alloc() 47 mrt->ops = *ops; in mr_table_alloc() 48 err = rhltable_init(&mrt->mfc_hash, mrt->ops.rht_params); in mr_table_alloc() 50 kfree(mrt); in mr_table_alloc() 53 INIT_LIST_HEAD(&mrt->mfc_cache_list); in mr_table_alloc() [all …]
|
| /linux/net/ipv6/ |
| H A D | ip6mr.c | 58 struct mr_table *mrt; member 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); 106 #define ip6mr_for_each_table(mrt, net) \ argument 107 list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list, \ 112 struct mr_table *mrt) in ip6mr_mr_table_iter() argument [all …]
|
| /linux/include/linux/ |
| H A D | mroute_base.h | 282 void (*table_set)(struct mr_table *mrt, 288 void *mr_mfc_find_parent(struct mr_table *mrt, 290 void *mr_mfc_find_any_parent(struct mr_table *mrt, int vifi); 291 void *mr_mfc_find_any(struct mr_table *mrt, int vifi, void *hasharg); 293 int mr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, 295 int mr_table_dump(struct mr_table *mrt, struct sk_buff *skb, 297 int (*fill)(struct mr_table *mrt, struct sk_buff *skb, 303 struct mr_table *mrt), 304 int (*fill)(struct mr_table *mrt, 315 struct mr_table *mrt), [all …]
|