From 59e32148fe6bc36eb64f77f342a0ae5ce7d12bef Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Tue, 28 Feb 2012 09:08:43 +0900 Subject: [PATCH] Use struct nicira_header nxh in struct nx_set_flow_format This makes struct nx_set_flow_format consistent with other similar structures. Acked-by: Chris Wright Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- include/openflow/nicira-ext.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index b66b806ed..44b3ddd90 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -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); -- 2.43.0