26 #ifndef _RT_PROTOCOL_H
27 #define _RT_PROTOCOL_H
40 #define COLLECTOR_PORT 3435
43 #define RT_MAX_HDR_SIZE 256
45 #define RT_ACK_FREQUENCY (10)
46 #define LIBTRACE_RT_VERSION (0x04)
47 #define LIBTRACE_RT_MAGIC (0x5a)
107 typedef struct rt_start {
125 typedef struct rt_duck {
131 typedef struct rt_end_data {
137 typedef struct rt_close {
159 typedef struct rt_pause {
165 typedef struct rt_pause_ack {
171 typedef struct rt_option {
177 typedef struct rt_keychange {
203 uint32_t Crystal_Freq;
211 uint32_t Worst_Error;
216 uint32_t Single_Pulses_Missing;
217 uint32_t Longest_Pulse_Missing;
224 uint32_t Set_Duck_Field;
229 uint32_t Crystal_Freq;
234 uint32_t Worst_Freq_Err;
235 uint32_t Worst_Phase_Err;
236 uint32_t Health_Thresh;
238 uint32_t Single_Pulses_Missing;
239 uint32_t Longest_Pulse_Missing;
244 uint32_t Set_Duck_Field;
251 int64_t Phase_Correction;
260 uint64_t Stat_Start, Stat_End;
261 uint32_t Crystal_Freq;
265 uint32_t Worst_Freq_Err, Worst_Phase_Err;
266 uint32_t Health_Thresh;
267 uint32_t Pulses, Single_Pulses_Missing, Longest_Pulse_Missing;
268 uint32_t Health, Sickness;
269 int32_t Freq_Err, Phase_Err;
270 uint32_t Set_Duck_Field;
uint64_t in
The offset for the fifo write pointer.
Definition: rt_protocol.h:75
struct duck2_4 duck2_4_t
Specifications of duck structures - duck2_4 and duck2_5 match Endace's duck_inf and duckinf_t respect...
The server has reached the maximum number of client connections.
Definition: rt_protocol.h:147
struct rt_status rt_status_t
RT Status sub-header.
struct fifo_info fifo_info_t
Fifo statistics reported by the RT_STATUS message.
Trace file processing library header.
uint64_t out
The offset for the fifo read pointer.
Definition: rt_protocol.h:76
uint32_t sequence
The sequence number of the last received RT packet.
Definition: rt_protocol.h:115
struct rt_metadata rt_metadata_t
RT meta-data sub-header.
uint64_t length
The total length of the fifo.
Definition: rt_protocol.h:78
DAG 2.5 DUCK.
Definition: rt_protocol.h:228
RT Ack sub-header.
Definition: rt_protocol.h:113
RT Status sub-header.
Definition: rt_protocol.h:119
RT Hello packet sub-header.
Definition: rt_protocol.h:100
struct rt_hello rt_hello_t
RT Hello packet sub-header.
uint64_t used
The amount of fifo space in use.
Definition: rt_protocol.h:79
Specifications of duck structures - duck2_4 and duck2_5 match Endace's duck_inf and duckinf_t respect...
Definition: rt_protocol.h:197
The client failed a TCP wrapper check.
Definition: rt_protocol.h:145
Definition: rt_protocol.h:250
uint32_t reason
The reason that the connection was denied.
Definition: rt_protocol.h:155
struct rt_deny_conn rt_deny_conn_t
RT Denied Connection sub-header.
Client failed to correctly authenticate.
Definition: rt_protocol.h:149
struct duck2_5 duck2_5_t
DAG 2.5 DUCK.
uint64_t ack
The offset for the fifo ACK pointer.
Definition: rt_protocol.h:77
struct rt_header rt_header_t
RT packet header.
uint8_t reliable
Indicates whether the sender is acting in a reliable fashion, i.e.
Definition: rt_protocol.h:103
rt_conn_denied_t
Reasons that an RT connection may be denied.
Definition: rt_protocol.h:143
Fifo statistics reported by the RT_STATUS message.
Definition: rt_protocol.h:74
struct rt_ack rt_ack_t
RT Ack sub-header.
RT Denied Connection sub-header.
Definition: rt_protocol.h:153
fifo_info_t fifo_status
Statistics describing the current status of the sender fifo.
Definition: rt_protocol.h:121