aboutsummaryrefslogtreecommitdiff
path: root/lib/stream-tcp.c
AgeCommit message (Collapse)Author
2010-07-21vlog: Introduce VLOG_DEFINE_THIS_MODULE for declaring vlog module in use.Ben Pfaff
Adding a macro to define the vlog module in use adds a level of indirection, which makes it easier to change how the vlog module must be defined. A followup commit needs to do that, so getting these widespread changes out of the way first should make that commit easier to review.
2010-05-26Add some missing "#include"s.Ben Pfaff
These are required to build on FreeBSD 8.0.
2010-02-11Merge "master" into "next".Ben Pfaff
The main change here is the need to update all of the uses of UNUSED in the next branch to OVS_UNUSED as it is now spelled on "master".
2010-01-07stream: Make passive SSL and TCP streams report bound addresses as names.Ben Pfaff
The names of passive SSL and TCP streams were being poorly reported: TCP always simply reported "ptcp", and SSL reported whatever was passed in. This commit makes them report the addresses that were actually bound by the TCP/IP stack, which is more useful for testing, debugging, and logging.
2010-01-07socket-util: Make inet_open_passive() pass back the bound address.Ben Pfaff
This feature is useful in an upcoming commit.
2010-01-07socket-util: Allow binding without a port number in inet_open_passive().Ben Pfaff
The test-vconn program binds a socket to a nonspecific port number. To add SSL support to this program, it needs to be able to use SSL, and the stream library is the easiest way to do that. But the stream library can't bind to a nonspecific port. This commit adds that feature, by adding it to the function that the stream SSL library uses as a building block.
2010-01-06stream: Add stream_run(), stream_run_wait() functions.Ben Pfaff
SSL, which will be added in an upcoming commit, requires some background processing, which is best done in a "run" function in our architecture. This commit adds stream_run() and stream_run_wait() and calls to them from the places where they will be required.
2009-12-02Merge "master" branch into "db".Ben Pfaff
2009-11-04stream: New library for bidirectional streams (e.g. TCP, SSL, Unix sockets).Ben Pfaff
This code is heavily based on the vconn code. Eventually we should make the stream-based vconns (currently that's all of them) a wrapper around streams, but I haven't done that yet. SSL is not implemented yet.