FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
echo_main_t Struct Reference
+ Collaboration diagram for echo_main_t:

Data Fields

svm_queue_tvl_input_queue
 
u32 my_client_index
 
u8uri
 
u32 n_uris
 
ip46_address_t lcl_ip
 
u8 lcl_ip_set
 
echo_session_tsessions
 
svm_msg_q_tapp_mq
 
svm_msg_q_tctrl_mq
 
clib_time_t clib_time
 
u8socket_name
 
int i_am_master
 
u32listen_session_indexes
 
volatile u32 listen_session_cnt
 
uwordsession_index_by_vpp_handles
 
clib_spinlock_t sid_vpp_handles_lock
 
uwordshared_segment_handles
 
clib_spinlock_t segment_handles_lock
 
echo_proto_cb_vft_tproto_cb_vft
 
svm_msg_q_trpc_msq_queue
 
fifo_segment_main_t segment_main
 
volatile connection_state_t state
 
volatile u8 time_to_stop
 
u8 rx_results_diff
 
u8 tx_results_diff
 
u8 has_failed
 
u8fail_descr
 
u8 use_sock_api
 Flag that decides if socket, instead of svm, api is used to connect to vpp. More...
 
u8connect_test_data
 
u8 test_return_packets
 
u64 bytes_to_send
 
u64 bytes_to_receive
 
u32 fifo_size
 
u32 prealloc_fifo_pairs
 
u64 rx_buf_size
 
u64 tx_buf_size
 
data_source_t data_source
 
u8 send_stream_disconnects
 
u8 output_json
 
volatile u8 wait_for_gdb
 
u8 log_lvl
 
int max_test_msg
 
u32 evt_q_size
 
u32 ckpair_index
 
u8 crypto_engine
 
u8 connect_flag
 
u32 periodic_stats_delta
 
u8appns_id
 
u64 appns_flags
 
u64 appns_secret
 
pthread_t * data_thread_handles
 
pthread_t mq_thread_handle
 
u32 *volatile data_thread_args
 
u32 n_connects
 
u32 n_sessions
 
u32 n_clients
 
u32 n_rx_threads
 
volatile u32 n_clients_connected
 
volatile u32 nxt_available_sidx
 
volatile int max_sim_connects
 
uworderror_string_by_error_number
 
echo_proto_cb_vft_t ** available_proto_cb_vft
 
echo_stats_t stats
 
echo_stats_t last_stat_sampling
 
f64 last_stat_sampling_ts
 
struct {
   f64   start_time
 
   f64   end_time
 
   u8   events_sent
 
   u8   start_event
 
   u8   end_event
 
timing
 
struct {
   u32   transport_proto
 
   ip46_address_t   ip
 
   u32   port
 
   u8   is_ip4
 
uri_elts
 

Detailed Description

Definition at line 280 of file vpp_echo_common.h.

Field Documentation

◆ app_mq

svm_msg_q_t* echo_main_t::app_mq

Definition at line 289 of file vpp_echo_common.h.

◆ appns_flags

u64 echo_main_t::appns_flags

Definition at line 340 of file vpp_echo_common.h.

◆ appns_id

u8* echo_main_t::appns_id

Definition at line 339 of file vpp_echo_common.h.

◆ appns_secret

u64 echo_main_t::appns_secret

Definition at line 341 of file vpp_echo_common.h.

◆ available_proto_cb_vft

echo_proto_cb_vft_t** echo_main_t::available_proto_cb_vft

Definition at line 359 of file vpp_echo_common.h.

◆ bytes_to_receive

u64 echo_main_t::bytes_to_receive

Definition at line 322 of file vpp_echo_common.h.

◆ bytes_to_send

u64 echo_main_t::bytes_to_send

Definition at line 321 of file vpp_echo_common.h.

◆ ckpair_index

u32 echo_main_t::ckpair_index

Definition at line 334 of file vpp_echo_common.h.

◆ clib_time

clib_time_t echo_main_t::clib_time

Definition at line 291 of file vpp_echo_common.h.

◆ connect_flag

u8 echo_main_t::connect_flag

Definition at line 336 of file vpp_echo_common.h.

◆ connect_test_data

u8* echo_main_t::connect_test_data

Definition at line 319 of file vpp_echo_common.h.

◆ crypto_engine

u8 echo_main_t::crypto_engine

Definition at line 335 of file vpp_echo_common.h.

◆ ctrl_mq

svm_msg_q_t* echo_main_t::ctrl_mq

Definition at line 290 of file vpp_echo_common.h.

◆ data_source

data_source_t echo_main_t::data_source

Definition at line 327 of file vpp_echo_common.h.

◆ data_thread_args

u32* volatile echo_main_t::data_thread_args

Definition at line 345 of file vpp_echo_common.h.

◆ data_thread_handles

pthread_t* echo_main_t::data_thread_handles

Definition at line 343 of file vpp_echo_common.h.

◆ end_event

u8 echo_main_t::end_event

Definition at line 371 of file vpp_echo_common.h.

◆ end_time

f64 echo_main_t::end_time

Definition at line 368 of file vpp_echo_common.h.

◆ error_string_by_error_number

uword* echo_main_t::error_string_by_error_number

Definition at line 358 of file vpp_echo_common.h.

◆ events_sent

u8 echo_main_t::events_sent

Definition at line 369 of file vpp_echo_common.h.

◆ evt_q_size

u32 echo_main_t::evt_q_size

Definition at line 333 of file vpp_echo_common.h.

◆ fail_descr

u8* echo_main_t::fail_descr

Definition at line 312 of file vpp_echo_common.h.

◆ fifo_size

u32 echo_main_t::fifo_size

Definition at line 323 of file vpp_echo_common.h.

◆ has_failed

u8 echo_main_t::has_failed

Definition at line 311 of file vpp_echo_common.h.

◆ i_am_master

int echo_main_t::i_am_master

Definition at line 293 of file vpp_echo_common.h.

◆ ip

ip46_address_t echo_main_t::ip

Definition at line 377 of file vpp_echo_common.h.

◆ is_ip4

u8 echo_main_t::is_ip4

Definition at line 379 of file vpp_echo_common.h.

◆ last_stat_sampling

echo_stats_t echo_main_t::last_stat_sampling

Definition at line 362 of file vpp_echo_common.h.

◆ last_stat_sampling_ts

f64 echo_main_t::last_stat_sampling_ts

Definition at line 363 of file vpp_echo_common.h.

◆ lcl_ip

ip46_address_t echo_main_t::lcl_ip

Definition at line 286 of file vpp_echo_common.h.

◆ lcl_ip_set

u8 echo_main_t::lcl_ip_set

Definition at line 287 of file vpp_echo_common.h.

◆ listen_session_cnt

volatile u32 echo_main_t::listen_session_cnt

Definition at line 295 of file vpp_echo_common.h.

◆ listen_session_indexes

u32* echo_main_t::listen_session_indexes

Definition at line 294 of file vpp_echo_common.h.

◆ log_lvl

u8 echo_main_t::log_lvl

Definition at line 331 of file vpp_echo_common.h.

◆ max_sim_connects

volatile int echo_main_t::max_sim_connects

Definition at line 355 of file vpp_echo_common.h.

◆ max_test_msg

int echo_main_t::max_test_msg

Definition at line 332 of file vpp_echo_common.h.

◆ mq_thread_handle

pthread_t echo_main_t::mq_thread_handle

Definition at line 344 of file vpp_echo_common.h.

◆ my_client_index

u32 echo_main_t::my_client_index

Definition at line 283 of file vpp_echo_common.h.

◆ n_clients

u32 echo_main_t::n_clients

Definition at line 349 of file vpp_echo_common.h.

◆ n_clients_connected

volatile u32 echo_main_t::n_clients_connected

Definition at line 352 of file vpp_echo_common.h.

◆ n_connects

u32 echo_main_t::n_connects

Definition at line 347 of file vpp_echo_common.h.

◆ n_rx_threads

u32 echo_main_t::n_rx_threads

Definition at line 350 of file vpp_echo_common.h.

◆ n_sessions

u32 echo_main_t::n_sessions

Definition at line 348 of file vpp_echo_common.h.

◆ n_uris

u32 echo_main_t::n_uris

Definition at line 285 of file vpp_echo_common.h.

◆ nxt_available_sidx

volatile u32 echo_main_t::nxt_available_sidx

Definition at line 353 of file vpp_echo_common.h.

◆ output_json

u8 echo_main_t::output_json

Definition at line 329 of file vpp_echo_common.h.

◆ periodic_stats_delta

u32 echo_main_t::periodic_stats_delta

Definition at line 337 of file vpp_echo_common.h.

◆ port

u32 echo_main_t::port

Definition at line 378 of file vpp_echo_common.h.

◆ prealloc_fifo_pairs

u32 echo_main_t::prealloc_fifo_pairs

Definition at line 324 of file vpp_echo_common.h.

◆ proto_cb_vft

echo_proto_cb_vft_t* echo_main_t::proto_cb_vft

Definition at line 302 of file vpp_echo_common.h.

◆ rpc_msq_queue

svm_msg_q_t* echo_main_t::rpc_msq_queue

Definition at line 303 of file vpp_echo_common.h.

◆ rx_buf_size

u64 echo_main_t::rx_buf_size

Definition at line 325 of file vpp_echo_common.h.

◆ rx_results_diff

u8 echo_main_t::rx_results_diff

Definition at line 309 of file vpp_echo_common.h.

◆ segment_handles_lock

clib_spinlock_t echo_main_t::segment_handles_lock

Definition at line 301 of file vpp_echo_common.h.

◆ segment_main

fifo_segment_main_t echo_main_t::segment_main

Definition at line 304 of file vpp_echo_common.h.

◆ send_stream_disconnects

u8 echo_main_t::send_stream_disconnects

Definition at line 328 of file vpp_echo_common.h.

◆ session_index_by_vpp_handles

uword* echo_main_t::session_index_by_vpp_handles

Definition at line 297 of file vpp_echo_common.h.

◆ sessions

echo_session_t* echo_main_t::sessions

Definition at line 288 of file vpp_echo_common.h.

◆ shared_segment_handles

uword* echo_main_t::shared_segment_handles

Definition at line 300 of file vpp_echo_common.h.

◆ sid_vpp_handles_lock

clib_spinlock_t echo_main_t::sid_vpp_handles_lock

Definition at line 298 of file vpp_echo_common.h.

◆ socket_name

u8* echo_main_t::socket_name

Definition at line 292 of file vpp_echo_common.h.

◆ start_event

u8 echo_main_t::start_event

Definition at line 370 of file vpp_echo_common.h.

◆ start_time

f64 echo_main_t::start_time

Definition at line 367 of file vpp_echo_common.h.

◆ state

volatile connection_state_t echo_main_t::state

Definition at line 307 of file vpp_echo_common.h.

◆ stats

echo_stats_t echo_main_t::stats

Definition at line 361 of file vpp_echo_common.h.

◆ test_return_packets

u8 echo_main_t::test_return_packets

Definition at line 320 of file vpp_echo_common.h.

◆ time_to_stop

volatile u8 echo_main_t::time_to_stop

Definition at line 308 of file vpp_echo_common.h.

◆ timing

struct { ... } echo_main_t::timing

◆ transport_proto

u32 echo_main_t::transport_proto

Definition at line 376 of file vpp_echo_common.h.

◆ tx_buf_size

u64 echo_main_t::tx_buf_size

Definition at line 326 of file vpp_echo_common.h.

◆ tx_results_diff

u8 echo_main_t::tx_results_diff

Definition at line 310 of file vpp_echo_common.h.

◆ uri

u8* echo_main_t::uri

Definition at line 284 of file vpp_echo_common.h.

◆ uri_elts

struct { ... } echo_main_t::uri_elts

◆ use_sock_api

u8 echo_main_t::use_sock_api

Flag that decides if socket, instead of svm, api is used to connect to vpp.

If sock api is used, shm binary api is subsequently bootstrapped and all other messages are exchanged using shm IPC.

Definition at line 317 of file vpp_echo_common.h.

◆ vl_input_queue

svm_queue_t* echo_main_t::vl_input_queue

Definition at line 282 of file vpp_echo_common.h.

◆ wait_for_gdb

volatile u8 echo_main_t::wait_for_gdb

Definition at line 330 of file vpp_echo_common.h.


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