Data Structures | Defines | Typedefs | Enumerations

rt_protocol.h File Reference

Header file containing definitions specific to the RT protocol that can be used to transport captured packets over a network connection. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fifo_info
 Fifo statistics reported by the RT_STATUS message. More...
struct  rt_header
 RT packet header. More...
struct  rt_hello
 RT Hello packet sub-header. More...
struct  rt_ack
 RT Ack sub-header. More...
struct  rt_status
 RT Status sub-header. More...
struct  rt_deny_conn
 RT Denied Connection sub-header. More...
struct  rt_metadata
 RT meta-data sub-header. More...
struct  duck2_4
 Specifications of duck structures - duck2_4 and duck2_5 match Endace's duck_inf and duckinf_t respectively. More...
struct  duck2_5
 DAG 2.5 DUCK. More...

Defines

#define COLLECTOR_PORT   3435
 Default port for RT clients.
#define RT_MAX_HDR_SIZE   256
 Maximum size for the RT header.
#define MAX_SEQUENCE   2147483647
 Maximum sequence number for the RT protocol.

Typedefs

typedef struct fifo_info fifo_info_t
 Fifo statistics reported by the RT_STATUS message.
typedef struct rt_header rt_header_t
 RT packet header.
typedef struct rt_hello rt_hello_t
 RT Hello packet sub-header.
typedef struct rt_ack rt_ack_t
 RT Ack sub-header.
typedef struct rt_status rt_status_t
 RT Status sub-header.
typedef struct rt_deny_conn rt_deny_conn_t
 RT Denied Connection sub-header.
typedef struct rt_metadata rt_metadata_t
 RT meta-data sub-header.
typedef struct duck2_4 duck2_4_t
 Specifications of duck structures - duck2_4 and duck2_5 match Endace's duck_inf and duckinf_t respectively.
typedef struct duck2_5 duck2_5_t
 DAG 2.5 DUCK.

Enumerations

enum  rt_conn_denied_t { RT_DENY_WRAPPER = 1, RT_DENY_FULL = 2, RT_DENY_AUTH = 3 }
 

Reasons that an RT connection may be denied.

More...

Detailed Description

Header file containing definitions specific to the RT protocol that can be used to transport captured packets over a network connection.


Define Documentation

#define COLLECTOR_PORT   3435

Default port for RT clients.

#define MAX_SEQUENCE   2147483647

Maximum sequence number for the RT protocol.

#define RT_MAX_HDR_SIZE   256

Maximum size for the RT header.


Typedef Documentation

typedef struct duck2_4 duck2_4_t

Specifications of duck structures - duck2_4 and duck2_5 match Endace's duck_inf and duckinf_t respectively.

Unfortunately, Endace don't exactly make it clear what each value within the duck structure actually means. Some are self-explanatory but I have no idea about the others so our own documentation is a bit weak as a result DAG 2.4 DUCK

typedef struct duck2_5 duck2_5_t

DAG 2.5 DUCK.

typedef struct fifo_info fifo_info_t

Fifo statistics reported by the RT_STATUS message.

typedef struct rt_ack rt_ack_t

RT Ack sub-header.

typedef struct rt_deny_conn rt_deny_conn_t

RT Denied Connection sub-header.

typedef struct rt_header rt_header_t

RT packet header.

typedef struct rt_hello rt_hello_t

RT Hello packet sub-header.

typedef struct rt_metadata rt_metadata_t

RT meta-data sub-header.

typedef struct rt_status rt_status_t

RT Status sub-header.


Enumeration Type Documentation

Reasons that an RT connection may be denied.

Enumerator:
RT_DENY_WRAPPER 

The client failed a TCP wrapper check.

RT_DENY_FULL 

The server has reached the maximum number of client connections.

RT_DENY_AUTH 

Client failed to correctly authenticate.