summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_lsa.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove usage of evil list and listnode typedefs.hasso2004-09-231-20/+20
|
* Remove ifdef's HAVE_NSSA. NSSA support is stable enough.hasso2004-06-201-53/+6
|
* 2004-06-06 Paul Jakma <paul@dishone.st>paul2004-06-061-1/+1
| | | | | * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous. ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format.
* 2004-05-31 Sagun Shakya <sagun.shakya@sun.com>paul2004-05-311-8/+11
| | | | | | | | * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if index is out of range. ospf_flood.c: endianness fix ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum in various places.
* 2003-10-13 sowmini.varadhan@sun.compaul2003-10-131-9/+60
| | | | | | | | | * ospf_lsa.h: Add OSPF_LSA_PREMATURE_AGE flag. * ospf_lsa.c: added better debug comments. check sequence number in ospf_lsa_install. ospf_maxage_lsa_remover() checks for OSPF_LSA_PREMATURE_AGE and re-originates the lsa after ls_acks are received. * ospf_flood.c: improve debug statement- print ls_seqnum.
* 2003-07-13 Paul Jakma <paul@dishone.st>paul2003-07-131-2/+9
| | | | | | * ospf_lsa.c: fix up some places where an NSSA specific define, (OSPF_LSA_LOCAL_XLT) was referenced in if statements without being ifdef'ed by HAVE_NSSA.
* 2003-07-12 Paul Jakma <paul@dishone.st>paul2003-07-121-45/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * (global): Add/fixup NSSA ABR translation functionality * ospfd.h: Adjust the NSSA ROLE defines. Rename STATE to TRANSLATE. Rename the LSA_NSSA_GET define to LSA_OPTIONS_NSSA_GET. * ospfd.c: Adjust to match changes to ospfd.h * ospf_te.c: Adjust to match change to LSA_NSSA_GET. * ospf_lsa.h: slights reformatting. Add new NSSA functions, ospf_translated_nssa_compare() (not currently used), ospf_translated_nssa_refresh() and ospf_translated_nssa_originate(). * ospf_lsa.c: Implemented aforementioned new functions. Fix up several NSSA hooks to /not/ be called for Type-5s which are translated. Add additional hooks. Set the ROUTER_LSA_NT bit in router-lsa flags if ABR does translation. New function, ospf_lsa_translated_nssa_new() implemented. Dont register translated LSAs for refreshing - instead we implicitly rely on the ASBR refreshing the Type-7, and refresh the translated Type-5 at the same time. Some minor reformatting. Extra debug info added. Also, existing debug statements modified to report LSA Id. * ospf_flood.c: call ospf_translated_nssa_refresh() when refreshing Type-7. minor reformatting. * ospf_dump.c: Dump NSSA LSAs. * ospf_asbr.h: slight reformatting. Export ospf_external_route_lookup() (though, not used. probably will undo this). * ospf_abr.c: Slight reformatting in many places. Update to match ospfd.h changes. (ospf_abr_translate_nssa): make it work, using the new ospf_lsa translation functions. (Several places): change struct prefix * to struct prefix_ipv4 *. (might as well do the casts at higher levels). Add more debug info. (ospf_abr_announce_stub_defaults): announce default to NSSA areas too. (ospf_abr_announce_nssa_defaults): do nothing. this function probably should die. (see ospf_abr_announce_stub_defaults). (ospf_abr_task_timer): run NSSA tasks.
* Don't install Type-7 LSA's into nonNSSA area.hasso2003-07-031-0/+4
|
* 2003-06-19 Paul Jakma <paul@dishone.st>paul2003-06-221-1/+16
| | | | | | | | | * ospf_lsa.c (router_lsa_flags): Set the correct flags for router-lsa's. Eg OSPF_FLAG_ASBR is /not/ an LSA flag, its an internal ospfd flag (just happens to have same value as ROUTER_LSA_EXTERNAL). Set ROUTER_LSA_EXTERNAL for ASBRs, ROUTER_LSA_BORDER for ABRs and ROUTER_LSA_NT for NSSA ABRs which are OSPF_NSSA_ROLE_ALWAYS translators.
* From: Hasso Tepper <hasso@estpak.ee>paul2003-05-161-38/+47
| | | | | | | Subject: [zebra 19091] [PATCH] NSSA fixes try2 NSSA didn't work without problems even after my previous fixes. Seems that I tracked down problems finally.
* Fix merge error of Hasso's patch "case case" :)paul2003-05-111-1/+1
|
* From: Hasso Tepperpaul2003-05-101-1/+8
| | | | Fix removal of Type-7 LSAs, http://bugzilla.dishone.st/show_bug.cgi?id=18
* Reverting the NSSA maxage walker loop addition for now, until all the otherpaul2003-05-061-4/+0
| | | | | problems with NSSA are resolved, and we can determine whether this had any point.
* NSSA /might/ be missing this. I'm not sure.paul2003-05-061-0/+4
| | | | | It didnt solve a particular problem of Hasso's, but i'm committing it just for posterities sakes, so i dont lose it (i'll revert it immediately).
* From: Hasso Tepper <hasso@estpak.ee>paul2003-04-131-0/+41
| | | | | | To: zebra@zebra.org Subject: [zebra 18648] [PATCH] Selforiginated Type-7 LSA's are not flushed from lsdb
* Author: amirpaul2003-04-131-1/+4
| | | | | | | | | | | | Date: 2003-04-10 14:32:31 +0200 (Thu, 10 Apr 2003) New Revision: 212 Modified: zebra-ag/trunk/ospfd/ospf_lsa.c Log: I've fixed a small opaque lsa bug which got triggered when deleting opaque lsa of type 11. It used area->ospf->.. when area was null. This was replaced by a ospf = ospf_lookyp(); ospf->...
* Add tests for debug enabled to PtMP LSA creation functionspaul2003-04-051-3/+5
|
* 2003-04-04 Paul Jakma <paul@dishone.st>paul2003-04-041-8/+11
| | | | | | | | | * Sync to Zebra CVS * Fix lib/thread.h leak * Fix small Opaque LSA leak * Do not configure OSPF interfaces for secondary addresses * vtysh fixes from Hasso * Dave Watson's missing ntohs fix
* From: David Watson <dwatson@eecs.umich.edu>paul2003-04-031-1/+1
| | | | | | | | | | | | | Subject: [zebra 18573] PATCH ospfd: byte order error in assert statement I found a bug in the ospfd code tickled this morning by a Type 1 LSA with exactly 62 entries (LSA length of 768, or 0x0300). A missing ntohs in ospf_lsa.c:ospf_lsa_different() causes an assert statement to fail, stopping ospfd. > assert (l1->data->length > OSPF_LSA_HEADER_SIZE); So, a length of type 768 turns into a length of 3 which is obviously less than 20. David
* 2003-03-25 Paul Jakma <paul@dishone.st>paul2003-03-251-422/+364
| | | | | | | | * sync to latest zebra CVS * spec file: updated and added define for ospf-api/client NB: OSPF-API has been broken by the zebra.org changes, which has added struct ospf * as a new arg to many functions
* Fix debug statement in ospf_packet.c and merge error in ospf_lsa.cpaul2003-02-131-2/+0
|
* Merge to zebra.org CVS 20030203 16:30GMTpaul2003-02-031-0/+2
|
* Date: Fri, 20 Dec 2002 17:28:45 +0900patch_z16823paul2003-01-181-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Masahiko Endo <endo@suri.co.jp> Reply-To: zebra@zebra.org To: zebra@zebra.org Cc: kunihiro@zebra.org, yokota@kddlabs.co.jp Subject: [zebra 16823] [PATCH] Bugfix and new feature in Opaque-LSA handling. ----- * ----- * ----- * ----- * ----- * ----- * ----- * ----- * ----- * ----- Changes 2002.12.20 1. Bug fixes 1.1 When an opaque LSA is being removed from (or added to) the LSDB, it does not mean a change in network topology. Therefore, SPF recalculation should not be triggered in that case. There was an assertion failure problem "assert (rn && rn->info)" inside the function "ospf_ase_incremental_update()", because the upper function "ospf_lsa_maxage_walker_remover()" called it when a type-11 opaque LSA is removed due to MaxAge. 1.2 Type-9 LSA is defined to have "link-local" flooding scope. In the Database exchange procedure with a new neighbor, a type-9 LSA was added in the database summary of a DD message, even if the link is different from the one that have bound to. 2. Feature enhancements 2.1 Though a "wildcard" concept to handle type-9/10/11 LSAs altogether has introduced about a year ago, it was only a symbol definition and actual handling mechanism was not implemented. Now it works.
* Kevin C Miller <kevinm@andrew.cmu.edu>patch_z16681_ospfd_nssapaul2002-12-131-47/+88
| | | | [zebra 16681] OSPF NSSA Patches
* zebra link state detection supportpatch_z12269_linkstatepaul2002-12-131-4/+4
|
* ospfd Point-to-Multipoint supportpatch_z14800_ospfd_ptmppaul2002-12-131-1/+39
|
* Initial revisionpaul2002-12-131-0/+3315