diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-12-13 23:25:56 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 13:10:57 -0800 |
commit | 22712813620fa8e682dbfb253a60ca0131da1e07 (patch) | |
tree | d3ed724002ecb7f028666d7fafbfc4fb96297182 /include/net/tcp_states.h | |
parent | d8313f5ca2b1f86b7df6c99fc4b3fffa1f84e92b (diff) | |
download | op-kernel-dev-22712813620fa8e682dbfb253a60ca0131da1e07.zip op-kernel-dev-22712813620fa8e682dbfb253a60ca0131da1e07.tar.gz |
[TCP]: Move the TCPF_ enum to tcp_states.h
Upcoming patches will make, for instance, ip_sockglue.c need just this enum
and not all of tcp.h.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp_states.h')
-rw-r--r-- | include/net/tcp_states.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/net/tcp_states.h b/include/net/tcp_states.h index b9d4176..b0b6459 100644 --- a/include/net/tcp_states.h +++ b/include/net/tcp_states.h @@ -31,4 +31,20 @@ enum { #define TCP_STATE_MASK 0xF +#define TCP_ACTION_FIN (1 << 7) + +enum { + TCPF_ESTABLISHED = (1 << 1), + TCPF_SYN_SENT = (1 << 2), + TCPF_SYN_RECV = (1 << 3), + TCPF_FIN_WAIT1 = (1 << 4), + TCPF_FIN_WAIT2 = (1 << 5), + TCPF_TIME_WAIT = (1 << 6), + TCPF_CLOSE = (1 << 7), + TCPF_CLOSE_WAIT = (1 << 8), + TCPF_LAST_ACK = (1 << 9), + TCPF_LISTEN = (1 << 10), + TCPF_CLOSING = (1 << 11) +}; + #endif /* _LINUX_TCP_STATES_H */ |