diff options
| author | 2006-05-29 18:24:20 -0700 | |
|---|---|---|
| committer | 2006-06-17 21:28:59 -0700 | |
| commit | 997ae831ade74bdaed4172b1c02060b9efd6e206 (patch) | |
| tree | feca25f5c27c47724ecfbcc66f4f437619fb57ed /include | |
| parent | [NETFILTER]: conntrack: add sysctl to disable checksumming (diff) | |
| download | linux-dev-997ae831ade74bdaed4172b1c02060b9efd6e206.tar.xz linux-dev-997ae831ade74bdaed4172b1c02060b9efd6e206.zip | |
[NETFILTER]: conntrack: add fixed timeout flag in connection tracking
Add a flag in a connection status to have a non updated timeout.
This permits to have connection that automatically die at a given
time.
Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/netfilter/nf_conntrack_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_conntrack_common.h b/include/linux/netfilter/nf_conntrack_common.h index 3ff88c878308..d2e4bd7a7a14 100644 --- a/include/linux/netfilter/nf_conntrack_common.h +++ b/include/linux/netfilter/nf_conntrack_common.h @@ -69,6 +69,10 @@ enum ip_conntrack_status { /* Connection is dying (removed from lists), can not be unset. */ IPS_DYING_BIT = 9, IPS_DYING = (1 << IPS_DYING_BIT), + + /* Connection has fixed timeout. */ + IPS_FIXED_TIMEOUT_BIT = 10, + IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT), }; /* Connection tracking event bits */ |
