#include <config.h>
#include "ofp-util.h"
#include "ofp-version-opt.h"
+#include "ovs-thread.h"
#include "vlog.h"
#include "dynamic-string.h"
void
set_allowed_ofp_versions(const char *string)
{
+ assert_single_threaded();
allowed_versions = ofputil_versions_from_string(string);
}
+void
+mask_allowed_ofp_versions(uint32_t bitmap)
+{
+ assert_single_threaded();
+ allowed_versions &= bitmap;
+}
+
void
ofp_version_usage(void)
{