OpenBSD CVS

CVS log for src/usr.sbin/ripd/message.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 3 10:34:08 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.16: +4 -4 lines
Diff to previous 1.16 (colored)

Use ibuf_data() and ibuf_size() instead of accessing struct ibuf.
OK tb@

Revision 1.16 / (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.15: +1 -2 lines
Diff to previous 1.15 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 15 20:51:39 2019 UTC (4 years, 5 months ago) by remi
Branch: MAIN
CVS Tags: 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
Changes since 1.14: +14 -10 lines
Diff to previous 1.14 (colored)

Clear r_list if the interface is passive. Additionaly move the check
for passive interface a bit further up so that the function can return
earlier.

Memory leak observed and reported by Jason Tubnor.

OK benno@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 9 20:49:40 2019 UTC (4 years, 6 months ago) by remi
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Do not count up nentries in send_response() when the entry was skipped
because of split-horizon simple. This fixes empty response packages sent
out by ripd.
Adapt send_request() to follow the same layout.

Input and OK claudio@

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 9 20:41:24 2019 UTC (4 years, 6 months ago) by remi
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

fix error message.

OK claudio@

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 25 03:23:49 2014 UTC (9 years, 7 months ago) by lteo
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, 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
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

Remove unnecessary netinet/in_systm.h include.

ok millert@

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 26 13:56:08 2010 UTC (14 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, 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
Changes since 1.10: +29 -29 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sun Apr 13 00:22:17 2008 UTC (16 years, 1 month ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Use arc4random_buf() when requesting more than a single word of output

Use arc4random_uniform() when the desired random number upper bound
is not a power of two

ok deraadt@ millert@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 24 20:52:50 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.8: +5 -6 lines
Diff to previous 1.8 (colored)

Make the packet buffer u_int8_t * everywhere. This is binary data and not
a string.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 18 17:00:59 2007 UTC (16 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +12 -12 lines
Diff to previous 1.7 (colored)

spacing

Revision 1.7 / (download) - annotate - [select for diffs], Sat Mar 31 09:49:20 2007 UTC (17 years, 2 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

Some code cleanups. Added one lint command, removed one unused function and
some other cosmetics.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Nov 11 15:55:52 2006 UTC (17 years, 7 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

pass the right size of the message

OK henning@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 10 10:28:18 2006 UTC (17 years, 7 months ago) by michele
Branch: MAIN
Changes since 1.4: +15 -1 lines
Diff to previous 1.4 (colored)

clear lists before deleting neighbor

OK claudio@ henning@

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 3 15:21:25 2006 UTC (17 years, 7 months ago) by michele
Branch: MAIN
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored)

if the nexthop is not reachable through outgoing interface set it to
INADDR_ANY. Spotted out by Martin Boehme.

OK claudio@ henning@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 31 23:43:11 2006 UTC (17 years, 7 months ago) by michele
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

create a temporary neighbor instead of a permanent one when a request is received

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 24 16:37:48 2006 UTC (17 years, 7 months ago) by david
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

spelling and typo fixes

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 16:11:58 2006 UTC (17 years, 7 months ago) by norby
Branch: MAIN

Welcome ripd started by Michele Marchetto some time ago by using the imsg/three process framework of ospfd. He implemented most of the daemon with a little help and guidance from Claudio and I. Currently the daemon is more or less complete, with the exception of key lifetime and rollover. Not yet connected to the builds. OK claudio@

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.