FD.io VPP  v19.08.1-401-g8e4ed521a
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
 
echo_session_tsessions
 
svm_msg_q_tour_event_queue
 
clib_time_t clib_time
 
u8socket_name
 
int i_am_master
 
u32 listen_session_index
 
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 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
 
u32 rx_buf_size
 
u32 tx_buf_size
 
data_source_t data_source
 
u8 send_stream_disconnects
 
u8 output_json
 
u8 log_lvl
 
int max_test_msg
 
u32 evt_q_size
 
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
 
uworderror_string_by_error_number
 
echo_proto_cb_vft_tavailable_proto_cb_vft [TRANSPORT_N_PROTO]
 
struct {
   u64   tx_total
 
   u64   rx_total
 
   teardown_stat_t   reset_count
 
   teardown_stat_t   close_count
 
   teardown_stat_t   active_count
 
   teardown_stat_t   clean_count
 
stats
 
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 246 of file vpp_echo_common.h.

Field Documentation

◆ active_count

teardown_stat_t echo_main_t::active_count

Definition at line 319 of file vpp_echo_common.h.

◆ appns_flags

u64 echo_main_t::appns_flags

Definition at line 294 of file vpp_echo_common.h.

◆ appns_id

u8* echo_main_t::appns_id

Definition at line 293 of file vpp_echo_common.h.

◆ appns_secret

u64 echo_main_t::appns_secret

Definition at line 295 of file vpp_echo_common.h.

◆ available_proto_cb_vft

echo_proto_cb_vft_t* echo_main_t::available_proto_cb_vft[TRANSPORT_N_PROTO]

Definition at line 311 of file vpp_echo_common.h.

◆ bytes_to_receive

u64 echo_main_t::bytes_to_receive

Definition at line 281 of file vpp_echo_common.h.

◆ bytes_to_send

u64 echo_main_t::bytes_to_send

Definition at line 280 of file vpp_echo_common.h.

◆ clean_count

teardown_stat_t echo_main_t::clean_count

Definition at line 320 of file vpp_echo_common.h.

◆ clib_time

clib_time_t echo_main_t::clib_time

Definition at line 253 of file vpp_echo_common.h.

◆ close_count

teardown_stat_t echo_main_t::close_count

Definition at line 318 of file vpp_echo_common.h.

◆ connect_test_data

u8* echo_main_t::connect_test_data

Definition at line 278 of file vpp_echo_common.h.

◆ data_source

data_source_t echo_main_t::data_source

Definition at line 286 of file vpp_echo_common.h.

◆ data_thread_args

u32* volatile echo_main_t::data_thread_args

Definition at line 299 of file vpp_echo_common.h.

◆ data_thread_handles

pthread_t* echo_main_t::data_thread_handles

Definition at line 297 of file vpp_echo_common.h.

◆ end_event

u8 echo_main_t::end_event

Definition at line 329 of file vpp_echo_common.h.

◆ end_time

f64 echo_main_t::end_time

Definition at line 326 of file vpp_echo_common.h.

◆ error_string_by_error_number

uword* echo_main_t::error_string_by_error_number

Definition at line 310 of file vpp_echo_common.h.

◆ events_sent

u8 echo_main_t::events_sent

Definition at line 327 of file vpp_echo_common.h.

◆ evt_q_size

u32 echo_main_t::evt_q_size

Definition at line 291 of file vpp_echo_common.h.

◆ fail_descr

u8* echo_main_t::fail_descr

Definition at line 271 of file vpp_echo_common.h.

◆ fifo_size

u32 echo_main_t::fifo_size

Definition at line 282 of file vpp_echo_common.h.

◆ has_failed

u8 echo_main_t::has_failed

Definition at line 270 of file vpp_echo_common.h.

◆ i_am_master

int echo_main_t::i_am_master

Definition at line 255 of file vpp_echo_common.h.

◆ ip

ip46_address_t echo_main_t::ip

Definition at line 335 of file vpp_echo_common.h.

◆ is_ip4

u8 echo_main_t::is_ip4

Definition at line 337 of file vpp_echo_common.h.

◆ listen_session_index

u32 echo_main_t::listen_session_index

Definition at line 256 of file vpp_echo_common.h.

◆ log_lvl

u8 echo_main_t::log_lvl

Definition at line 289 of file vpp_echo_common.h.

◆ max_test_msg

int echo_main_t::max_test_msg

Definition at line 290 of file vpp_echo_common.h.

◆ mq_thread_handle

pthread_t echo_main_t::mq_thread_handle

Definition at line 298 of file vpp_echo_common.h.

◆ my_client_index

u32 echo_main_t::my_client_index

Definition at line 249 of file vpp_echo_common.h.

◆ n_clients

u32 echo_main_t::n_clients

Definition at line 303 of file vpp_echo_common.h.

◆ n_clients_connected

volatile u32 echo_main_t::n_clients_connected

Definition at line 306 of file vpp_echo_common.h.

◆ n_connects

u32 echo_main_t::n_connects

Definition at line 301 of file vpp_echo_common.h.

◆ n_rx_threads

u32 echo_main_t::n_rx_threads

Definition at line 304 of file vpp_echo_common.h.

◆ n_sessions

u32 echo_main_t::n_sessions

Definition at line 302 of file vpp_echo_common.h.

◆ nxt_available_sidx

volatile u32 echo_main_t::nxt_available_sidx

Definition at line 307 of file vpp_echo_common.h.

◆ our_event_queue

svm_msg_q_t* echo_main_t::our_event_queue

Definition at line 252 of file vpp_echo_common.h.

◆ output_json

u8 echo_main_t::output_json

Definition at line 288 of file vpp_echo_common.h.

◆ port

u32 echo_main_t::port

Definition at line 336 of file vpp_echo_common.h.

◆ prealloc_fifo_pairs

u32 echo_main_t::prealloc_fifo_pairs

Definition at line 283 of file vpp_echo_common.h.

◆ proto_cb_vft

echo_proto_cb_vft_t* echo_main_t::proto_cb_vft

Definition at line 263 of file vpp_echo_common.h.

◆ reset_count

teardown_stat_t echo_main_t::reset_count

Definition at line 317 of file vpp_echo_common.h.

◆ rpc_msq_queue

svm_msg_q_t* echo_main_t::rpc_msq_queue

Definition at line 264 of file vpp_echo_common.h.

◆ rx_buf_size

u32 echo_main_t::rx_buf_size

Definition at line 284 of file vpp_echo_common.h.

◆ rx_total

u64 echo_main_t::rx_total

Definition at line 316 of file vpp_echo_common.h.

◆ segment_handles_lock

clib_spinlock_t echo_main_t::segment_handles_lock

Definition at line 262 of file vpp_echo_common.h.

◆ segment_main

fifo_segment_main_t echo_main_t::segment_main

Definition at line 265 of file vpp_echo_common.h.

◆ send_stream_disconnects

u8 echo_main_t::send_stream_disconnects

Definition at line 287 of file vpp_echo_common.h.

◆ session_index_by_vpp_handles

uword* echo_main_t::session_index_by_vpp_handles

Definition at line 258 of file vpp_echo_common.h.

◆ sessions

echo_session_t* echo_main_t::sessions

Definition at line 251 of file vpp_echo_common.h.

◆ shared_segment_handles

uword* echo_main_t::shared_segment_handles

Definition at line 261 of file vpp_echo_common.h.

◆ sid_vpp_handles_lock

clib_spinlock_t echo_main_t::sid_vpp_handles_lock

Definition at line 259 of file vpp_echo_common.h.

◆ socket_name

u8* echo_main_t::socket_name

Definition at line 254 of file vpp_echo_common.h.

◆ start_event

u8 echo_main_t::start_event

Definition at line 328 of file vpp_echo_common.h.

◆ start_time

f64 echo_main_t::start_time

Definition at line 325 of file vpp_echo_common.h.

◆ state

volatile connection_state_t echo_main_t::state

Definition at line 268 of file vpp_echo_common.h.

◆ stats

struct { ... } echo_main_t::stats

◆ test_return_packets

u8 echo_main_t::test_return_packets

Definition at line 279 of file vpp_echo_common.h.

◆ time_to_stop

volatile u8 echo_main_t::time_to_stop

Definition at line 269 of file vpp_echo_common.h.

◆ timing

struct { ... } echo_main_t::timing

◆ transport_proto

u32 echo_main_t::transport_proto

Definition at line 334 of file vpp_echo_common.h.

◆ tx_buf_size

u32 echo_main_t::tx_buf_size

Definition at line 285 of file vpp_echo_common.h.

◆ tx_total

u64 echo_main_t::tx_total

Definition at line 315 of file vpp_echo_common.h.

◆ uri

u8* echo_main_t::uri

Definition at line 250 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 276 of file vpp_echo_common.h.

◆ vl_input_queue

svm_queue_t* echo_main_t::vl_input_queue

Definition at line 248 of file vpp_echo_common.h.


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