summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_dump.c
Commit message (Collapse)AuthorAgeFilesLines
* 2005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-311-0/+6
| | | | | | | * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging is turned on. [backport candidate]
* 2005-02-09 Paul Jakma <paul.jakma@sun.com>paul2005-02-091-4/+4
| | | | | | | | | | | | | * (global) Update code to match stream.h changes. stream_get_putp effectively replaced with stream_get_endp. stream_forward renamed to stream_forward_getp. stream_forward_endp introduced to replace some previous setting/manual twiddling of putp by daemons. * lib/stream.h: Remove putp. Update reference to putp with endp. Add stream_forward_endp, which daemons were doing manually. Rename stream_forward to stream_forward_getp. lib/stream.c: Remove/update references to putp. introduce stream_forward_endp.
* Show debug configuration in vtysh.hasso2004-12-221-1/+2
|
* 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-12-081-82/+82
| | | | * *.c: Change level of debug messages to LOG_DEBUG.
* 2004-10-11 Paul Jakma <paul@dishone.st>paul2004-10-111-12/+5
| | | | | | | | | | | | | * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order remove ntohs that should have dissappeared. Take struct ip as argument, caller has to know there's an IP header at start of stream anyway. * ospf_dump.h: update declaration of ospf_ip_header_dump. * ospf_packet.c: (ospf_write) correct call to sockopt_iphdrincl_swab_htosys which was munging the header. (ospf_recv_packet) ip_len is needed for old OpenBSD fixup. (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as we have it.
* Compiler warnings fixes round 1.hasso2004-10-081-7/+7
|
* 2004-10-07 Paul Jakma <paul@dishone.st>paul2004-10-071-0/+1
| | | | | * ospf_snmp.c: Missed list typedef update * ospf_dump.c: Include sockopt.h for header swab functions.
* 2004-10-05 Paul Jakma <paul@dishone.st>paul2004-10-051-8/+2
| | | | | * ospf_packet.c: replace ospf_swap_iph_to... with sockopt_iphdrincl_swab_...
* 2004-09-27 Paul Jakma <paul@dishone.st>paul2004-09-271-8/+9
| | | | | | | | | | * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER Apply to offset too. Print ip_cksum, lets not worry about possible 2.0.37 compile problems. * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use HAVE_IP_HDRINCL_BSD_ORDER. (ospf_recv_packet) ditto. (ospf_write) Fixup iov argument to ospf_write_frags.
* Compiler warnings fixes.hasso2004-09-261-1/+1
|
* Please, tell me truth about what debugging status you are displaying.hasso2004-08-311-1/+1
|
* Remove ifdef's HAVE_NSSA. NSSA support is stable enough.hasso2004-06-201-10/+0
|
* 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-1/+3
| | | | | | | | * 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-07-12 Paul Jakma <paul@dishone.st>paul2003-07-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * (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.
* Hasso Tepper <hasso@estpak.ee>:paul2003-04-071-0/+2
| | | | add NSSA debug statement
* Initial revisionpaul2002-12-131-0/+1673