ofproto: Specialize ofproto_send_packet() for uses the callers really want.
authorBen Pfaff <blp@nicira.com>
Wed, 16 Mar 2011 20:54:10 +0000 (13:54 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 18 Mar 2011 23:52:24 +0000 (16:52 -0700)
commit3cf10406a77e200454bbe2c79fcd4f6c153f1a33
tree46589276a78987a0ac751028602e6d3b4774549d
parentaf5739857a23c29953520e0fe9e79860d12b256c
ofproto: Specialize ofproto_send_packet() for uses the callers really want.

The callers of ofproto_send_packet() actually just want to send a packet
out on a port, possibly tagged with a VLAN, but the interface forced them
to compose a set of OpenFlow actions, which made it harder to use than
necessary.  This commit specializes the interface for the purposes that
the callers really wanted, making it easier to use.

handle_miss_upcall() can now take advantage of this function, too.
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c