FD.io VPP  v18.01.1-37-g7ea3975
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 351 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 376 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 371 of file mc.h.

char* mc_stream_config_t::name

Definition at line 354 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 385 of file mc.h.

f64 mc_stream_config_t::retry_interval

Definition at line 360 of file mc.h.

u32 mc_stream_config_t::retry_limit

Definition at line 363 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 366 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 380 of file mc.h.

u32 mc_stream_config_t::window_size

Definition at line 357 of file mc.h.


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