ofp-util: ofputil_pull_ofp11_match: Allow OXM match
authorSimon Horman <horms@verge.net.au>
Tue, 7 Aug 2012 21:49:36 +0000 (06:49 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Aug 2012 23:16:20 +0000 (16:16 -0700)
commit36a16881d032fce280e54de2f261640a52bf04c7
treeb2ae917be6fb2a349d72aa8bb46ac537845d36f5
parenta78b6a9e194937ba9fe1d59bccdde831b94b1734
ofp-util: ofputil_pull_ofp11_match: Allow OXM match

* Allow OXM matches which specified in OpenFlow 1.2.
  Also allow them for OpenFlow 1.1 as there seems little reason not to.

* Pass padded_match_len parameter which if on NULL will be set to
  the padded match len. This will be used when decoding flow statistics
  response messages.

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