aboutsummaryrefslogtreecommitdiff
path: root/lib/ofp-version-opt.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-11-28 22:22:38 -0800
committerBen Pfaff <blp@nicira.com>2012-11-29 08:04:56 -0800
commit37923ac734a8b8bdb4da2fe77a24d77d487dc056 (patch)
treeb7ce332c2506f65d699d78812fa34486361e3bbd /lib/ofp-version-opt.h
parent4f13da568d49b4910cedf45e6c54c43ea318dd18 (diff)
ovs-ofctl: Reject impossible protocols configurations at startup.
The -O and -F options interact, so that it's possible to select only flow formats that are not supported on a given OpenFlow version. It seems best to report these problems up front rather than failing in a more mysterious way later. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'lib/ofp-version-opt.h')
-rw-r--r--lib/ofp-version-opt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ofp-version-opt.h b/lib/ofp-version-opt.h
index 78e31352..6bf5eed8 100644
--- a/lib/ofp-version-opt.h
+++ b/lib/ofp-version-opt.h
@@ -20,6 +20,7 @@
uint32_t get_allowed_ofp_versions(void);
void set_allowed_ofp_versions(const char *string);
+void mask_allowed_ofp_versions(uint32_t);
void ofp_version_usage(void);
#endif