netdev-dummy: Add support for active stream
authorAndy Zhou <azhou@nicira.com>
Wed, 18 Dec 2013 21:55:25 +0000 (13:55 -0800)
committerAndy Zhou <azhou@nicira.com>
Fri, 24 Jan 2014 00:08:53 +0000 (16:08 -0800)
commit631486bd29dc6cfe2dc7cf65495d308f4c7fca56
treed32b7d0a421abb38fd06ee0889e92385941383b4
parent9c8ad495ec332a29b4e101c00b0b0341631a4d20
netdev-dummy: Add support for active stream

The dummy ports thus far only support passive connections. It can
listen for multiple incoming connection requests but not make active
connections. This patch adds support of active stream, so that a
dummy port can be configured with either passive or active connections.

The net result is that dummy ports can now connect to each other,
without being patch ports. This feature will be useful in adding test
cases of future commits.

Signed-off-by: Andy Zhou <azhou@nicira.com>
lib/netdev-dummy.c
tests/ofproto-dpif.at