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  o2net_handshake
 
struct  o2net_node
 
struct  o2net_sock_container
 
struct  o2net_msg_handler
 
struct  o2net_status_wait
 
struct  o2net_send_tracking
 

Macros

#define O2NET_MSG_MAGIC   ((u16)0xfa55)
 
#define O2NET_MSG_STATUS_MAGIC   ((u16)0xfa56)
 
#define O2NET_MSG_KEEP_REQ_MAGIC   ((u16)0xfa57)
 
#define O2NET_MSG_KEEP_RESP_MAGIC   ((u16)0xfa58)
 
#define O2NET_QUORUM_DELAY_MS   ((o2hb_dead_threshold + 2) * O2HB_REGION_TIMEOUT_MS)
 
#define O2NET_PROTOCOL_VERSION   11ULL
 

Enumerations

enum  o2net_system_error {
  O2NET_ERR_NONE = 0, O2NET_ERR_NO_HNDLR, O2NET_ERR_OVERFLOW, O2NET_ERR_DIED,
  O2NET_ERR_MAX
}
 

Macro Definition Documentation

#define O2NET_MSG_KEEP_REQ_MAGIC   ((u16)0xfa57)

Definition at line 27 of file tcp_internal.h.

#define O2NET_MSG_KEEP_RESP_MAGIC   ((u16)0xfa58)

Definition at line 28 of file tcp_internal.h.

#define O2NET_MSG_MAGIC   ((u16)0xfa55)

Definition at line 25 of file tcp_internal.h.

#define O2NET_MSG_STATUS_MAGIC   ((u16)0xfa56)

Definition at line 26 of file tcp_internal.h.

#define O2NET_PROTOCOL_VERSION   11ULL

Definition at line 78 of file tcp_internal.h.

#define O2NET_QUORUM_DELAY_MS   ((o2hb_dead_threshold + 2) * O2HB_REGION_TIMEOUT_MS)

Definition at line 33 of file tcp_internal.h.

Enumeration Type Documentation

Enumerator:
O2NET_ERR_NONE 
O2NET_ERR_NO_HNDLR 
O2NET_ERR_OVERFLOW 
O2NET_ERR_DIED 
O2NET_ERR_MAX 

Definition at line 206 of file tcp_internal.h.