FD.io VPP  v16.06
Vector Packet Processing
mc_stream_config_t Struct Reference

Data Fields

char * name
 
u32 window_size
 
f64 retry_interval
 
u32 retry_limit
 
void(* rx_buffer )(struct mc_main_t *mc_main, struct mc_stream_t *stream, mc_peer_id_t peer_id, u32 buffer_index)
 
u8 *(* catchup_snapshot )(struct mc_main_t *mc_main, u8 *snapshot_vector, u32 last_global_sequence_included)
 
void(* catchup )(struct mc_main_t *mc_main, u8 *snapshot_data, u32 n_snapshot_data_bytes)
 
void(* save_snapshot )(struct mc_main_t *mc_main, u32 is_catchup, u8 *snapshot_data, u32 n_snapshot_data_bytes)
 
void(* peer_died )(struct mc_main_t *mc_main, struct mc_stream_t *stream, mc_peer_id_t peer_id)
 

Detailed Description

Definition at line 353 of file mc.h.

Field Documentation

void(* mc_stream_config_t::catchup) (struct mc_main_t *mc_main, u8 *snapshot_data, u32 n_snapshot_data_bytes)

Definition at line 378 of file mc.h.

u8*(* mc_stream_config_t::catchup_snapshot) (struct mc_main_t *mc_main, u8 *snapshot_vector, u32 last_global_sequence_included)

Definition at line 373 of file mc.h.

char* mc_stream_config_t::name

Definition at line 355 of file mc.h.

void(* mc_stream_config_t::peer_died) (struct mc_main_t *mc_main, struct mc_stream_t *stream, mc_peer_id_t peer_id)

Definition at line 389 of file mc.h.

f64 mc_stream_config_t::retry_interval

Definition at line 361 of file mc.h.

u32 mc_stream_config_t::retry_limit

Definition at line 364 of file mc.h.

void(* mc_stream_config_t::rx_buffer) (struct mc_main_t *mc_main, struct mc_stream_t *stream, mc_peer_id_t peer_id, u32 buffer_index)

Definition at line 367 of file mc.h.

void(* mc_stream_config_t::save_snapshot) (struct mc_main_t *mc_main, u32 is_catchup, u8 *snapshot_data, u32 n_snapshot_data_bytes)

Definition at line 383 of file mc.h.

u32 mc_stream_config_t::window_size

Definition at line 358 of file mc.h.


The documentation for this struct was generated from the following file: