git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nicira-ext: Add size check for struct nx_role_request.
[sliver-openvswitch.git]
/
include
/
openflow
/
nicira-ext.h
diff --git
a/include/openflow/nicira-ext.h
b/include/openflow/nicira-ext.h
index
6921803
..
62180a7
100644
(file)
--- a/
include/openflow/nicira-ext.h
+++ b/
include/openflow/nicira-ext.h
@@
-276,6
+276,7
@@
struct nx_role_request {
struct nicira_header nxh;
ovs_be32 role; /* One of NX_ROLE_*. */
};
+OFP_ASSERT(sizeof(struct nx_role_request) == 20);
enum nx_role {
NX_ROLE_OTHER, /* Default role, full access. */