| Branch: | Revision:

iof-bird-daemon / proto / ospf / ospf.h @ 74c838a8

History | View | Annotate | Download (27.6 KB)

# Date Author Comment
74c838a8 12/29/2015 02:42 PM Ondrej Zajicek (work)

Move ID allocator to a separate file and use it also in OSPF

0bf95f99 12/21/2015 04:17 PM Ondrej Zajicek (work)

Follow-up work on integration

Contains some patches from Jan Moskyto Matejka

23c212e7 12/21/2015 02:33 AM Ondrej Zajicek (work)

Follow-up work on integration

d7661fbe 12/19/2015 02:57 PM Jan Moskyto Matejka


Explicit setting of AF_INET(6|) in IP socket creation. BFD set to listen
on v6, without setting the V6ONLY flag to catch both v4 and v6 traffic.

Squashing and minor changes by Ondrej Santiago Zajicek

d44e686e 11/12/2015 01:03 AM Ondrej Zajicek (work)

Follow-up commit on integrated BIRD

Use net_addr for interface address prefixes, support net_addr in
configuration parser.

fe9f1a6d 11/05/2015 11:48 AM Ondrej Zajicek (work)

Initial commit on integrated BIRD

New data types net_addr and variants (in lib/net.h) describing
network addresses (prefix/pxlen). Modifications of FIB structures
to handle these data types and changing everything to use these
data types instead of prefix/pxlen pairs where possible....

304ac2e8 04/12/2015 08:47 AM Ondrej Zajicek

Minor fixes

6f8bbaa1 11/03/2014 09:42 AM Ondrej Zajicek

Fininshing integrated OSPF.

88a183c6 10/24/2014 09:11 AM Ondrej Zajicek

Integrated IP functions.

f8fefde3 10/24/2014 09:07 AM Ondrej Zajicek

Refactoring of OSPF messages.

178a197a 07/21/2014 07:50 PM Ondrej Zajicek

OSPF instance id option and documentation update.

742029eb 07/19/2014 03:28 PM Ondrej Zajicek

Whitespace cleanup in OSPF.

a7a7372a 07/18/2014 04:24 PM Ondrej Zajicek

Temporary integrated OSPF commit.

70945cb6 06/26/2014 09:58 AM Ondrej Zajicek

Temporary integrated OSPF commit.

145368f5 04/23/2014 11:54 AM Ondrej Zajicek

Extends multipath support for OSPF.

Fixes cases where the same network or external route are propagated by
several OSPF routes and some other corner cases in next hop construction
and ECMP. Allows to specify whether external routes should be merged.

Thanks to Peter Christensen for the original patch.

48e5f32d 02/06/2014 04:46 PM Ondrej Zajicek

Many changes in I/O and OSPF sockets and packet handling.

- BSD: specify src addr on IP sockets by IP_HDRINCL
- BSD: specify src addr on UDP sockets by IP_SENDSRCADDR
- Linux: specify src addr on IP/UDP sockets by IP_PKTINFO
- IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO...

1ec52253 11/19/2013 09:33 PM Ondrej Zajicek

BFD protocol, ready for release.

Supports OSPF and BGP and also statically configured sessions.

70e212f9 06/25/2013 01:39 PM Ondrej Zajicek

Implements TTL security for OSPF and RIP.

Interfaces for OSPF and RIP could be configured to use (and request)
TTL 255 for traffic to direct neighbors.

Thanks to Simon Dickhoven for the original patch for RIPng.

ef4a50be 06/24/2013 02:37 PM Ondrej Zajicek

Better packet priority and traffic class handling.

Implements support for IPv6 traffic class, sets higher priority for OSPF
and RIP outgoing packets by default and allows to configure ToS/DS/TClass
IP header field and the local priority of outgoing packets.

f623ab98 06/11/2013 10:12 AM Ondrej Zajicek

Implements OSPF stub router option (RFC 3137).

Also fixes OSPFv3 routing table calculcation w.r.t.
errata 2078 to RFC 5340.

8df02847 04/17/2013 11:06 AM Ondrej Zajicek

Fixes a compatibility issue in OSPFv2 PtP links.

BIRD used zero netmask in hello packets on all PtP links, not just on
unnumbered ones. This patch fixes it and adds option 'ptp netmask'
for overriding the default behavior.

Thanks to Alexander V. Chernikov for the original patch.

dd4da6f6 10/31/2012 04:14 PM Ondrej Zajicek

Fixes another bug in OSPFv3 vlinks.

95127cbb 05/14/2012 09:47 AM Ondrej Zajicek

Real broadcast mode for OSPFv2.

20ab192b 03/16/2012 11:12 AM Ondrej Zajicek

Adds filtering to 'show ospf lsadb' command.

Thanks Alexander V. Chernikov for the original patch.

5c78e0e3 01/22/2012 10:03 AM Ondrej Zajicek

Some more verbose warnings.

a7f23f58 11/06/2011 11:31 PM Ondrej Zajicek

Implements protocol templates.

Based on the patch from Alexander V. Chernikov.
Extended to support almost all protocols.
Uses 'protocol bgp NAME from TEMPLATE { ... }' syntax.

2918e610 09/03/2011 07:31 PM Ondrej Zajicek

Fixes for OSPF NSSA handling.

ed317862 08/07/2011 11:45 PM Ondrej Zajicek

OSPF NSSA support, inter-area LSA translation.

4160a9dd 07/22/2011 06:00 PM Ondrej Zajicek

OSPF NSSA translator election.

41b612c3 07/20/2011 09:48 PM Ondrej Zajicek

OSPF NSSA support, part one.

ab164971 03/28/2011 11:41 PM Ondrej Zajicek

Fixes a nasty bug in OSPF.

Sending malformed network prefixes in LSAs causes OSPF to crash
just after the LSA is propagated to the other routers.

8e48831a 03/17/2011 02:53 PM Ondrej Zajicek

Vastly improved OSPF reconfiguration.

Now it can handle a change in iface pattern structure.
It can add, remove and reconfigure interfaces, vlinks and areas.

e7b4948c 12/28/2010 12:43 AM Ondrej Zajicek

A simplification of the next-hop calculation.

Thanks to Joakim Tjernlund for the idea.

919f5411 12/24/2010 05:08 PM Ondrej Zajicek

Implements Point-to-MultiPoint interface type for OSPF.

57c574d8 12/07/2010 10:35 PM Ondrej Zajicek

Multipath support for OSPF

391931d4 11/19/2010 12:46 PM Ondrej Zajicek

Minor finalizations of link state checks.

79f561a1 11/19/2010 11:45 AM Ondrej Zajicek

Fixes a typo (in OSPF_MAX_PKT_SIZE value).

And updates a comment.

d9e7e1b1 11/13/2010 01:19 PM Ondrej Zajicek

Adds support for iface link detection to OSPF.

5cdf264f 11/10/2010 03:43 PM Ondrej Zajicek

Fixes a bug related to implicit backbone on ABR.

d5356072 11/04/2010 04:22 PM Ondrej Zajicek

Fixes a bug in LSA update of large LSAs.

0ea8fb4a 04/24/2010 01:18 PM Ondrej Zajicek

Fixes and enhancements in 'show ospf state' command.

Now it shows a distance, option to change showing reachable/all network
nodes and better handling of AS-external LSAs in multiple areas. The
command 'show ospf topology' was changed to not show stubnets in both...

48cff379 03/26/2010 03:21 PM Ondrej Zajicek

Added some comments.

af157fa3 03/26/2010 01:48 PM Ondrej Zajicek

Disable multiple OSPF pseudointerfaces on BSD.

0aad2b92 03/14/2010 03:36 PM Ondrej Zajicek

Temporary OSPF commit - sockets.

54305181 03/11/2010 05:55 PM Ondrej Zajicek

Merge branch 'new' into socket2

e81b440f 02/21/2010 01:34 PM Ondrej Zajicek

Fix configure to enable warnings and fix most of them.

353729f5 02/11/2010 09:23 AM Ondrej Zajicek

Temporary OSPF commit - socket changes.

c27b2449 02/08/2010 03:01 PM Ondrej Zajicek

Shows source (Router ID) for OSPF routes and adds such attribute.

A sad thing is that we does not have a 'router_id' filter type,
so it must be given as decimal number in filters.

29bfbae7 01/07/2010 03:24 PM Ondrej Zajicek

Debugging change leaked to repository.

f7574707 12/14/2009 08:17 PM Ondrej Zajicek

Implements route reload for OSPF.

8a70a13e 12/11/2009 10:06 AM Ondrej Zajicek

Implements protocol-specific Router ID for OSPF.

And fixes one minor bug.

3f22fa9e 11/09/2009 09:54 PM Ondrej Zajicek

Merge branch 'dev' into ospf3

a6bc04d5 10/29/2009 10:57 PM Ondrej Zajicek

Implements better checks on incoming packets and LSAs in OSPF.

98899244 10/15/2009 09:57 AM Ondrej Zajicek

Implement command to show LSA db.

b66abe8e 10/14/2009 10:28 PM Ondrej Zajicek

Reimplements 'show ospf state' for OSPFv3 and fixes some bugs.

c15e5690 09/08/2009 03:06 PM Ondrej Zajicek

Make endianity swapping simpler.

be862406 09/08/2009 11:45 AM Ondrej Zajicek

Temporary OSPFv3 development commit.

Finally, it is working.

f9c799a0 09/04/2009 09:06 AM Ondrej Zajicek

Temporary OSPFv3 development commit (changing multicast support).

05198c12 08/27/2009 05:01 PM Ondrej Zajicek

Some cleanups.

061ab802 08/27/2009 04:25 PM Ondrej Zajicek

Temporary OSPFv3 development commit

b49e6f5a 08/25/2009 02:42 PM Ondrej Zajicek

Temporary OSPFv3 development commit

c3226991 08/21/2009 07:27 AM Ondrej Zajicek

Temporary OSPFv3 development commit

b082c1bf 07/05/2009 06:26 PM Ondrej Zajicek

Fixes OSPF on big-endians.

Hmm, #ifdef is not very typo-safe.

38675202 06/11/2009 03:25 PM Ondrej Zajicek

Implements an option that allows to change a set of stub networks.

3d15dcdb 06/10/2009 09:45 PM Ondrej Zajicek

Changes OSPF to generate stub networks for non-primary addresses.

Also does some reorganization in RT LSA announcement.

024c310b 04/08/2009 06:15 PM Ondrej Zajicek

Fixes broken cryptographic authentication in OSPF

Cryptographic authentication in OSPF is defective by
design - there might be several packets independently
sent to the network (for example HELLO, LSUPD and LSACK)
where they might be reordered and that causes crypt....

8298d780 04/06/2009 02:17 PM Ondrej Zajicek

Better OSPF packet tracing log messages.

Replaces old OSPF packet tracing messages with
uniform messages with packet dumps.

94c42054 03/15/2005 10:06 PM Ondrej Filip

Added new parametr 'rx buffer <num>'. BIRD is able to receive
very large packets (if configured).

e6ea2e37 03/15/2005 08:51 PM Ondrej Filip

Maximal packet size in virtual links is 576.

e300066d 03/14/2005 11:24 AM Ondrej Filip

OSPF can accept larger packets than MTU.

d8c7d9e8 02/20/2005 04:27 AM Ondrej Filip

Since now I can also use 'dead interval', not just 'dead counter'.

60e04f04 02/18/2005 06:51 PM Ondrej Filip

Minor bugfix: Summary LSA for aggregated area was always propagated with
metric = 1. Now it's metric of most distant component.

9912fa51 02/12/2005 10:18 PM Ondrej Filip

Bugfix - cost of interface can be larger than 0xffff

8d94a524 07/16/2004 08:27 AM Ondrej Filip

Added handling of STUB bool.

86c84d76 07/15/2004 04:37 PM Ondrej Filip

Huge OSPF database redesign. Since now, all LSAs of all areas
are in single database. This avoids duplication of external LSAs and
fixes bug in external LSA distribution.

3b16080c 07/14/2004 09:46 PM Ondrej Filip

Multiple OSPF areas can be attached.
Origination of summary LSA works.
Routing table calculation works.
Virtual links works.

Well, I hope, OSPF is fully compatible with RFC2328!!!!

62eee823 07/13/2004 09:27 PM Ondrej Filip

Default tick = 1. The today's CPU is fast enough.

621ccdfe 07/13/2004 11:58 AM Ondrej Filip

Bugfix - options bits were not included in LSAs
Bugfix - E bit was not unset on stub areas.

3e2bd0f1 06/26/2004 08:15 PM Ondrej Filip

Md5 authentification added (unsested).
Packet receiving clean up.

98ac6176 06/25/2004 04:39 PM Ondrej Filip

A lot of changes:
- metric is 3 byte long now
- summary lsa originating
- more OSPF areas possible
- virtual links
- better E1/E2 routes handling
- some bug fixes..

I have to do:
- md5 auth (last mandatory item from rfc2328)
- !!!!DEBUG!!!!! (mainly virtual link system has probably a lot of bugs)...

1a61882d 06/11/2004 09:36 AM Ondrej Filip

Better routing table calculation. We are ready to work with
multiple OSPF areas.

7df86c25 06/09/2004 12:39 PM Ondrej Filip

Better checking of configuration.

b8f17cf1 06/06/2004 04:00 PM Ondrej Filip

Small cleanup, indentation and preparation for multiple areas routing table calculation.

d631698e 06/06/2004 02:27 PM Ondrej Filip


2e10a170 06/06/2004 09:37 AM Ondrej Filip


66261211 06/06/2004 09:13 AM Ondrej Filip

Struct area_net changed.

b9ed99f7 06/06/2004 08:55 AM Ondrej Filip

Cleanup in iface.c

c76ba51a 06/04/2004 04:30 PM Ondrej Filip

lsack.c cleaned. Better names for functions and
DIRECT acks can be sent in one packet now.

39e517d4 06/04/2004 12:53 PM Ondrej Filip

hello.c and hello.h cleaned up. No design changes.

035f6acb 06/01/2004 01:12 PM Ondrej Filip

Patch from Andreas Steinmetz <>

d83faf8d 05/31/2004 08:53 PM Martin Mares

static declarations don't belong to includes. (And most of them were
redundant anyway.)

4ef3dccf 05/31/2004 06:13 PM Martin Mares

The OSPF authentication type was sent in host byte order instead of of
network byte order thus breaking interoperability with other routing
daemons on litte endian machines. The patch fixes this but note that
this breaks compatability with older bird installations using OSPF and...

c11007bc 08/26/2003 10:41 AM Ondrej Filip

Endian-related bug fixes sent by Krzysztof Szuster <>

c926eee7 08/12/2001 12:04 AM Ondrej Filip

Area networks added into configuration.

78e2c6cc 08/11/2001 02:01 PM Ondrej Filip

I will not originate the same lsa before MINLSINTERVAL.

b02e4011 09/04/2000 07:42 PM Ondrej Filip

I allocate struct ifa before unlocking. So route exported to OSPF are correct.
I work also with interfaces that have some problems with socket opening.
I declare them as stub.

fdb19982 09/03/2000 10:18 PM Ondrej Filip

Serious bug in ext lsa origination found. Going for 1.0.4.

e3bc10fd 09/02/2000 08:54 AM Ondrej Filip

Added stub interface. (Interface which is propagated to OSPF but
it does not sends nor listens packets.)

I added some new options, please look at it and look into doc if it's OK.

a190e720 09/02/2000 12:03 AM Ondrej Filip

Added hellos on NBMA networks. (I don't violate RFC now.)

423230f2 06/08/2000 01:49 AM Ondrej Filip

Ehm, my (B)DR election was based on router id, but RFC says ip!