meta-flow: Remove circular dependency on enum ofputil_protocol.
authorJarno Rajahalme <jrajahalme@nicira.com>
Sat, 10 Oct 2015 00:24:00 +0000 (17:24 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Sat, 10 Oct 2015 00:24:00 +0000 (17:24 -0700)
commit1fd58977ba55abeecf868809f93547f5ade5c5f1
tree39ed5904c1606828f605f0ada2f4ce4d5991d7a7
parentccb75a285bab733ec7b08da366aab438a884bf97
meta-flow: Remove circular dependency on enum ofputil_protocol.

enum ofputil_protocol is defined in lib/ofp-util.h, which also
includes lib/meta-flow.h.  We have already replaced the sets of usable
protocols in struct mf_field with uint32_t for this reason.  Do the
same for the return value of mf_set().

Suggested-by: John Reumann <nofutznetworks@gmail.com>
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/meta-flow.c
lib/meta-flow.h