ofp-util: Rename OFPUTIL_P_* constants and update comments for clarity.
authorBen Pfaff <blp@nicira.com>
Fri, 16 Nov 2012 05:01:13 +0000 (21:01 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 16 Nov 2012 17:20:17 +0000 (09:20 -0800)
commit85813857630f6a09786f3ab2b2129a8513491e64
tree935b7cb292453c69148c3d5b7a4999892c29d020
parent473f65a256fb7c41c8de2cf7c5f228b8dbb12576
ofp-util: Rename OFPUTIL_P_* constants and update comments for clarity.

It wasn't clear to me, at least, whether an OFPUTIL_P_* constant
indicated an OpenFlow version and a flow format or just a flow format.
After some reflection, I think it's more useful if it indicates both,
because otherwise it might be necessary to pass both an OpenFlow version
and an OFPUTIL_P_* constant in some contexts, but this way only the latter
is needed.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
lib/ofp-util.c
lib/ofp-util.h
ofproto/connmgr.c