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

Go to the source code of this file.

Data Structures

struct  r2net_handshake
 
struct  r2net_node
 
struct  r2net_sock_container
 
struct  r2net_msg_handler
 
struct  r2net_status_wait
 
struct  r2net_send_tracking
 

Macros

#define R2NET_MSG_MAGIC   ((u16)0xfa55)
 
#define R2NET_MSG_STATUS_MAGIC   ((u16)0xfa56)
 
#define R2NET_MSG_KEEP_REQ_MAGIC   ((u16)0xfa57)
 
#define R2NET_MSG_KEEP_RESP_MAGIC   ((u16)0xfa58)
 
#define R2NET_MSG_DATA_MAGIC   ((u16)0xfa59)
 
#define R2NET_QUORUM_DELAY_MS   ((r2hb_dead_threshold + 2) * R2HB_REGION_TIMEOUT_MS)
 
#define R2NET_PROTOCOL_VERSION   11ULL
 

Enumerations

enum  r2net_system_error {
  R2NET_ERR_NONE = 0, R2NET_ERR_NO_HNDLR, R2NET_ERR_OVERFLOW, R2NET_ERR_DIED,
  R2NET_ERR_MAX
}
 

Macro Definition Documentation

#define R2NET_MSG_DATA_MAGIC   ((u16)0xfa59)

Definition at line 33 of file tcp_internal.h.

#define R2NET_MSG_KEEP_REQ_MAGIC   ((u16)0xfa57)

Definition at line 27 of file tcp_internal.h.

#define R2NET_MSG_KEEP_RESP_MAGIC   ((u16)0xfa58)

Definition at line 28 of file tcp_internal.h.

#define R2NET_MSG_MAGIC   ((u16)0xfa55)

Definition at line 25 of file tcp_internal.h.

#define R2NET_MSG_STATUS_MAGIC   ((u16)0xfa56)

Definition at line 26 of file tcp_internal.h.

#define R2NET_PROTOCOL_VERSION   11ULL

Definition at line 84 of file tcp_internal.h.

#define R2NET_QUORUM_DELAY_MS   ((r2hb_dead_threshold + 2) * R2HB_REGION_TIMEOUT_MS)

Definition at line 38 of file tcp_internal.h.

Enumeration Type Documentation

Enumerator:
R2NET_ERR_NONE 
R2NET_ERR_NO_HNDLR 
R2NET_ERR_OVERFLOW 
R2NET_ERR_DIED 
R2NET_ERR_MAX 

Definition at line 212 of file tcp_internal.h.