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], Sun May 5 21:33:00 2019 UTC (5 years, 1 month ago) by akoshibe
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
Changes since 1.5: +19 -10 lines
Diff to previous 1.5 (colored)
switchd(8) will sometimes not save a copy of a packet needing forwarding even when a switch(4) instance requires it to supply it. Cases where this can happen are: if the copy of the packet recieved from the switch is too short (source/destination pairs can't be recovered), is non-unicast, or when switchd has to fall back to flooding traffic. Factor out the check for short packets, stopping before forwarding decisions are made if the full packet is needed by the switch. Set the packet buffer early for cases where it is needed otherwise. Also replace a few bzero's with memset's. Diff based on one by guenther@ OK phessler@
Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 6 17:31:19 2017 UTC (6 years, 10 months ago) by rob
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
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)
packet.c and parse.y no longer require err.h. ok jca@ florian@
Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 26 08:55:43 2016 UTC (7 years, 8 months ago) by rzalamena
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored)
Set pkt_buf variable on incoming packet_in messages. small style correction and ok reyk@
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 21 08:39:23 2016 UTC (7 years, 10 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.2: +9 -6 lines
Diff to previous 1.2 (colored)
With uint32_t ports, we cannot sneak the port into an int anymore
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 20 20:07:02 2016 UTC (7 years, 10 months ago) by reyk
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)
Handle ports as uint32_t instead of in_port_t: OpenFlow 1.0 used 16bit ports, but later versions switched to 32bit ports (for the case that a virtual switch has more than 65535 switch ports, of course).
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
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@