summaryrefslogtreecommitdiff
path: root/include/openvswitch/ofp-actions.h
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2017-03-08 17:18:23 -0800
committerJarno Rajahalme <jarno@ovn.org>2017-03-08 17:23:24 -0800
commit2cd20955dc85dc611b5f24c8977d5a3f842ae380 (patch)
tree3554004083959d22a3676b88f46fc41e501bced1 /include/openvswitch/ofp-actions.h
parentdaf4d3c18da4356ea7469ea0b467278651c91baa (diff)
downloadopenvswitch-2cd20955dc85dc611b5f24c8977d5a3f842ae380.tar.gz
actions: Add resubmit with conntrack tuple.
Add resubmit option to use the conntrack original direction tuple swapped with the corresponding packet header fields during the lookup. This could allow the same ACL table be used for admitting return and/or related traffic as is used for admitting the original direction traffic. Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Acked-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'include/openvswitch/ofp-actions.h')
-rw-r--r--include/openvswitch/ofp-actions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/openvswitch/ofp-actions.h b/include/openvswitch/ofp-actions.h
index ef4598b85..7abebb0a5 100644
--- a/include/openvswitch/ofp-actions.h
+++ b/include/openvswitch/ofp-actions.h
@@ -641,11 +641,13 @@ struct ofpact_nat {
/* OFPACT_RESUBMIT.
*
- * Used for NXAST_RESUBMIT, NXAST_RESUBMIT_TABLE. */
+ * Used for NXAST_RESUBMIT, NXAST_RESUBMIT_TABLE, NXAST_RESUBMIT_TABLE_CT. */
struct ofpact_resubmit {
struct ofpact ofpact;
ofp_port_t in_port;
uint8_t table_id;
+ bool with_ct_orig; /* Resubmit with Conntrack original direction tuple
+ * fields in place of IP header fields. */
};
/* Bits for 'flags' in struct nx_action_learn.