summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-09-29 17:59:50 +0200
committerMaria Matejka <mq@ucw.cz>2021-11-22 19:05:44 +0100
commit18f66055e3f7eec2108e18679652aee47f5de6b2 (patch)
treec2195765f7444c838e48a5827bf20b7d406f8ab0 /nest/route.h
parent038fcf1c8b7716415235384de5dc47d07dc45b85 (diff)
Global table update pool removed
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/nest/route.h b/nest/route.h
index b327e42a..e2dc9986 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -197,6 +197,8 @@ typedef struct rtable {
struct fib_iterator nhu_fit; /* Next Hop Update FIB iterator */
struct tbf rl_pipe; /* Rate limiting token buffer for pipe collisions */
+ linpool *nhu_lp; /* Linpool used for NHU */
+
list subscribers; /* Subscribers for notifications */
struct timer *settle_timer; /* Settle time for notifications */
@@ -874,12 +876,12 @@ void rta_show(struct cli *, const rta *);
u32 rt_get_igp_metric(rte *);
struct hostentry * rt_get_hostentry(rtable *tab, ip_addr a, ip_addr ll, rtable *dep);
-void rta_apply_hostentry(rta *a, struct hostentry *he, mpls_label_stack *mls);
+void rta_apply_hostentry(rta *a, struct hostentry *he, mpls_label_stack *mls, linpool *lp);
static inline void
-rta_set_recursive_next_hop(rtable *dep, rta *a, rtable *tab, ip_addr gw, ip_addr ll, mpls_label_stack *mls)
+rta_set_recursive_next_hop(rtable *dep, rta *a, rtable *tab, ip_addr gw, ip_addr ll, mpls_label_stack *mls, linpool *lp)
{
- rta_apply_hostentry(a, rt_get_hostentry(tab, gw, ll, dep), mls);
+ rta_apply_hostentry(a, rt_get_hostentry(tab, gw, ll, dep), mls, lp);
}
/*