| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
| |
Now that area is part of iface, original orig_rtr_lsa() is useless. Also
verifying that area != NULL is not needed in some cases (these are
leftovers of the previous diff).
OK remi@
|
| |
|
|
| |
OK remi@
|
| |
|
|
| |
OK remi@
|
| |
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
| |
|
|
|
| |
small quirk from tb@
ok phessler@
|
| |
|
|
|
| |
in packet loss on busy and big networks and therefor to instability.
From camield@
|
| |
|
|
|
| |
And some ifmedia64 fixes.
"move forward" deraadt@
|
| | |
|
| | |
|
| |
|
|
|
| |
Link state changes are sent from the parent to both childs and
iface FSM state changes are sent from the ospfe to the rde.
|
| |
|
|
|
|
|
|
| |
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does
the right job.
OK deraadt@ henning@
This needs a -current kernel or link state may be not reported correctly.
|
| |
|
|
|
| |
intra-area rtr LSA. Diff initialy made by Patrick Coleman but
simplified by myself. Tested and OK dlg@
|
| |
|
|
|
|
| |
to IF_STA_LOOPBACK in if_act_start() this way they will repsect
IFF_UP on startup. Also mark the interfaces as passive.
Initial diff provided by Patrick Coleman. OK dlg@
|
| |
|
|
|
|
|
|
|
|
|
| |
parameter was NULL. But it's easy enough to make ifname != NULL by accident,
e.g. by passing a zeroed or even uninitialised array. This function should
accept a 'virtual' flag of some kind instead.
Since we don't even support virtual links yet, change the check to
"if (virtual)", #if 0 the check, and code that depends on it (including
a file-scope variable), and add comments marking this as TODO.
ok claudio, who requested #if 0 instead of deletion.
|
| |
|
|
|
|
|
| |
in hello packets by next-hop neighbours. So when notifying the
RDE of a new neighbour, send the source address, too.
ok claudio@
|
| |
|
|
|
|
| |
Will soon be done in rde instead.
"Sure but don't wait too long before readding the code in rde" claudio@
|
| |
|
|
|
|
|
|
|
| |
Also syncs other fields the ospfe is syncing to when getting
iface updates from parent process.
None of these fields are used by the rde yet, but state will be
important soon, for proper origination of Intra-Area-Prefix LSAs.
ok claudio@
|
| |
|
|
|
|
|
| |
Routers can now advertise prefixes with global scope throughout
an area. This paves the way towards doing SPF calculations to
generate routing tables for a single area.
ok claudio@
|
| |
|
|
|
| |
to the RDE.
ok claudio@
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
| |
Neighbors are identified by ID in OSPF v3 and trying to print a IPv6 addr
as AF_INET was wrong anyway.
|
| |
|
|
|
| |
only addressed via its link local address. All networks on top of it are
handled separately via type 8 Link-LSA.
|
| |
|
|
| |
kill crypt_seq_num as well.
|
| | |
|
| |
|
|
|
|
|
| |
destination address of incomming packets. This also removes the need for
IP_HDRINCL. Additionally use IPV6_CHECKSUM to let the kernel do the
necessary packet checksumming, way easier than doing it in userland.
OK 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@
|