OpenBSD CVS

CVS log for src/usr.sbin/bgpd/session_bgp.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 21 15:15:25 2025 UTC (6 weeks ago) by claudio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +18 -14 lines
Diff to previous 1.4 (colored)

Switch peer FSM state early in change_state()

Update the peer state and prev_state first, then do all the additional
actions which now can use peer->state and peer->prev_state.
As a side effect mrt_state_dump becomes trivial and log_statechange()
switches the arguments around for its 'don't clutter the logs' magic.
OK tb@ (long time ago)

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 27 13:35:00 2025 UTC (7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_7_BASE, OPENBSD_7_7
Changes since 1.3: +7 -16 lines
Diff to previous 1.3 (colored)

Remove unneeded prototypes and make a few more functions static.
OK compiler

Revision 1.3 / (download) - annotate - [select for diffs], Wed Feb 26 19:31:31 2025 UTC (7 months ago) by claudio
Branch: MAIN
Changes since 1.2: +11 -14 lines
Diff to previous 1.2 (colored)

Make parse_update() and parse_rrefresh() void, failure to parse is not
communicated back like that.
OK tb@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 26 16:39:18 2025 UTC (7 months ago) by claudio
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

Fail hard on failure in imsg_rde() and with that simplify a lot of callers.
OK tb@

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 26 15:49:56 2025 UTC (7 months ago) by claudio
Branch: MAIN

Split out the BGP session code from session.c into its own file session_bgp.c

This includes some necessary adjustments to make this split possible
and code got reshuffled as well.

OK tb@

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.