summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/packet.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Set pkt_buf variable on incoming packet_in messages.rzalamena2016-09-261-2/+5
| | | | small style correction and ok reyk@
* With uint32_t ports, we cannot sneak the port into an int anymorereyk2016-07-211-6/+9
|
* Handle ports as uint32_t instead of in_port_t: OpenFlow 1.0 used 16bitreyk2016-07-201-6/+6
| | | | | ports, but later versions switched to 32bit ports (for the case that a virtual switch has more than 65535 switch ports, of course).
* Import switchd(8), a basic WIP OpenFlow implementation for OpenBSD.reyk2016-07-191-0/+88
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@