summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/in_cksum.c
AgeCommit message (Collapse)Author
2006-04-25Path the length of the packet as size_t to in_cksum(). Enforce that theClaudio Jeker
passed size is not bigger than 2^16 (limit of the used algorithm). This removes some more lint warnings and makes sense.
2006-03-09in_cksum() should return a u_int16_t and not int. Switch a variable toClaudio Jeker
unsigned. Found by lint.
2005-10-19header cleaning; ok claudio@Kevin Steves
2005-01-28Welcome ospfdClaudio Jeker
started by Esben Norby some time ago by using the imsg/three process framework of bgpd. He implemented the basic concept plus the ospf finite state machines. Later I joined and helped him cleanup, debug and extend his work. Right now it is not particularly useful, major parts are still missing but is imported to allow more people to work on it. status: The basic protocol works for broadcast networks and the LS database is synchronized and updated. It is not possible to be DR or BDR on a network and other interface types like point-to-point are not yet supported. The shortest path tree is not calculated and so no routing information is exchanged with the kernel FIB. Not yet connected to the builds. OK henning@