diff options
author | hasso <hasso> | 2005-09-19 04:23:34 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-09-19 04:23:34 +0000 |
commit | f1082d1934fae86e67b13594d2b506d1147f022f (patch) | |
tree | 60b02841edb8ef9c82b279d7c255b19d77389d5c /isisd/isisd.h | |
parent | 4eda93ab0bb51da95f239b9e7eaecf8487ef4424 (diff) |
* 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.
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r-- | isisd/isisd.h | 8 |
1 files changed, 5 insertions, 3 deletions
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); |