2 #define OFP_VERSION_H 1
4 #include <openflow/openflow-common.h>
8 #define OFP_VERSION_LONG_OPTIONS \
9 {"version", no_argument, NULL, 'V'}, \
10 {"protocols", required_argument, NULL, 'O'}
12 #define OFP_VERSION_OPTION_HANDLERS \
14 ovs_print_version(OFP10_VERSION, OFP13_VERSION); \
18 set_allowed_ofp_versions(optarg); \
21 uint32_t get_allowed_ofp_versions(void);
22 void set_allowed_ofp_versions(const char *string);
23 void mask_allowed_ofp_versions(uint32_t);
24 void ofp_version_usage(void);