From f1082d1934fae86e67b13594d2b506d1147f022f Mon Sep 17 00:00:00 2001 From: hasso Date: Mon, 19 Sep 2005 04:23:34 +0000 Subject: * isis_lsp.h: Added backpointer to the area from LSP. For now it's used only in generated topology LSPs. * isisd.[ch]: Cleanup CLI commands related to topology generation and added command to specify base fo dynamic hostname for topology LSPs. * isis_lsp.c: Rewrite almost all code related to generation topology LSPs (top_lsp_refresh(), generate_topology_lsps() and build_topology_lsp_data() functions). Topology is connected to own LSP now (lsp_build_nonpseudo). Commented out lsppdu_realloc functions, it's not used any more hopefully. Topology generation feature is actually useful now. --- isisd/isisd.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'isisd/isisd.h') diff --git a/isisd/isisd.h b/isisd/isisd.h index 7a9f7644..e66f60e7 100644 --- a/isisd/isisd.h +++ b/isisd/isisd.h @@ -123,11 +123,13 @@ struct isis_area #endif /* HAVE_IPV6 */ /* Counters */ u_int32_t circuit_state_changes; + #ifdef TOPOLOGY_GENERATE struct list *topology; - char topology_baseis[ISIS_SYS_ID_LEN]; /* is for the first is emulated */ - char top_params[200]; /* FIXME: what is reasonable? */ -#endif /* TOPOLOGY_GENERATE */ + char topology_baseis[ISIS_SYS_ID_LEN]; /* IS for the first IS emulated. */ + char *topology_basedynh; /* Dynamic hostname base. */ + char top_params[200]; /* FIXME: what is reasonable? */ +#endif /* TOPOLOGY_GENERATE */ }; void isis_init (void); -- cgit v1.2.1