Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
tcp_states.h File Reference

Go to the source code of this file.

Macros

#define TCP_STATE_MASK   0xF
 
#define TCP_ACTION_FIN   (1 << 7)
 

Enumerations

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, TCP_MAX_STATES
}
 
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)
}
 

Macro Definition Documentation

#define TCP_ACTION_FIN   (1 << 7)

Definition at line 34 of file tcp_states.h.

#define TCP_STATE_MASK   0xF

Definition at line 32 of file tcp_states.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
TCP_ESTABLISHED 
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 
TCP_MAX_STATES 

Definition at line 16 of file tcp_states.h.

anonymous enum
Enumerator:
TCPF_ESTABLISHED 
TCPF_SYN_SENT 
TCPF_SYN_RECV 
TCPF_FIN_WAIT1 
TCPF_FIN_WAIT2 
TCPF_TIME_WAIT 
TCPF_CLOSE 
TCPF_CLOSE_WAIT 
TCPF_LAST_ACK 
TCPF_LISTEN 
TCPF_CLOSING 

Definition at line 36 of file tcp_states.h.