ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tcpdef.h File Reference
#include "linux.h"

Go to the source code of this file.

Data Structures

struct  tcphdr
union  tcp_word_hdr
struct  tcp_info

Defines

#define TCP_STATE_MASK   0xF
#define TCP_ACTION_FIN   (1 << 7)
#define tcp_flag_word(tp)   ( ((union tcp_word_hdr *)(tp))->words [3])
#define TCP_NODELAY   1 /* Turn off Nagle's algorithm. */
#define TCP_MAXSEG   2 /* Limit MSS */
#define TCP_CORK   3 /* Never send partially complete segments */
#define TCP_KEEPIDLE   4 /* Start keeplives after this period */
#define TCP_KEEPINTVL   5 /* Interval between keepalives */
#define TCP_KEEPCNT   6 /* Number of keepalives before death */
#define TCP_SYNCNT   7 /* Number of SYN retransmits */
#define TCP_LINGER2   8 /* Life time of orphaned FIN-WAIT-2 state */
#define TCP_DEFER_ACCEPT   9 /* Wake up listener only when data arrive */
#define TCP_WINDOW_CLAMP   10 /* Bound advertised window */
#define TCP_INFO   11 /* Information about this connection. */
#define TCP_QUICKACK   12 /* Block/reenable quick acks */
#define TCPI_OPT_TIMESTAMPS   1
#define TCPI_OPT_SACK   2
#define TCPI_OPT_WSCALE   4
#define TCPI_OPT_ECN   8
#define TCPF_CA_Open   (1<<TCP_CA_Open)
#define TCPF_CA_Disorder   (1<<TCP_CA_Disorder)
#define TCPF_CA_CWR   (1<<TCP_CA_CWR)
#define TCPF_CA_Recovery   (1<<TCP_CA_Recovery)
#define TCPF_CA_Loss   (1<<TCP_CA_Loss)

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)
}
enum  {
  TCP_FLAG_CWR = 0x00800000, TCP_FLAG_ECE = 0x00400000, TCP_FLAG_URG = 0x00200000, TCP_FLAG_ACK = 0x00100000,
  TCP_FLAG_PSH = 0x00080000, TCP_FLAG_RST = 0x00040000, TCP_FLAG_SYN = 0x00020000, TCP_FLAG_FIN = 0x00010000,
  TCP_RESERVED_BITS = 0x0F000000, TCP_DATA_OFFSET = 0xF0000000
}
enum  tcp_ca_state { TCP_CA_Open = 0 }

Generated on Wed May 23 2012 05:22:56 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.