Use struct nicira_header nxh in struct nx_set_flow_format
authorSimon Horman <horms@verge.net.au>
Tue, 28 Feb 2012 00:08:43 +0000 (09:08 +0900)
committerBen Pfaff <blp@nicira.com>
Tue, 28 Feb 2012 01:06:13 +0000 (17:06 -0800)
This makes struct nx_set_flow_format consistent with
other similar structures.

Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
include/openflow/nicira-ext.h

index b66b806ed6f47121461cbbed8639bb249b536255..44b3ddd90f324d73267ac1aad82c2adb49954932 100644 (file)
@@ -1758,9 +1758,7 @@ enum nx_flow_format {
 
 /* NXT_SET_FLOW_FORMAT request. */
 struct nx_set_flow_format {
-    struct ofp_header header;
-    ovs_be32 vendor;            /* NX_VENDOR_ID. */
-    ovs_be32 subtype;           /* NXT_SET_FLOW_FORMAT. */
+    struct nicira_header nxh;
     ovs_be32 format;            /* One of NXFF_*. */
 };
 OFP_ASSERT(sizeof(struct nx_set_flow_format) == 20);