Commit Graph
11 Commits
Author SHA1 Message Date
Ben Pfaff b6eb6bc746 vlog: Add ability to log to an arbitrary file, and following related changes:
* New command-line options for configuring log files, hence:
  - Centralized vlog usage messages.
* New vlogconf action for reopening log files.
* New vlogconf support for specifying a target by pidfile.
2008-10-23 14:07:25 -07:00
Ben Pfaff 26d6b159f3 Make it possible to open more than one vlog client socket at a time. 2008-10-23 10:58:24 -07:00
Ben Pfaff 61f3824892 Delete trailing whitespace in vlog-socket.c 2008-10-16 13:51:53 -07:00
Justin Pettit 4528f887d1 Fix dereference of previously freed data.
Thanks to Masa et al. for catching this.
2008-10-13 23:37:46 -07:00
Ben Pfaff 9159ab1402 Fix vlogconf EINTR error returns.
Bug #111.
2008-08-14 16:18:46 -07:00
Ben Pfaff b3b28afb7b Use signal-based timekeeping functions throughout the source base. 2008-08-12 15:21:30 -07:00
Ben Pfaff 5680957f84 Move unix socket helper functions into socket-util.
This makes them available for use by the upcoming vconn_unix.
2008-07-30 15:45:05 -07:00
Ben Pfaff f730dded18 Move Autoconf's macro definitions into config.h.
This makes "make" output slightly more readable.
2008-07-21 15:05:53 -07:00
casado 3f0201adb5 Update copyright on all non-GPL files 2008-03-27 20:12:18 -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
Martin Casado 468e00132f Initial import 2008-03-04 13:12:53 -08:00