diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-12-04 15:07:11 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-04-14 11:44:39 -0300 |
| commit | 018e77bcb55e299a7da7bf5435c32040ec362e46 (patch) | |
| tree | 4846a18d0df62666bd7824fbf5999b8dfe759bc6 /zebra/zebra_dplane.c | |
| parent | d35f447d67a59c8916378662a55eb368990d4706 (diff) | |
zebra: data plane FPM RIB walk code
Implement the code that walks the RIB to send routes that are already
inside the RIB.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_dplane.c')
| -rw-r--r-- | zebra/zebra_dplane.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index dde572df93..e3eeecefc4 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -1525,10 +1525,8 @@ static int dplane_ctx_ns_init(struct zebra_dplane_ctx *ctx, /* * Initialize a context block for a route update from zebra data structs. */ -static int dplane_ctx_route_init(struct zebra_dplane_ctx *ctx, - enum dplane_op_e op, - struct route_node *rn, - struct route_entry *re) +int dplane_ctx_route_init(struct zebra_dplane_ctx *ctx, enum dplane_op_e op, + struct route_node *rn, struct route_entry *re) { int ret = EINVAL; const struct route_table *table = NULL; |
