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
ofp-actions: helper functions for of12 set-field action
[sliver-openvswitch.git]
/
include
/
openflow
/
openflow-1.2.h
diff --git
a/include/openflow/openflow-1.2.h
b/include/openflow/openflow-1.2.h
index
64bc993
..
f6befdb
100644
(file)
--- a/
include/openflow/openflow-1.2.h
+++ b/
include/openflow/openflow-1.2.h
@@
-221,12
+221,11
@@
enum ofp12_controller_max_len {
struct ofp12_action_set_field {
ovs_be16 type; /* OFPAT12_SET_FIELD. */
ovs_be16 len; /* Length is padded to 64 bits. */
struct ofp12_action_set_field {
ovs_be16 type; /* OFPAT12_SET_FIELD. */
ovs_be16 len; /* Length is padded to 64 bits. */
+ ovs_be32 dst; /* OXM TLV header */
/* Followed by:
/* Followed by:
- * - Exactly oxm_len bytes containing a single OXM TLV, then
* - Exactly ((oxm_len + 4) + 7)/8*8 - (oxm_len + 4) (between 0 and 7)
* bytes of all-zero bytes
*/
* - Exactly ((oxm_len + 4) + 7)/8*8 - (oxm_len + 4) (between 0 and 7)
* bytes of all-zero bytes
*/
- uint8_t field[4]; /* OXM TLV - Make compiler happy */
};
OFP_ASSERT(sizeof(struct ofp12_action_set_field) == 8);
};
OFP_ASSERT(sizeof(struct ofp12_action_set_field) == 8);