summaryrefslogtreecommitdiffstats
path: root/isisd/isis_zebra.h
diff options
context:
space:
mode:
authorKaushik <kaushik@niralnetworks.com>2020-06-19 20:46:12 +0200
committerKaushik <kaushik@niralnetworks.com>2020-06-19 20:46:12 +0200
commitdc18b3b03223fb83b6027873bd93795041e9a15a (patch)
treeb845e27f80c69f009870954ea86d722123abdecb /isisd/isis_zebra.h
parentMerge pull request #6615 from opensourcerouting/build-assorted-20200619 (diff)
downloadfrr-dc18b3b03223fb83b6027873bd93795041e9a15a.tar.xz
frr-dc18b3b03223fb83b6027873bd93795041e9a15a.zip
ISIS VRF: Route info with vrf_id from ISIS to Zebra
1. The "VRF_DEFAULT" param is changed to "isis->vrf_id" before sending the routes to zebra. Signed-off-by: Kaushik <kaushik@niralnetworks.com>
Diffstat (limited to 'isisd/isis_zebra.h')
-rw-r--r--isisd/isis_zebra.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/isisd/isis_zebra.h b/isisd/isis_zebra.h
index b143d3462..2fb54a629 100644
--- a/isisd/isis_zebra.h
+++ b/isisd/isis_zebra.h
@@ -22,6 +22,8 @@
#ifndef _ZEBRA_ISIS_ZEBRA_H
#define _ZEBRA_ISIS_ZEBRA_H
+#include "isisd.h"
+
extern struct zclient *zclient;
struct label_chunk {
@@ -38,10 +40,12 @@ struct isis_route_info;
struct sr_prefix;
struct sr_adjacency;
-void isis_zebra_route_add_route(struct prefix *prefix,
+void isis_zebra_route_add_route(struct isis *isis,
+ struct prefix *prefix,
struct prefix_ipv6 *src_p,
struct isis_route_info *route_info);
-void isis_zebra_route_del_route(struct prefix *prefix,
+void isis_zebra_route_del_route(struct isis *isis,
+ struct prefix *prefix,
struct prefix_ipv6 *src_p,
struct isis_route_info *route_info);
void isis_zebra_send_prefix_sid(int cmd, const struct sr_prefix *srp);