FD.io VPP  v17.07-30-g839fa73
Vector Packet Processing
tclient_main_t Struct Reference
+ Collaboration diagram for tclient_main_t:

Data Fields

unix_shared_memory_queue_tvl_input_queue
 vpe input queue More...
 
unix_shared_memory_queue_tour_event_queue
 Our event queue. More...
 
unix_shared_memory_queue_tvpp_event_queue
 $$$ single thread More...
 
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...
 
session_tsessions
 Sessions pool. More...
 
u8rx_buf
 intermediate rx buffer More...
 
uwordsession_index_by_vpp_handles
 Hash table for disconnecting. More...
 
u8connect_test_data
 Pre-computed test data. More...
 
u32 ** connection_index_by_thread
 
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
 
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...
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 
ethernet_main_tethernet_main
 

Detailed Description

Definition at line 45 of file builtin_client.h.

Field Documentation

u32 tclient_main_t::app_index

app index after attach

Definition at line 56 of file builtin_client.h.

u64 tclient_main_t::bytes_to_send

Bytes to send.

Definition at line 62 of file builtin_client.h.

u32 tclient_main_t::cli_node_index

cli process node index

Definition at line 54 of file builtin_client.h.

pthread_t tclient_main_t::client_thread_handle

Definition at line 75 of file builtin_client.h.

u32 tclient_main_t::configured_segment_size

Definition at line 63 of file builtin_client.h.

u8* tclient_main_t::connect_test_data

Pre-computed test data.

Definition at line 73 of file builtin_client.h.

u8* tclient_main_t::connect_uri

URI for slave's connect.

Definition at line 61 of file builtin_client.h.

u32** tclient_main_t::connection_index_by_thread

Definition at line 74 of file builtin_client.h.

int tclient_main_t::drop_packets

drop all packets

Definition at line 94 of file builtin_client.h.

ethernet_main_t* tclient_main_t::ethernet_main

Definition at line 102 of file builtin_client.h.

u32 tclient_main_t::expected_connections

Number of clients/connections.

Definition at line 65 of file builtin_client.h.

u32 tclient_main_t::fifo_size

Definition at line 64 of file builtin_client.h.

volatile u32 tclient_main_t::finished_connections

Definition at line 78 of file builtin_client.h.

int tclient_main_t::i_am_master

Definition at line 93 of file builtin_client.h.

u8 tclient_main_t::is_init

Definition at line 89 of file builtin_client.h.

u32 tclient_main_t::my_client_index

loopback API client handle

Definition at line 55 of file builtin_client.h.

u8 tclient_main_t::no_return

Definition at line 91 of file builtin_client.h.

unix_shared_memory_queue_t* tclient_main_t::our_event_queue

Our event queue.

Definition at line 51 of file builtin_client.h.

u8 tclient_main_t::prealloc_fifos

Request fifo preallocation.

Definition at line 95 of file builtin_client.h.

volatile u32 tclient_main_t::ready_connections

Definition at line 77 of file builtin_client.h.

volatile int tclient_main_t::run_test

Signal start of test.

Definition at line 81 of file builtin_client.h.

u8* tclient_main_t::rx_buf

intermediate rx buffer

Definition at line 71 of file builtin_client.h.

volatile u64 tclient_main_t::rx_total

Definition at line 79 of file builtin_client.h.

uword* tclient_main_t::session_index_by_vpp_handles

Hash table for disconnecting.

Definition at line 72 of file builtin_client.h.

session_t* tclient_main_t::sessions

Sessions pool.

Definition at line 70 of file builtin_client.h.

u8 tclient_main_t::test_client_attached

Definition at line 90 of file builtin_client.h.

f64 tclient_main_t::test_end_time

Definition at line 84 of file builtin_client.h.

u8 tclient_main_t::test_return_packets

Definition at line 92 of file builtin_client.h.

f64 tclient_main_t::test_start_time

Definition at line 83 of file builtin_client.h.

volatile u64 tclient_main_t::tx_total

Definition at line 80 of file builtin_client.h.

unix_shared_memory_queue_t* tclient_main_t::vl_input_queue

vpe input queue

Definition at line 50 of file builtin_client.h.

vlib_main_t* tclient_main_t::vlib_main

Definition at line 100 of file builtin_client.h.

vnet_main_t* tclient_main_t::vnet_main

Definition at line 101 of file builtin_client.h.

unix_shared_memory_queue_t* tclient_main_t::vpp_event_queue

$$$ single thread

Definition at line 52 of file builtin_client.h.


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