FD.io VPP  v21.01.1
Vector Packet Processing
echo_client_main_t Struct Reference
+ Collaboration diagram for echo_client_main_t:

Data Fields

svm_queue_tvl_input_queue
 vpe input queue More...
 
svm_msg_q_t ** vpp_event_queue
 
u32 cli_node_index
 cli process node index More...
 
u32 my_client_index
 loopback API client handle More...
 
u32 app_index
 app index after attach More...
 
u8connect_uri
 URI for slave's connect. More...
 
u64 bytes_to_send
 Bytes to send. More...
 
u32 configured_segment_size
 
u32 fifo_size
 
u32 expected_connections
 Number of clients/connections. More...
 
u32 connections_per_batch
 Connections to rx/tx at once. More...
 
u32 private_segment_count
 Number of private fifo segs. More...
 
u32 private_segment_size
 size of private fifo segs More...
 
u32 tls_engine
 TLS engine mbedtls/openssl. More...
 
u8 is_dgram
 
u32 no_copy
 Don't memcpy data to tx fifo. More...
 
u32 quic_streams
 QUIC streams per connection. More...
 
eclient_session_tsessions
 Session pool, shared. More...
 
clib_spinlock_t sessions_lock
 
u8 ** rx_buf
 intermediate rx buffers More...
 
u8connect_test_data
 Pre-computed test data. More...
 
u32 ** quic_session_index_by_thread
 
u32 ** connection_index_by_thread
 
u32 ** connections_this_batch_by_thread
 active connection batch More...
 
pthread_t client_thread_handle
 
volatile u32 ready_connections
 
volatile u32 finished_connections
 
volatile u64 rx_total
 
volatile u64 tx_total
 
volatile int run_test
 Signal start of test. More...
 
f64 test_start_time
 
f64 test_end_time
 
u32 prev_conns
 
u32 repeats
 
u8 is_init
 
u8 test_client_attached
 
u8 no_return
 
u8 test_return_packets
 
int i_am_master
 
int drop_packets
 drop all packets More...
 
u8 prealloc_fifos
 Request fifo preallocation. More...
 
u8 no_output
 
u8 test_bytes
 
u8 test_failed
 
u8 transport_proto
 
vlib_main_tvlib_main
 

Detailed Description

Definition at line 42 of file echo_client.h.

Field Documentation

◆ app_index

u32 echo_client_main_t::app_index

app index after attach

Definition at line 52 of file echo_client.h.

◆ bytes_to_send

u64 echo_client_main_t::bytes_to_send

Bytes to send.

Definition at line 58 of file echo_client.h.

◆ cli_node_index

u32 echo_client_main_t::cli_node_index

cli process node index

Definition at line 50 of file echo_client.h.

◆ client_thread_handle

pthread_t echo_client_main_t::client_thread_handle

Definition at line 80 of file echo_client.h.

◆ configured_segment_size

u32 echo_client_main_t::configured_segment_size

Definition at line 59 of file echo_client.h.

◆ connect_test_data

u8* echo_client_main_t::connect_test_data

Pre-computed test data.

Definition at line 76 of file echo_client.h.

◆ connect_uri

u8* echo_client_main_t::connect_uri

URI for slave's connect.

Definition at line 57 of file echo_client.h.

◆ connection_index_by_thread

u32** echo_client_main_t::connection_index_by_thread

Definition at line 78 of file echo_client.h.

◆ connections_per_batch

u32 echo_client_main_t::connections_per_batch

Connections to rx/tx at once.

Definition at line 62 of file echo_client.h.

◆ connections_this_batch_by_thread

u32** echo_client_main_t::connections_this_batch_by_thread

active connection batch

Definition at line 79 of file echo_client.h.

◆ drop_packets

int echo_client_main_t::drop_packets

drop all packets

Definition at line 100 of file echo_client.h.

◆ expected_connections

u32 echo_client_main_t::expected_connections

Number of clients/connections.

Definition at line 61 of file echo_client.h.

◆ fifo_size

u32 echo_client_main_t::fifo_size

Definition at line 60 of file echo_client.h.

◆ finished_connections

volatile u32 echo_client_main_t::finished_connections

Definition at line 83 of file echo_client.h.

◆ i_am_master

int echo_client_main_t::i_am_master

Definition at line 99 of file echo_client.h.

◆ is_dgram

u8 echo_client_main_t::is_dgram

Definition at line 66 of file echo_client.h.

◆ is_init

u8 echo_client_main_t::is_init

Definition at line 95 of file echo_client.h.

◆ my_client_index

u32 echo_client_main_t::my_client_index

loopback API client handle

Definition at line 51 of file echo_client.h.

◆ no_copy

u32 echo_client_main_t::no_copy

Don't memcpy data to tx fifo.

Definition at line 67 of file echo_client.h.

◆ no_output

u8 echo_client_main_t::no_output

Definition at line 102 of file echo_client.h.

◆ no_return

u8 echo_client_main_t::no_return

Definition at line 97 of file echo_client.h.

◆ prealloc_fifos

u8 echo_client_main_t::prealloc_fifos

Request fifo preallocation.

Definition at line 101 of file echo_client.h.

◆ prev_conns

u32 echo_client_main_t::prev_conns

Definition at line 90 of file echo_client.h.

◆ private_segment_count

u32 echo_client_main_t::private_segment_count

Number of private fifo segs.

Definition at line 63 of file echo_client.h.

◆ private_segment_size

u32 echo_client_main_t::private_segment_size

size of private fifo segs

Definition at line 64 of file echo_client.h.

◆ quic_session_index_by_thread

u32** echo_client_main_t::quic_session_index_by_thread

Definition at line 77 of file echo_client.h.

◆ quic_streams

u32 echo_client_main_t::quic_streams

QUIC streams per connection.

Definition at line 68 of file echo_client.h.

◆ ready_connections

volatile u32 echo_client_main_t::ready_connections

Definition at line 82 of file echo_client.h.

◆ repeats

u32 echo_client_main_t::repeats

Definition at line 91 of file echo_client.h.

◆ run_test

volatile int echo_client_main_t::run_test

Signal start of test.

Definition at line 86 of file echo_client.h.

◆ rx_buf

u8** echo_client_main_t::rx_buf

intermediate rx buffers

Definition at line 75 of file echo_client.h.

◆ rx_total

volatile u64 echo_client_main_t::rx_total

Definition at line 84 of file echo_client.h.

◆ sessions

eclient_session_t* echo_client_main_t::sessions

Session pool, shared.

Definition at line 73 of file echo_client.h.

◆ sessions_lock

clib_spinlock_t echo_client_main_t::sessions_lock

Definition at line 74 of file echo_client.h.

◆ test_bytes

u8 echo_client_main_t::test_bytes

Definition at line 103 of file echo_client.h.

◆ test_client_attached

u8 echo_client_main_t::test_client_attached

Definition at line 96 of file echo_client.h.

◆ test_end_time

f64 echo_client_main_t::test_end_time

Definition at line 89 of file echo_client.h.

◆ test_failed

u8 echo_client_main_t::test_failed

Definition at line 104 of file echo_client.h.

◆ test_return_packets

u8 echo_client_main_t::test_return_packets

Definition at line 98 of file echo_client.h.

◆ test_start_time

f64 echo_client_main_t::test_start_time

Definition at line 88 of file echo_client.h.

◆ tls_engine

u32 echo_client_main_t::tls_engine

TLS engine mbedtls/openssl.

Definition at line 65 of file echo_client.h.

◆ transport_proto

u8 echo_client_main_t::transport_proto

Definition at line 105 of file echo_client.h.

◆ tx_total

volatile u64 echo_client_main_t::tx_total

Definition at line 85 of file echo_client.h.

◆ vl_input_queue

svm_queue_t* echo_client_main_t::vl_input_queue

vpe input queue

Definition at line 47 of file echo_client.h.

◆ vlib_main

vlib_main_t* echo_client_main_t::vlib_main

Definition at line 107 of file echo_client.h.

◆ vpp_event_queue

svm_msg_q_t** echo_client_main_t::vpp_event_queue

Definition at line 48 of file echo_client.h.


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