FD.io VPP  v18.04-17-g3a0d853
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_queue_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...
 
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 ** 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
 
vlib_main_tvlib_main
 

Detailed Description

Definition at line 44 of file echo_client.h.

Field Documentation

u32 echo_client_main_t::app_index

app index after attach

Definition at line 54 of file echo_client.h.

u64 echo_client_main_t::bytes_to_send

Bytes to send.

Definition at line 60 of file echo_client.h.

u32 echo_client_main_t::cli_node_index

cli process node index

Definition at line 52 of file echo_client.h.

pthread_t echo_client_main_t::client_thread_handle

Definition at line 77 of file echo_client.h.

u32 echo_client_main_t::configured_segment_size

Definition at line 61 of file echo_client.h.

u8* echo_client_main_t::connect_test_data

Pre-computed test data.

Definition at line 74 of file echo_client.h.

u8* echo_client_main_t::connect_uri

URI for slave's connect.

Definition at line 59 of file echo_client.h.

u32** echo_client_main_t::connection_index_by_thread

Definition at line 75 of file echo_client.h.

u32 echo_client_main_t::connections_per_batch

Connections to rx/tx at once.

Definition at line 64 of file echo_client.h.

u32** echo_client_main_t::connections_this_batch_by_thread

active connection batch

Definition at line 76 of file echo_client.h.

int echo_client_main_t::drop_packets

drop all packets

Definition at line 97 of file echo_client.h.

u32 echo_client_main_t::expected_connections

Number of clients/connections.

Definition at line 63 of file echo_client.h.

u32 echo_client_main_t::fifo_size

Definition at line 62 of file echo_client.h.

volatile u32 echo_client_main_t::finished_connections

Definition at line 80 of file echo_client.h.

int echo_client_main_t::i_am_master

Definition at line 96 of file echo_client.h.

u8 echo_client_main_t::is_init

Definition at line 92 of file echo_client.h.

u32 echo_client_main_t::my_client_index

loopback API client handle

Definition at line 53 of file echo_client.h.

u8 echo_client_main_t::no_output

Definition at line 99 of file echo_client.h.

u8 echo_client_main_t::no_return

Definition at line 94 of file echo_client.h.

u8 echo_client_main_t::prealloc_fifos

Request fifo preallocation.

Definition at line 98 of file echo_client.h.

u32 echo_client_main_t::prev_conns

Definition at line 87 of file echo_client.h.

u32 echo_client_main_t::private_segment_count

Number of private fifo segs.

Definition at line 65 of file echo_client.h.

u32 echo_client_main_t::private_segment_size

size of private fifo segs

Definition at line 66 of file echo_client.h.

volatile u32 echo_client_main_t::ready_connections

Definition at line 79 of file echo_client.h.

u32 echo_client_main_t::repeats

Definition at line 88 of file echo_client.h.

volatile int echo_client_main_t::run_test

Signal start of test.

Definition at line 83 of file echo_client.h.

u8** echo_client_main_t::rx_buf

intermediate rx buffers

Definition at line 73 of file echo_client.h.

volatile u64 echo_client_main_t::rx_total

Definition at line 81 of file echo_client.h.

session_t* echo_client_main_t::sessions

Session pool, shared.

Definition at line 71 of file echo_client.h.

clib_spinlock_t echo_client_main_t::sessions_lock

Definition at line 72 of file echo_client.h.

u8 echo_client_main_t::test_bytes

Definition at line 100 of file echo_client.h.

u8 echo_client_main_t::test_client_attached

Definition at line 93 of file echo_client.h.

f64 echo_client_main_t::test_end_time

Definition at line 86 of file echo_client.h.

u8 echo_client_main_t::test_failed

Definition at line 101 of file echo_client.h.

u8 echo_client_main_t::test_return_packets

Definition at line 95 of file echo_client.h.

f64 echo_client_main_t::test_start_time

Definition at line 85 of file echo_client.h.

u32 echo_client_main_t::tls_engine

TLS engine mbedtls/openssl.

Definition at line 67 of file echo_client.h.

volatile u64 echo_client_main_t::tx_total

Definition at line 82 of file echo_client.h.

svm_queue_t* echo_client_main_t::vl_input_queue

vpe input queue

Definition at line 49 of file echo_client.h.

vlib_main_t* echo_client_main_t::vlib_main

Definition at line 103 of file echo_client.h.

svm_queue_t** echo_client_main_t::vpp_event_queue

Definition at line 50 of file echo_client.h.


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