Classes | Defines

sctp.h File Reference

Go to the source code of this file.

Classes

struct  common_header
struct  chunk
struct  data_chunk
struct  init_chunk
struct  init_ack_chunk
struct  sack_chunk
struct  heartbeat_chunk
struct  heartbeat_ack_chunk
struct  abort_chunk
struct  shutdown_chunk
struct  shutdown_ack_chunk
struct  shutdown_complete_chunk
struct  cookie_echo_chunk
struct  cookie_ack_chunk
struct  error_chunk
struct  init_ipv4_address_parameter
struct  init_ipv6_address_parameter
struct  init_cookie_parameter
struct  cookie_parameter
struct  tlv
struct  supported_address_types_parameter
struct  heartbeat_info
struct  error_cause
struct  sack_gap
struct  sack_duptsn
struct  data_vector

Defines

#define UNORDERED_BIT   0x04
#define BEGIN_BIT   0x02
#define END_BIT   0x01
#define T_BIT   0x01
#define C_FLAG   0x08
#define T_FLAG   0x04
#define B_FLAG   0x02
#define M_FLAG   0x01
#define CRC32C(c, d)   (c=(c>>8)^crc_c[(c^(d))&0xFF])
#define INIT_PARAM_IPV4   5
#define INIT_PARAM_IPV6   6
#define INIT_PARAM_COOKIE   7
#define INIT_SUPPORTED_ADDRESS   12
#define HBI_INFO(hbi)   ((hbi)->heartbeat_info_union.info)
#define HBI_ADDR(hbi)   ((hbi)->heartbeat_info_union.addr_and_time.addr)
#define HBI_TIME(hbi)   ((hbi)->heartbeat_info_union.addr_and_time.time)
#define UNORDERED_BIT   0x04
#define BEGIN_BIT   0x02
#define END_BIT   0x01
#define T_BIT   0x01
#define C_FLAG   0x08
#define T_FLAG   0x04
#define B_FLAG   0x02
#define M_FLAG   0x01
#define CRC32C(c, d)   (c=(c>>8)^crc_c[(c^(d))&0xFF])
#define INIT_PARAM_IPV4   5
#define INIT_PARAM_IPV6   6
#define INIT_PARAM_COOKIE   7
#define INIT_SUPPORTED_ADDRESS   12
#define HBI_INFO(hbi)   ((hbi)->heartbeat_info_union.info)
#define HBI_ADDR(hbi)   ((hbi)->heartbeat_info_union.addr_and_time.addr)
#define HBI_TIME(hbi)   ((hbi)->heartbeat_info_union.addr_and_time.time)

Define Documentation

#define B_FLAG   0x02

Definition at line 31 of file SCTPSerializer.cc.

#define B_FLAG   0x02
#define BEGIN_BIT   0x02
#define BEGIN_BIT   0x02

Definition at line 26 of file SCTPSerializer.cc.

#define C_FLAG   0x08

Definition at line 29 of file SCTPSerializer.cc.

#define C_FLAG   0x08
#define CRC32C (   c,
  d 
)    (c=(c>>8)^crc_c[(c^(d))&0xFF])

Definition at line 35 of file SCTPSerializer.cc.

#define CRC32C (   c,
  d 
)    (c=(c>>8)^crc_c[(c^(d))&0xFF])
#define END_BIT   0x01
#define END_BIT   0x01

Definition at line 27 of file SCTPSerializer.cc.

#define HBI_ADDR (   hbi  )     ((hbi)->heartbeat_info_union.addr_and_time.addr)
#define HBI_ADDR (   hbi  )     ((hbi)->heartbeat_info_union.addr_and_time.addr)

Definition at line 291 of file SCTPSerializer.cc.

#define HBI_INFO (   hbi  )     ((hbi)->heartbeat_info_union.info)
#define HBI_INFO (   hbi  )     ((hbi)->heartbeat_info_union.info)

Definition at line 290 of file SCTPSerializer.cc.

#define HBI_TIME (   hbi  )     ((hbi)->heartbeat_info_union.addr_and_time.time)

Definition at line 292 of file SCTPSerializer.cc.

#define HBI_TIME (   hbi  )     ((hbi)->heartbeat_info_union.addr_and_time.time)
#define INIT_PARAM_COOKIE   7
#define INIT_PARAM_COOKIE   7

Definition at line 228 of file SCTPSerializer.cc.

#define INIT_PARAM_IPV4   5

Definition at line 226 of file SCTPSerializer.cc.

#define INIT_PARAM_IPV4   5
#define INIT_PARAM_IPV6   6
#define INIT_PARAM_IPV6   6

Definition at line 227 of file SCTPSerializer.cc.

#define INIT_SUPPORTED_ADDRESS   12
#define INIT_SUPPORTED_ADDRESS   12

Definition at line 229 of file SCTPSerializer.cc.

#define M_FLAG   0x01
#define M_FLAG   0x01

Definition at line 32 of file SCTPSerializer.cc.

#define T_BIT   0x01

Definition at line 28 of file SCTPSerializer.cc.

#define T_BIT   0x01
#define T_FLAG   0x04
#define T_FLAG   0x04

Definition at line 30 of file SCTPSerializer.cc.

#define UNORDERED_BIT   0x04

Definition at line 25 of file SCTPSerializer.cc.

#define UNORDERED_BIT   0x04