2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-04 08:15:25 +00:00

conntrack: Force commit.

Userspace support for force commit.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
This commit is contained in:
Jarno Rajahalme
2017-03-08 17:18:23 -08:00
parent b80e259f8e
commit a76a37efec
13 changed files with 253 additions and 19 deletions

View File

@@ -557,9 +557,14 @@ ofpact_nest_get_action_len(const struct ofpact_nest *on)
/* Bits for 'flags' in struct nx_action_conntrack.
*
* If NX_CT_F_COMMIT is set, then the connection entry is moved from the
* unconfirmed to confirmed list in the tracker. */
* unconfirmed to confirmed list in the tracker.
* If NX_CT_F_FORCE is set, in addition to NX_CT_F_COMMIT, then the conntrack
* entry is replaced with a new one in case the original direction of the
* existing entry is opposite of the current packet direction.
*/
enum nx_conntrack_flags {
NX_CT_F_COMMIT = 1 << 0,
NX_CT_F_FORCE = 1 << 1,
};
/* Magic value for struct nx_action_conntrack 'recirc_table' field, to specify