ofproto, ofp-util: Begin disentangling packet-in wire format and handling.
authorBen Pfaff <blp@nicira.com>
Tue, 22 Oct 2013 23:16:31 +0000 (16:16 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 23 Oct 2013 04:12:06 +0000 (21:12 -0700)
commit0fb7792ab3428a28044e53b443388cbc1231035a
treef95d25509a5e4fd3dd00f91242cdae5927bdcfd0
parent5b62d97786e4fea76aaa96ef0004465e8cb08cf8
ofproto, ofp-util: Begin disentangling packet-in wire format and handling.

struct ofputil_packet_in mixes data included in OpenFlow packet_in messages
with data that used internally by ofproto and connmgr to queue and route
packet_ins.  This commit begins disentangling these purposes by adding a
new struct ofproto_packet_in that wraps struct ofputil_packet_in.  Adding
this new level of indirection causes a lot of code churn, so this commit
mainly takes care of that to make the remaining changes easier to read.

This commit does move the list node used for queuing packet_ins into the
new wrapper structure.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.h
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/fail-open.c
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h