Begin breaking openflow-1.0.h into common and version-specific definitions.
authorBen Pfaff <blp@nicira.com>
Wed, 7 Dec 2011 06:33:49 +0000 (22:33 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 7 Mar 2012 22:05:04 +0000 (14:05 -0800)
commit87ea5e5e26c97598cd66ef64c8386afac2b77fff
tree3e52212871b54a831c56d08c0e67abf855bdb907
parent539315543cc6123ae4efec162e291f7f90d0ccf0
Begin breaking openflow-1.0.h into common and version-specific definitions.

The intention is that, as each OpenFlow 1.1 and 1.2 feature is added to Open
vSwitch, the corresponding protocol definitions will be broken up this way:

  - Definitions that are the same in OF1.0 and OF1.1 will retain the "OFP"
    or "ofp" prefix and move to openflow-common.h.

  - Definitions that are specific to OF1.0 will be renamed with an "OFP10"
    or "ofp10" prefix and stay in openflow-1.0.h.

  - Definitions that are specific to OF1.1 or to OF1.1 and OF1.2 will be
    renamed with an "OFP11" or "ofp11" prefix and move to openflow-1.1.h.

  - Definitions that are specific to OF1.2 will be renamed with an "OFP12"
    or "ofp12" prefix and move to openflow-1.2.h.

This commit starts this process with some basic OpenFlow definitions.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
14 files changed:
include/openflow/automake.mk
include/openflow/openflow-1.0.h
include/openflow/openflow-1.1.h [new file with mode: 0644]
include/openflow/openflow-common.h [new file with mode: 0644]
include/openflow/openflow.h
lib/ofp-util.c
lib/rconn.c
lib/stream.c
lib/vconn.c
ofproto/connmgr.c
tests/test-vconn.c
utilities/ovs-controller.c
utilities/ovs-ofctl.c
vswitchd/ovs-vswitchd.c