Up to [local] / src / usr.sbin / switchd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7, Thu Nov 11 09:59:19 2021 UTC (2 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Retire switchd and switchctl. While interesting they never managed to really get into a usable state. The OpenFlow API is mostly superseeded by P4 and so this is a bit of a dead end. OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 9 14:49:22 2017 UTC (7 years, 4 months ago) by reyk
Branch: MAIN
CVS Tags: 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
Changes since 1.5: +4 -8 lines
Diff to previous 1.5 (colored)
Stop accessing verbose and debug variables from log.c directly. This replaces log_verbose() and "extern int verbose" with the two functions log_setverbose() and log_getverbose(). Pointed out by benno@ OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well)
Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 15 09:05:14 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.4: +19 -1 lines
Diff to previous 1.4 (colored)
Add a socket_setport() util function, in addition to socket_getport(), and use it in switchctl to set a default port for "dump". No functional change for switchd itself.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 30 11:57:57 2016 UTC (7 years, 8 months ago) by reyk
Branch: MAIN
Changes since 1.3: +22 -1 lines
Diff to previous 1.3 (colored)
Implement socket server code that properly handles async I/O, partial messages, multiple messages per buffer and important things like connection limits and file descriptor accounting. It works with TCP connections as well as switch(4). The ofrelay.c part replaces networking that was in ofp.c and will soon handle all socket connections of switchd. It is called "ofrelay" because it will be used as client, server, and forwarder. OK rzalamena@
Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 29 20:46:06 2016 UTC (7 years, 8 months ago) by reyk
Branch: MAIN
Changes since 1.2: +22 -1 lines
Diff to previous 1.2 (colored)
Add print_hex() for debugging of received packets (from iked)
Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 29 18:13:50 2016 UTC (7 years, 8 months ago) by reyk
Branch: MAIN
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 (colored)
handle AF_UNIX sockaddrs
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 19 16:54:26 2016 UTC (7 years, 10 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Import switchd(8), a basic WIP OpenFlow implementation for OpenBSD. switchd consists of two parts: 1. switchd(8) and switchctl(8), an OpenFlow controller or "vswitch". 2. switch(4), an OpenFlow-aware kernel "bridge". This the 1st part, the driver will be imported later. The code will remain disabled for a while, but it helps development to have it in the tree. switchd currently supports partial OpenFlow 1.0, but the goal is to use OpenFlow 1.3.5 instead (switch(4) already does 1.3.5). For more background information see: http://www.openbsd.org/papers/bsdcan2016-switchd.pdf https://youtu.be/Cuo0qT-lqig With help from yasuoka@ goda@ Import discussed with deraadt@