diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2020-08-11 04:09:12 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2020-08-11 06:07:11 +0200 |
commit | 75eddbc39225b7218b7f7094cdb78d2e3c35d563 (patch) | |
tree | 3561f7bc1a8ed4ec71c6bc6cacd545bab6247efa /isisd/isisd.h | |
parent | isisd: remove unnecessary QOBJ usage (diff) | |
download | frr-75eddbc39225b7218b7f7094cdb78d2e3c35d563.tar.xz frr-75eddbc39225b7218b7f7094cdb78d2e3c35d563.zip |
isisd: introduce per-area list of IS-IS adjacencies
This should simplify all code that needs to iterate over all
adjacencies of a given area (iterating over all adjacencies of all
circuits is cumbersome).
While here, repurpose isis_adj_exists() into a lookup function,
making it more generally useful.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r-- | isisd/isisd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h index 5a6c704b7..724d5f8e5 100644 --- a/isisd/isisd.h +++ b/isisd/isisd.h @@ -107,6 +107,7 @@ struct isis_area { #define DEFAULT_LSP_MTU 1497 unsigned int lsp_mtu; /* Size of LSPs to generate */ struct list *circuit_list; /* IS-IS circuits */ + struct list *adjacency_list; /* IS-IS adjacencies */ struct flags flags; struct thread *t_tick; /* LSP walker */ struct thread *t_lsp_refresh[ISIS_LEVELS]; |