Commit Graph
13 Commits
Author SHA1 Message Date
casado 3f0201adb5 Update copyright on all non-GPL files 2008-03-27 20:12:18 -07:00
Ben Pfaff a8b4fd4096 Improve comment. 2008-03-27 17:50:33 -07:00
Ben Pfaff fa20a0ed56 Add tag to enum for OpenFlow statistics type. 2008-03-27 17:50:33 -07:00
Ben Pfaff ee5d466f7f New function list_replace(), to replace a list element in-place. 2008-03-27 17:50:33 -07:00
Ben Pfaff 76c58e37e3 Add pointers to headers to buffer, and initialize them in flow_extract.
This will be used in the userspace switch implementation.
2008-03-27 17:50:33 -07:00
Ben Pfaff bce273b4c0 Add abstraction of packet queue, and use it in the controller.
The packet queue abstraction will also be used in the userspace
switch.
2008-03-27 17:50:33 -07:00
Ben Pfaff a9111b6015 Add the ability to connect to a vconn asynchronously.
Until now, vconn_connect() has always completed the connection
synchronously, blocking as necessary.  In the userspace
switch, we want to be able to continue forwarding packets even
if the connection to the controller drops.  Thus, this change set
that makes that possible.

The approach taken is perhaps more ambitious than needed, as it
actually adds a new high-level mechanism for polling on arbitrary
file descriptors.  This necessitates quite a bit of change to
each of the userspace programs that use vconns, but it also has
the effect of simplifying them.  The new structure of these programs
is a lot less fragile than the old one (which tended to end up
livelocking or hanging when something wasn't quite right), so it
seems like the changes are worth it.
2008-03-27 17:50:33 -07:00
Ben Pfaff 5875f5b634 Make vlog preserve errno.
This means that adding logging to code disturbs the program's state
as little as possible.  This is a precautionary measure, not in response
to any particular bug.
2008-03-27 17:50:33 -07:00
Ben Pfaff beddfa0e0e Add additional definitions for Ethernet addresses and headers and for VLAN headers. 2008-03-27 17:50:33 -07:00
Ben Pfaff be8f42912a Fix LIST_FOR_EACH_SAFE macro.
The previous definition had a syntax error that prevented it from
working.
2008-03-27 17:50:33 -07:00
Justin Pettit d170209c76 Make sure all the needed SSL files are included in generated distributions. 2008-03-19 23:13:42 -07:00
Ben Pfaff cf6207b610 Support SSL in secchan and controller. 2008-03-13 15:17:45 -07:00
Martin Casado 468e00132f Initial import 2008-03-04 13:12:53 -08:00