Switch to new packet-out format and add OFPP_IN_PORT.
authorJustin Pettit <jpettit@nicira.com>
Thu, 14 Aug 2008 07:02:14 +0000 (00:02 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 14 Aug 2008 07:07:18 +0000 (00:07 -0700)
commit0226bbc7422d5844147e879e64a6defda0cbddd3
treecb48c0cdd7fa8a53c4308d0ed3a28cfb59508128
parent8a83c003025711d906d0b1710b49e580257f4c10
Switch to new packet-out format and add OFPP_IN_PORT.

The original packet-out format allowed multiple actions to be specified for
buffered packets, but only a destination port for messages including data.
This change makes packet-out more consistent by allowing multiple actions
regardless of how the packet is stored.

This change also disallows sending packets through the incoming port without
explicitly using the OFPP_IN_PORT virtual port.
datapath/datapath.c
datapath/forward.c
include/openflow.h
lib/ofp-print.c
lib/vconn.c
switch/datapath.c