diff options
author | hasso <hasso> | 2004-08-15 07:52:07 +0200 |
---|---|---|
committer | hasso <hasso> | 2004-08-15 07:52:07 +0200 |
commit | 6452df092bf6b694ea62a0423ac242f10ab997f9 (patch) | |
tree | 087490eb5e58209ca207f28b626c4a4a84ad4c9c /ospf6d/ospf6_lsdb.h | |
parent | Include padding in control message length. (diff) | |
download | frr-6452df092bf6b694ea62a0423ac242f10ab997f9.tar.xz frr-6452df092bf6b694ea62a0423ac242f10ab997f9.zip |
SVN revisions 916-920 from Zebra. ABR support is almost done.
Diffstat (limited to 'ospf6d/ospf6_lsdb.h')
-rw-r--r-- | ospf6d/ospf6_lsdb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ospf6d/ospf6_lsdb.h b/ospf6d/ospf6_lsdb.h index 71d996ee8..a10f001c1 100644 --- a/ospf6d/ospf6_lsdb.h +++ b/ospf6d/ospf6_lsdb.h @@ -27,6 +27,7 @@ struct ospf6_lsdb { + void *data; /* data structure that holds this lsdb */ struct route_table *table; u_int32_t count; void (*hook_add) (struct ospf6_lsa *); @@ -40,7 +41,7 @@ struct ospf6_lsdb { \ if (! OSPF6_LSA_IS_MAXAGE (lsa)) \ continue; \ - if (lsa->onretrans != 0) \ + if (lsa->retrans_count != 0) \ continue; \ if (IS_OSPF6_DEBUG_LSA (TIMER)) \ zlog_info (" remove maxage %s", lsa->name); \ @@ -49,7 +50,7 @@ struct ospf6_lsdb } while (0) /* Function Prototypes */ -struct ospf6_lsdb *ospf6_lsdb_create (); +struct ospf6_lsdb *ospf6_lsdb_create (void *data); void ospf6_lsdb_delete (struct ospf6_lsdb *lsdb); struct ospf6_lsa *ospf6_lsdb_lookup (u_int16_t type, u_int32_t id, |