diff options
author | Simon Horman <horms@verge.net.au> | 2012-09-14 12:05:44 +0900 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-09-13 21:25:59 -0700 |
commit | 0291c1c651d92eb03dd49d7523d929fe48a6e6c8 (patch) | |
tree | f0c76e0a053bd50d7b0b6f6caef8abd3ec7ca4fe /include/openflow/openflow-1.2.h | |
parent | 307975da7111cc223a9e2b859a0b12532fa4f2c8 (diff) | |
download | openvswitch-0291c1c651d92eb03dd49d7523d929fe48a6e6c8.tar.gz |
ofp-actions: helper functions for of12 set-field action
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openflow/openflow-1.2.h')
-rw-r--r-- | include/openflow/openflow-1.2.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/openflow/openflow-1.2.h b/include/openflow/openflow-1.2.h index 64bc99374..f6befdbec 100644 --- 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. */ + ovs_be32 dst; /* OXM TLV header */ /* 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 */ - uint8_t field[4]; /* OXM TLV - Make compiler happy */ }; OFP_ASSERT(sizeof(struct ofp12_action_set_field) == 8); |