summaryrefslogtreecommitdiff
path: root/isisd/isis_redist.h
diff options
context:
space:
mode:
authorKaushik <kaushik@niralnetworks.com>2020-07-13 05:37:59 -0700
committerKaushik <kaushik@niralnetworks.com>2020-08-14 13:46:22 -0700
commiteab88f3655ba7549211f6bcc6fbc8edc3d51ede1 (patch)
treeb8b2601b48d5f19a3d6648174567c8c364a2e8f3 /isisd/isis_redist.h
parent40ce7a420341c7609945727de9dcbd71b0c17485 (diff)
isisd : Transformational changes to support different VRFs.
1. Created a structure "isis master". 2. All the changes are related to handle ISIS with different vrf. 3. A new variable added in structure "isis" to store the vrf name. 4. The display commands for isis is changed to support different VRFs. Signed-off-by: Kaushik <kaushik@niralnetworks.com>
Diffstat (limited to 'isisd/isis_redist.h')
-rw-r--r--isisd/isis_redist.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/isisd/isis_redist.h b/isisd/isis_redist.h
index 9c37c310ea..0d2dc6a803 100644
--- a/isisd/isis_redist.h
+++ b/isisd/isis_redist.h
@@ -40,6 +40,7 @@ struct isis_redist {
struct route_map *map;
};
+struct isis;
struct isis_area;
struct prefix;
struct prefix_ipv6;
@@ -47,9 +48,11 @@ struct vty;
struct route_table *get_ext_reach(struct isis_area *area, int family,
int level);
-void isis_redist_add(int type, struct prefix *p, struct prefix_ipv6 *src_p,
- uint8_t distance, uint32_t metric);
-void isis_redist_delete(int type, struct prefix *p, struct prefix_ipv6 *src_p);
+void isis_redist_add(struct isis *isis, int type, struct prefix *p,
+ struct prefix_ipv6 *src_p, uint8_t distance,
+ uint32_t metric);
+void isis_redist_delete(struct isis *isis, int type, struct prefix *p,
+ struct prefix_ipv6 *src_p);
int isis_redist_config_write(struct vty *vty, struct isis_area *area,
int family);
void isis_redist_init(void);