OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 3 09:51:38 2023 UTC (11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

Use ibuf_data() instead of direct access to ibuf->buf,
use ibuf_size() instead of direct access to ibuf->wpos,
use ibuf_left() in places where the code checks if there is enough
space left in the ibuf.
OK tb@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:14 2023 UTC (15 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.13 / (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.12: +5 -4 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Tue Jan 19 09:53:11 2021 UTC (3 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.11: +2 -5 lines
Diff to previous 1.11 (colored)

Use ospfe_imsg_compose_rde() instead of exporting iev_rde and using
imsg_compose_event() directly. This is needed to make the imsg event
structures static in ospfe.c, rde.c and ospf6d.c.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 28 09:25:24 2019 UTC (4 years, 5 months ago) by denis
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Refactor link state ack/req.

OK remi@

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 11 21:33:56 2019 UTC (4 years, 5 months ago) by denis
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Convert sendto() to sendmsg().

This makes code similar to ospfd(8).

OK claudio@ deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 10 13:50:34 2019 UTC (5 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

When calculating how much payload ospf6d can put into DD and LSREQ packets
substract the size of the IPv6 header and not the IPv4 header from the MTU.
This stops ospf6d to send out fragmented packets.
Found with and OK benno@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 22 14:26:35 2013 UTC (11 years, 2 months ago) by sthen
Branch: MAIN
CVS Tags: 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.7: +4 -2 lines
Diff to previous 1.7 (colored)

port from ospfd/lsreq.c r1.20, ok claudio@

date: 2013/01/17 09:02:22;  author: markus;  state: Exp;  lines: +4 -2
the peer might still send more DD messages, even if the RDE has
processed all received DDs (dd_pending == 0), so we need to check
for state != NBR_STA_XCHNG; ok claudio@

Revision 1.7 / (download) - annotate - [select for diffs], Mon May 2 08:56:44 2011 UTC (13 years, 1 month 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.6: +3 -2 lines
Diff to previous 1.6 (colored)

wrap long line

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 3 10:00:34 2010 UTC (14 years ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.5: +3 -4 lines
Diff to previous 1.5 (colored)

The is no md5 authentication in OSPFv3.  Remove some leftovers from
the ospf6d packet lenght calculation.
ok claudio@ stsp@

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 26 13:56:08 2010 UTC (14 years ago) by nicm
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

Rename some imsg bits to make namespace collisions less likely buf to
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.

ok henning gilles claudio jacekm deraadt

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 6 09:02:46 2009 UTC (15 years ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

make ospf6ctl/ospf6d imsg-in-a-lib ready too.

ospf6ctl is already broken in tree (not connected to build).

ok pyr@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 16 20:26:04 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

correctly send lsreq, there is no need to change the byte-order of the lsa type.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 10 14:09:25 2007 UTC (16 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.1: +4 -10 lines
Diff to previous 1.1 (colored)

send_packet() now takes a struct in6_addr as destination instead of a
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@

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.