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/isis_lsp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'isisd/isis_lsp.h') diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h index fb6f1d82..adbde78e 100644 --- a/isisd/isis_lsp.h +++ b/isisd/isis_lsp.h @@ -59,6 +59,8 @@ struct isis_lsp /* used for 60 second counting when rem_lifetime is zero */ int age_out; struct isis_adjacency *adj; + /* FIXME: For now only topology LSP's use this. Is it helpful for others? */ + struct isis_area *area; struct tlvs tlv_data; /* Simplifies TLV access */ }; -- cgit v1.2.1