summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/ospf6.h
AgeCommit message (Collapse)Author
2009-04-09Fix a naming inconsistency in struct lsa_intra_prefix (lsid -> ls_id).Stefan Sperling
"consistency is a good thing" jsing@, ok claudio@
2009-03-29Remove att_rtr field from struct lsa_net.Stefan Sperling
In Network-LSAs, the only thing sitting between the LSA header and the attached router list is the options field. We already have lsa_net_link to represent elements of the attached router list, so there's no need to have a single entry of this list in lsa_net. ok claudio@
2008-12-30Correctly encode the IPv6 prefix. Only (prefixlen + 31)/32 * 4 bytes areClaudio Jeker
attached to the LSA (saves 8 to 12 bytes per prefix and makes our life more interesting or complex).
2008-12-30First try at originating Link (type-8) LSA. Code is wrong and the initialClaudio Jeker
LSA is lost in lsa_flood. Put this in because it goes in the right direction and ospf6d is work in progress. Add necessary framework so that we can print Link LSA in ospf6ctl. Diff mostly from stsp@ ospf6ctl part by myself
2008-12-28Initial bits for originating net lsa again from Stefan Sperling with someClaudio Jeker
changes by myself.
2008-12-28area_ospf_options() should not return network byte order options. InsteadClaudio Jeker
the callers should take care of getting the byte order right. While there remove the opts[123] from the hello_hdr and use LSA_24_* to handle this nasty fields instead. Now router LSA have the correct flags set.
2008-12-28Sync up the flags with the new and shiny RFC5340 while there introduceClaudio Jeker
some macros to handle the 24bit insaneness. rfc5340 syncup by Stefan Sperling, the insanity is mine
2007-11-27Monster diff to bring us a bit on track again.Claudio Jeker
a) implement all (or at least most) lsa_check() cases. b) classify the LSA scope correctly and add a per interface lsa_tree for the link local stuff. c) implement a function to parse a prefix. There is still a lot missing currently link local LSA are added to the interface tree but nothing can access them (lsa_find() and a few friends need some changes). OK norby@
2007-10-16Make struct lsa_rtr a better match of the reality. Still not happy becauseClaudio Jeker
some people had the great idea to make the OSPF options 24bits. Still undecided if a u_int32_t should be used or 4 u_int8_t both is gross.
2007-10-16There is not auth code so there is no need for struct crypt.Claudio Jeker
2007-10-16Router LSA link type 3 is now reserved. There are no stub networks anymore.Claudio Jeker
2007-10-16Make ospf6d(8) not throw up on Router LSAs.Esben Norby
Initial step towards actually storing real LSAs. ok claudio@
2007-10-16In OSPFv3 the LSA type is a 16 bit value, furthermore it uses differentEsben Norby
values than the v2 counterpart. Change to u_int16_t and define new LSA types. ok claudio@
2007-10-09The router dead_interval switched from 32bit to a 16bit value in OSPFv3.Claudio Jeker
OK norby@
2007-10-08Welcome ospf6dEsben Norby
The new ospf6d daemon will support OSPFv3, basically OSPF for IPv6 networks. It is heavily based on ospfd(8), it is more or less a copy and paste of it. Currently some unneeded stuff has been removed and the trasition from IPv4 to IPv6 has begun. ospf6d is not very usefull at the moment, it is being imported to allow more people to work on it concurrently. Not yet connected to the builds. ok claudio@ dlg@