summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.h
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-19 06:23:34 +0200
committerhasso <hasso>2005-09-19 06:23:34 +0200
commitf1082d1934fae86e67b13594d2b506d1147f022f (patch)
tree60b02841edb8ef9c82b279d7c255b19d77389d5c /isisd/isis_lsp.h
parent * isis_lsp.c (lsp_update): Fix previous commit - manipulate the right (diff)
downloadfrr-f1082d1934fae86e67b13594d2b506d1147f022f.tar.xz
frr-f1082d1934fae86e67b13594d2b506d1147f022f.zip
* 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/isis_lsp.h')
-rw-r--r--isisd/isis_lsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h
index fb6f1d826..adbde78ef 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 */
};