FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
sock_server_main_t Struct Reference
+ Collaboration diagram for sock_server_main_t:

Data Fields

int listen_fd
 
sock_server_cfg_t cfg
 
int epfd
 
struct epoll_event listen_ev
 
struct epoll_event wait_events [SOCK_SERVER_MAX_EPOLL_EVENTS]
 
int af_unix_listen_fd
 
int af_unix_fd
 
struct epoll_event af_unix_listen_ev
 
struct sockaddr_un serveraddr
 
uint32_t af_unix_xacts
 
size_t num_conn
 
size_t conn_pool_size
 
sock_server_conn_tconn_pool
 
int nfds
 
fd_set rd_fdset
 
fd_set wr_fdset
 
struct timeval timeout
 

Detailed Description

Definition at line 71 of file sock_test_server.c.

Field Documentation

int sock_server_main_t::af_unix_fd

Definition at line 81 of file sock_test_server.c.

struct epoll_event sock_server_main_t::af_unix_listen_ev

Definition at line 82 of file sock_test_server.c.

int sock_server_main_t::af_unix_listen_fd

Definition at line 80 of file sock_test_server.c.

uint32_t sock_server_main_t::af_unix_xacts

Definition at line 84 of file sock_test_server.c.

sock_server_cfg_t sock_server_main_t::cfg

Definition at line 74 of file sock_test_server.c.

sock_server_conn_t* sock_server_main_t::conn_pool

Definition at line 89 of file sock_test_server.c.

size_t sock_server_main_t::conn_pool_size

Definition at line 88 of file sock_test_server.c.

int sock_server_main_t::epfd

Definition at line 76 of file sock_test_server.c.

struct epoll_event sock_server_main_t::listen_ev

Definition at line 77 of file sock_test_server.c.

int sock_server_main_t::listen_fd

Definition at line 73 of file sock_test_server.c.

int sock_server_main_t::nfds

Definition at line 90 of file sock_test_server.c.

size_t sock_server_main_t::num_conn

Definition at line 87 of file sock_test_server.c.

fd_set sock_server_main_t::rd_fdset

Definition at line 91 of file sock_test_server.c.

struct sockaddr_un sock_server_main_t::serveraddr

Definition at line 83 of file sock_test_server.c.

struct timeval sock_server_main_t::timeout

Definition at line 93 of file sock_test_server.c.

struct epoll_event sock_server_main_t::wait_events[SOCK_SERVER_MAX_EPOLL_EVENTS]

Definition at line 78 of file sock_test_server.c.

fd_set sock_server_main_t::wr_fdset

Definition at line 92 of file sock_test_server.c.


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