OpenBSD CVS

CVS log for src/usr.sbin/ospf6d/ospf6.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 21 09:47:03 2023 UTC (11 months, 2 weeks ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored)

add "fib reload" support to ospf6d/ospf6ctl, and trigger it
automatically on a timeout after RTM_DESYNC (i.e. route socket
overflow). ported across from ospfd. fixes/ok claudio@

(it's much harder to overflow the routing socket buffer these
days since it was bumped to 2MB, but still happens occasionally
on a busy machine).

Revision 1.21 / (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_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, 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, 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.20: +0 -0 lines
Diff to previous 1.20 (colored)

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

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

sync w/ospfd: allow two minutes until neighbor adjacencies are formed;
ok claudio@ sthen@

Revision 1.19 / (download) - annotate - [select for diffs], Fri Mar 22 12:00:57 2013 UTC (11 years, 2 months ago) by sthen
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

gratuitous whitespace diff with ospfd/ospf.h

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 24 10:00:43 2011 UTC (13 years, 2 months ago) by claudio
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
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Make the sequence number constanst explicitly unsigned. The seq_num is
already defined as a u_int32_t type.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 14 17:06:52 2010 UTC (13 years, 10 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

use offsetof() instead of self knitted version to please gcc4.
stolen from ospf.h

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 23 11:20:03 2010 UTC (14 years, 3 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.15: +11 -7 lines
Diff to previous 1.15 (colored)

Oups, forgot this file in last commit. Bit definitions for AS-ext LSA needed
by lsa_asext_check().

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 9 19:00:40 2009 UTC (15 years, 2 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Fix a naming inconsistency in struct lsa_intra_prefix (lsid -> ls_id).

"consistency is a good thing" jsing@, ok claudio@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 29 18:59:22 2009 UTC (15 years, 2 months ago) by stsp
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Remove att_rtr field from struct lsa_net.
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@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 30 22:29:54 2008 UTC (15 years, 5 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Correctly encode the IPv6 prefix. Only (prefixlen + 31)/32 * 4 bytes are
attached to the LSA (saves 8 to 12 bytes per prefix and makes our life
more interesting or complex).

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 30 21:31:54 2008 UTC (15 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.11: +13 -7 lines
Diff to previous 1.11 (colored)

First try at originating Link (type-8) LSA. Code is wrong and the initial
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

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 28 21:22:14 2008 UTC (15 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Initial bits for originating net lsa again from Stefan Sperling with some
changes by myself.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 28 20:08:31 2008 UTC (15 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

area_ospf_options() should not return network byte order options. Instead
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.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 28 18:30:55 2008 UTC (15 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.8: +15 -3 lines
Diff to previous 1.8 (colored)

Sync up the flags with the new and shiny RFC5340 while there introduce
some macros to handle the 24bit insaneness.
rfc5340 syncup by Stefan Sperling, the insanity is mine

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 27 11:29:34 2007 UTC (16 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.7: +47 -4 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Tue Oct 16 21:58:17 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored)

Make struct lsa_rtr a better match of the reality. Still not happy because
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.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 16 21:44:41 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
Changes since 1.5: +1 -8 lines
Diff to previous 1.5 (colored)

There is not auth code so there is no need for struct crypt.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 16 21:32:32 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Router LSA link type 3 is now reserved. There are no stub networks anymore.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 16 13:01:07 2007 UTC (16 years, 7 months ago) by norby
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

Make ospf6d(8) not throw up on Router LSAs.

Initial step towards actually storing real LSAs.

ok claudio@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 16 12:05:52 2007 UTC (16 years, 7 months ago) by norby
Branch: MAIN
Changes since 1.2: +8 -6 lines
Diff to previous 1.2 (colored)

In OSPFv3 the LSA type is a 16 bit value, furthermore it uses different
values than the v2 counterpart.

Change to u_int16_t and define new LSA types.

ok claudio@

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 9 06:12:04 2007 UTC (16 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

The router dead_interval switched from 32bit to a 16bit value in OSPFv3.
OK norby@

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.