summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/hello.c
AgeCommit message (Collapse)Author
2007-12-13Monster commit of stuff I did mostly last month. What it does:Claudio Jeker
* removes kif and uses iface for everything interface related. This removes unneeded data redundancy which makes the code more complex. * adds the link local prefix to struct iface and attaches a list with the other prefixes to the struct iface. This is needed to generate the link LSA. * disconnects struct iface from struct area (the backpointer is gone) this will make the reload code a bit easier. norby@ agrees with the direction we're heading with this
2007-10-16Fix the neighbor election process.Esben Norby
ok claudio@
2007-10-11OSPFv3 runs on links not on networks so there is no need for a mask in theClaudio Jeker
hello protocol. Kill no longer needed code.
2007-10-11The person that came up with the glorious idea to define a 24bit field shouldClaudio Jeker
be hanged and shot. Add a ntohl() around the area_ospf_options() call.
2007-10-11From ospfd:Claudio Jeker
Bye bye global ospf options. OSPF options are per area (at least the one flag that we set). So introduce a area_ospf_options() function that will return the correct flags for each area. This makes stub area support a lot easier. Don't check for OSPF_OPTION_E in the parent. OSPF_OPTION_E is per area and so the parent process has no way to know if it should redistribute or not.
2007-10-10send_packet() now takes a struct in6_addr as destination instead of aClaudio Jeker
struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding scope if necessary. While there switch to sendto() we don't need any of the sendmsg() features here. OK norby@
2007-10-10Turn on the V6 and E bits in hello messages. This makes other OSPFv3 routersClaudio Jeker
a bit more happy. The E bit should be turned of in stub areas but there is no support for those at the moment. OK norby@
2007-10-09Remaining bit of last night work. Make packet reception use all the goodiesClaudio Jeker
introduced (checksumming is no longer needed, no IP header checking is needed, get a in6_pktinfo with the ifindex and dest addr, cleanup and remove a lot of other code). With this ospf6d is able to send and receive first hello packets. 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@