]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/tcp.h
[TCP]: Move the tcp sock states to net/tcp_states.h
[net-next-2.6.git] / include / linux / tcp.h
index e70ab19652db88a674394d78282967f95cbf5810..b88fe05fdcbf688d82b09b6f25aaef7361136398 100644 (file)
@@ -55,24 +55,6 @@ struct tcphdr {
        __u16   urg_ptr;
 };
 
-
-enum {
-  TCP_ESTABLISHED = 1,
-  TCP_SYN_SENT,
-  TCP_SYN_RECV,
-  TCP_FIN_WAIT1,
-  TCP_FIN_WAIT2,
-  TCP_TIME_WAIT,
-  TCP_CLOSE,
-  TCP_CLOSE_WAIT,
-  TCP_LAST_ACK,
-  TCP_LISTEN,
-  TCP_CLOSING,  /* now a valid state */
-
-  TCP_MAX_STATES /* Leave at the end! */
-};
-
-#define TCP_STATE_MASK 0xF
 #define TCP_ACTION_FIN (1 << 7)
 
 enum {