summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
AgeCommit message (Expand)Author
2006-03-13The return value of the start/stop timer functions is almost never checked.Claudio Jeker
2006-03-09Track interface uptime.Esben Norby
2006-03-09Add some NOTREACHED to please lint.Claudio Jeker
2006-03-09More spring cleaning with lint. Change a few types and add some comments toClaudio Jeker
2006-03-09It seems that 60 secs is a reasonable amount of time to reach state FULL.Esben Norby
2006-03-09Move *_name functions to log.c and use these for both ospfd and ospfctl.Claudio Jeker
2006-03-09Correctly warn about unsupported interface types as it is done in other places.Claudio Jeker
2006-03-09KNF, remove some unneded type casts and add some ARGSUSED. This makes lintClaudio Jeker
2006-03-09Mark event callbacks with ARGSUSED to silence lint.Claudio Jeker
2006-03-09Switch send_packet from char * to void * and from int to size_t. The functionClaudio Jeker
2006-03-09in_cksum() should return a u_int16_t and not int. Switch a variable toClaudio Jeker
2006-03-09if_event_names is only used by interface.c so move it there.Claudio Jeker
2006-03-09Log link state changes.Esben Norby
2006-03-08Remove unused quit flag inherited from bgpd long ago.Claudio Jeker
2006-03-08Cleanup with lint. Kill unused variable and fix some types.Claudio Jeker
2006-03-08Move procnames from log.h to log.c it is only used there.Claudio Jeker
2006-03-08Spaces and other minor cleanup.Claudio Jeker
2006-03-08Fix logic of the kroute code. First of all there was a porblem if a prefixClaudio Jeker
2006-03-08Check for implied acks. If we receive an update that is on our retransmissionClaudio Jeker
2006-02-24Keep track of the uptime of the entries in the RIB.Esben Norby
2006-02-23Prevent ospfd from crashing when LSA Ext's are changed.Esben Norby
2006-02-23Rework the LSA cache and make it behave. Until now we only used the type,Claudio Jeker
2006-02-21Better English in comments.Claudio Jeker
2006-02-21Correctly count the number of LSAs in the retransmission list. OK norby@Claudio Jeker
2006-02-19Keep track of the duration of our relationships with neighbors.Esben Norby
2006-02-19Do not kick the adj_timer for neighbors that are in state 2-Way.Esben Norby
2006-02-19Do not traverse the entire LS retransmission list to figure out how manyEsben Norby
2006-02-19Do not allocate a new chunk of memory every time we receive a packet.Esben Norby
2006-02-15Do not try to dirty an area when adding LSA ext.Esben Norby
2006-02-10ospfd does not need fd passing via the imsg framework so remove that codeClaudio Jeker
2006-02-10If ABR only look in the backbone area 0.0.0.0 for summary LSA. OK norby@Claudio Jeker
2006-02-09Don't calculate all areas every time the link state database is updated,Esben Norby
2006-02-09Prevent the neighbor FSM from getting stuck forever in state EXSTART.Esben Norby
2006-02-03Cleanup and "simplify" iso checksum implementation. OK norby@Claudio Jeker
2006-02-02Be less verbose about DR/BDR selection this seems to be rock solid now.Claudio Jeker
2006-02-02zap md_list_empty, found by lint.Esben Norby
2006-02-02zap cand_list_empty, found by lint.Esben Norby
2006-02-01spf_calc should only do what the name says - calculate the spf tree.Esben Norby
2006-02-01Wrong type, found by lint.Esben Norby
2006-02-01variable naming, a -> addr.Esben Norby
2006-02-01zap unused function.Esben Norby
2006-01-26Separate route table calculations from the SPF calculation.Esben Norby
2006-01-24Correct debug textEsben Norby
2006-01-24Fix bad indent.Esben Norby
2006-01-24Split SPF calc and AS Ext calc.Esben Norby
2006-01-23Kill stupid comment. "not reached" after a continue is superfluous.Claudio Jeker
2006-01-20Explicitly include limits.h if we are going to use its contents.Todd C. Miller
2006-01-12Rewrite the redistribute code. The previous implementation was stupid andClaudio Jeker
2006-01-12Change inet_addr("127.0.0.1") into htonl(INADDR_LOOPBACK) and similar.Claudio Jeker
2006-01-05Make ospfd respect carp(4) interfaces and their weird behaviour. They willClaudio Jeker