diff options
author | paul <paul> | 2006-08-27 06:29:30 +0000 |
---|---|---|
committer | paul <paul> | 2006-08-27 06:29:30 +0000 |
commit | 098f5852b43e8296e1a1b74e15dde4f26bd2965b (patch) | |
tree | a671c8f02c9b5dec23ddb7b64108c92820b3015b /lib/thread.h | |
parent | a943ff80a45f6d495b88727e3893ef0b9ee7c6db (diff) | |
download | quagga-098f5852b43e8296e1a1b74e15dde4f26bd2965b.tar.bz2 quagga-098f5852b43e8296e1a1b74e15dde4f26bd2965b.tar.xz |
[ospfd] Raise ExchangeDone earlier, avoid often needless round of DD packets
2006-08-03 Paul Jakma <paul.jakma@sun.com>
* ospf_packet.c: (ospf_make_db_desc) Unset the DD More bit
after constructing the packet, if appropriate.
(ospf_db_desc_proc) Speed up Exchange, slave should raise
ExchangeDone earlier, as RFC mandates, by forming its reply
before deciding whether both sides are done, avoids a
needless round of empty DD packet exchanges at the end of
Exchange, hence speeding up ExchangeDone.
(ospf_db_desc) use UNSET_FLAG macro.
Diffstat (limited to 'lib/thread.h')
0 files changed, 0 insertions, 0 deletions