FD.io VPP  v20.01-48-g3e0dafb74
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

◆ af_unix_fd

int sock_server_main_t::af_unix_fd

Definition at line 81 of file sock_test_server.c.

◆ af_unix_listen_ev

struct epoll_event sock_server_main_t::af_unix_listen_ev

Definition at line 82 of file sock_test_server.c.

◆ af_unix_listen_fd

int sock_server_main_t::af_unix_listen_fd

Definition at line 80 of file sock_test_server.c.

◆ af_unix_xacts

uint32_t sock_server_main_t::af_unix_xacts

Definition at line 84 of file sock_test_server.c.

◆ cfg

sock_server_cfg_t sock_server_main_t::cfg

Definition at line 74 of file sock_test_server.c.

◆ conn_pool

sock_server_conn_t* sock_server_main_t::conn_pool

Definition at line 89 of file sock_test_server.c.

◆ conn_pool_size

size_t sock_server_main_t::conn_pool_size

Definition at line 88 of file sock_test_server.c.

◆ epfd

int sock_server_main_t::epfd

Definition at line 76 of file sock_test_server.c.

◆ listen_ev

struct epoll_event sock_server_main_t::listen_ev

Definition at line 77 of file sock_test_server.c.

◆ listen_fd

int sock_server_main_t::listen_fd

Definition at line 73 of file sock_test_server.c.

◆ nfds

int sock_server_main_t::nfds

Definition at line 90 of file sock_test_server.c.

◆ num_conn

size_t sock_server_main_t::num_conn

Definition at line 87 of file sock_test_server.c.

◆ rd_fdset

fd_set sock_server_main_t::rd_fdset

Definition at line 91 of file sock_test_server.c.

◆ serveraddr

struct sockaddr_un sock_server_main_t::serveraddr

Definition at line 83 of file sock_test_server.c.

◆ timeout

struct timeval sock_server_main_t::timeout

Definition at line 93 of file sock_test_server.c.

◆ wait_events

struct epoll_event sock_server_main_t::wait_events[SOCK_SERVER_MAX_EPOLL_EVENTS]

Definition at line 78 of file sock_test_server.c.

◆ wr_fdset

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: