OpenBSD CVS

CVS log for src/usr.sbin/ospf6d/neighbor.c


[BACK] Up to [local] / src / usr.sbin / ospf6d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:14 2023 UTC (15 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 3 21:40:03 2021 UTC (2 years, 7 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.17: +20 -13 lines
Diff to previous 1.17 (colored)

log the interface along with the neighbour ID in various ospfd/ospf6d
messages.  ok remi@ benno@

if a neighbour is reachable over multiple network links, some problems
may be related to the link itself rather than the neighbour, so knowing
the interface can be important when trying to locate the source of a
problem.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 22 18:18:20 2020 UTC (3 years, 11 months ago) by denis
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

Remove unused variable

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 2 10:16:46 2020 UTC (4 years, 5 months ago) by denis
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Rename orig_rtr_lsa_area() to orig_rtr_lsa()

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@

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 23 07:33:49 2019 UTC (4 years, 5 months ago) by denis
Branch: MAIN
Changes since 1.14: +3 -5 lines
Diff to previous 1.14 (colored)

Area is now part of struct iface

OK remi@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 9 03:53:37 2018 UTC (6 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

Clear the dr and bdr fields of a neighbor when it goes down.
Same is done in ospfd for quite a while.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 25 14:29:35 2013 UTC (11 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.12: +13 -4 lines
Diff to previous 1.12 (colored)

sync w/ospfd: improve snapshot handling; ok claudio, sthen

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 25 14:27:33 2013 UTC (11 years, 2 months ago) by markus
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

sync w/ospfd: ignore the nbr_adj_timer if we are not forming
adjacencies; ok claudio sthen

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 29 16:24:38 2009 UTC (15 years, 2 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

For SPF calculation, we will need the source address specified
in hello packets by next-hop neighbours. So when notifying the
RDE of a new neighbour, send the source address, too.

ok claudio@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 19 22:02:59 2009 UTC (15 years, 3 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.9: +5 -4 lines
Diff to previous 1.9 (colored)

In ospfe, originate new Router and Network LSAs before informing RDE
about nbr state change.

Intra-Area-Prefix LSAs refer to these LSAs. While not strictly necessary,
it makes sense for these LSAs to be up-to-date in the LSDB before new
Intra-Area-Prefix LSAs are originated.

This change has no effect yet because Intra-Area-Prefix LSAs are
currently originated during updates of LSA types it depends on,
but origination will soon be synced to state changes in the iface
and nbr state machines instead.

ok claudio@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 19 22:00:31 2009 UTC (15 years, 3 months ago) by stsp
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Make ospfe send correct nbr state to RDE.

ospfe was sending state from a local variable which does not
always reflect the true state of the neighbour. The RDE would
end up with an invalid nbr state of zero in some situations.
Send state saved in nbr structure instead, this is always valid.

ok claudio@

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 27 21:58:28 2009 UTC (15 years, 4 months ago) by stsp
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

Propagate the neighbour's interface ID, as received in hello packets,
to the RDE.
ok claudio@

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 28 17:56:16 2008 UTC (15 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Send the interface index in the correct byte order and add iface_id to
struct nbr to identify the neighbors correclty.
From Stefan Sperling stsp (at) stsp.name

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 11 13:48:39 2008 UTC (16 years, 4 months ago) by norby
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Correct the output of several error and debug messages.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 13 08:54:05 2007 UTC (16 years, 6 months ago) by claudio
Branch: MAIN
Changes since 1.4: +8 -6 lines
Diff to previous 1.4 (colored)

Monster commit of stuff I did mostly last month. What it does:
 * 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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 27 11:29:34 2007 UTC (16 years, 6 months ago) by claudio
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Monster diff to bring us a bit on track again.
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@

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 11 20:20:44 2007 UTC (16 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

In OSPFv3 auth crypt is no longer (actually all the auth code is gone) so
kill crypt_seq_num as well.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 11 18:43:42 2007 UTC (16 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

From ospfd:
Do not overload nbr->options with the dd exchange bits. nbr->options is used
by the hello protocol. Instead add a dd_more flag that is used together with
(the renamed) dd_master flag.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 8 10:44:50 2007 UTC (16 years, 8 months ago) by norby
Branch: MAIN

Welcome ospf6d

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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.