]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: Remember network LSA sequence numbers across up/downs of an interface
authorPaul Jakma <paul@quagga.net>
Tue, 13 Oct 2009 15:13:13 +0000 (16:13 +0100)
committerPaul Jakma <paul@quagga.net>
Wed, 8 Dec 2010 17:13:14 +0000 (17:13 +0000)
commit7eb5b47e54169ac0da40ed1a6760db5d5f915a4d
tree8d70f87bea20b07f2bbc753a3661c9be9058e1ef
parentaa276fd783f5cdbeefe22bf54109fe523a465e07
ospfd: Remember network LSA sequence numbers across up/downs of an interface

* ospf_interface.h: (struct ospf_if_params) add field for saved network LSA
  seqnum
* ospf_interfa.c: (ospf_new_if_params) init network_lsa_seqnum field to
  initial seqnum - doesnt matter though.
* ospf_lsa.c: (ospf_network_lsa_new) check for any saved sequence number,
  and use if it exists.  Save the result back. This should help avoid needless
  round of LSUpdate/LSRequests when a neighbour has to tell the originator
  "uhm, i have something newer than that already".
* ospf_vty.c: (show_ip_ospf_interface_sub) Show the saved network LSA seqnum
ospfd/ospf_interface.c
ospfd/ospf_interface.h
ospfd/ospf_lsa.c
ospfd/ospf_vty.c