ofproto-dpif: Simplify output action composition.
authorEthan Jackson <ethan@nicira.com>
Fri, 18 Nov 2011 00:47:49 +0000 (16:47 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 18 Nov 2011 21:48:58 +0000 (13:48 -0800)
commit5e48dc2b45a1629ad8b32847ee104d7fc2c08345
tree6dd319481634becbb618cc544bc3e9262efa4ddb
parentd59906fb98291e627f7d7834f66b7f0bf2031634
ofproto-dpif: Simplify output action composition.

Before this patch, the logic for outputting to a port was scattered
all around ofproto-dpif.  This patch simplifies the code by forcing
it to use one code path to check if a port is forwarding, and
output if appropriate.  Future patches will rely on this
simplification to implement new features.
ofproto/ofproto-dpif.c