]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Simple explanation, how LSA are kept in database.
authorOndrej Filip <feela@network.cz>
Wed, 7 Jun 2000 23:05:32 +0000 (23:05 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 7 Jun 2000 23:05:32 +0000 (23:05 +0000)
proto/ospf/ospf.c

index 9eec3092e7d1fea0980ff9c70d1fbd41fce26526..a7fb650e91ab412413981e23fd53a58b941f7d9b 100644 (file)
@@ -29,7 +29,8 @@
  * adding and deleting them, there are also functions for originating
  * various types of LSA. (router lsa, net lsa, external lsa) |Rt.c|
  * contains routins for calculating of routing table. |Lsalib.c| is a set
- * of various functions for work with LSAs.
+ * of various functions for work with LSAs. (Endianity transformations,
+ * checksum calculation etc.)
  *
  * Just one instance of protocol is able to hold LSA databases for
  * multiple OSPF areas and exhange routing information between
  * &ospf_iface are connected. To &ospf_area is connected
  * &top_hash_graph, which is a dynamic hashing structure that
  * describes link-state database. It allows fast search, adding
- * and deleting. Every area has it's own area_disp() that is
+ * and deleting. LSA is kept in two pieces: header and body. Both of them are
+ * kept in endianity of CPU.
+ * 
+ * Every area has it's own area_disp() that is
  * responsible for late originating of router LSA, calcutating
  * of routing table and it also ages and flushes LSA database. This
  * function is called in regular intervals.