diff options
author | Yi-Hung Wei <yihung.wei@gmail.com> | 2019-03-26 11:31:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-28 16:53:29 -0700 |
commit | 06bd2bdf19d2f3d22731625e1a47fa1dff5ac407 (patch) | |
tree | d423ed0696ae9fa847e8ed2585da5b1eb4afdfd1 /LICENSES | |
parent | 717700d183d65bd2e6511566aa6d32395419d158 (diff) | |
download | linux-06bd2bdf19d2f3d22731625e1a47fa1dff5ac407.tar.gz |
openvswitch: Add timeout support to ct action
Add support for fine-grain timeout support to conntrack action.
The new OVS_CT_ATTR_TIMEOUT attribute of the conntrack action
specifies a timeout to be associated with this connection.
If no timeout is specified, it acts as is, that is the default
timeout for the connection will be automatically applied.
Example usage:
$ nfct timeout add timeout_1 inet tcp syn_sent 100 established 200
$ ovs-ofctl add-flow br0 in_port=1,ip,tcp,action=ct(commit,timeout=timeout_1)
CC: Pravin Shelar <pshelar@ovn.org>
CC: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions