summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-01-19 22:29:17 -0800
committerBen Pfaff <blp@ovn.org>2017-01-21 12:25:13 -0800
commitebb467ff1c255813d6ba27d91ef6180e9a20fe0a (patch)
treec4e34553d6237420c9fa2f5e7c7265ff0d875480 /include
parentb3bd2c33e83e2039d75e830368a64d596f820aaa (diff)
downloadopenvswitch-ebb467ff1c255813d6ba27d91ef6180e9a20fe0a.tar.gz
actions: Separate action structures for "next" and "ct_next".
These actions aren't very similar but until now they both had the same action structure. These structures are going to diverge in an upcoming commit, so separate them now. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Mickey Spiegel <mickeys.dev@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/ovn/actions.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/ovn/actions.h b/include/ovn/actions.h
index a1b6b904a..92c8888f0 100644
--- a/include/ovn/actions.h
+++ b/include/ovn/actions.h
@@ -55,7 +55,7 @@ struct simap;
OVNACT(MOVE, ovnact_move) \
OVNACT(EXCHANGE, ovnact_move) \
OVNACT(DEC_TTL, ovnact_null) \
- OVNACT(CT_NEXT, ovnact_next) \
+ OVNACT(CT_NEXT, ovnact_ct_next) \
OVNACT(CT_COMMIT, ovnact_ct_commit) \
OVNACT(CT_DNAT, ovnact_ct_nat) \
OVNACT(CT_SNAT, ovnact_ct_nat) \
@@ -140,7 +140,7 @@ struct ovnact_null {
struct ovnact ovnact;
};
-/* OVNACT_NEXT, OVNACT_CT_NEXT. */
+/* OVNACT_NEXT. */
struct ovnact_next {
struct ovnact ovnact;
uint8_t ltable; /* Logical table ID of next table. */
@@ -160,6 +160,12 @@ struct ovnact_move {
struct expr_field rhs;
};
+/* OVNACT_CT_NEXT. */
+struct ovnact_ct_next {
+ struct ovnact ovnact;
+ uint8_t ltable; /* Logical table ID of next table. */
+};
+
/* OVNACT_CT_COMMIT. */
struct ovnact_ct_commit {
struct ovnact ovnact;