vconn: Factor out common code from TCP and SSL vconns.
authorBen Pfaff <blp@nicira.com>
Sat, 13 Jun 2009 00:05:51 +0000 (17:05 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 13 Jun 2009 00:05:51 +0000 (17:05 -0700)
commit78ff02708b11df94ac2cdf6fe82dc922758c7e30
tree8127ee7758709c22f77e7722f6d36ca9985d27b0
parent5fe577ebbec3cbcc6f77d966ed04f099b40a0d0b
vconn: Factor out common code from TCP and SSL vconns.

The TCP and SSL vconn implementations had a lot of common code to make
and accept TCP connections, which this commit factors out into common
functions in socket-util.c.

Also adds the ability to bind ptcp and pssl vconns to a particular IP
address instead of the wildcard address.
lib/socket-util.c
lib/socket-util.h
lib/vconn-ssl.c
lib/vconn-stream.c
lib/vconn-tcp.c
lib/vconn-unix.c
lib/vconn.c
secchan/secchan.8.in
utilities/ovs-controller.8.in
vswitchd/ovs-vswitchd.conf.5.in