FD.io VPP  v21.01.1
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 51 of file sock_test_server.c.

Field Documentation

◆ af_unix_fd

int sock_server_main_t::af_unix_fd

Definition at line 59 of file sock_test_server.c.

◆ af_unix_listen_ev

struct epoll_event sock_server_main_t::af_unix_listen_ev

Definition at line 60 of file sock_test_server.c.

◆ af_unix_listen_fd

int sock_server_main_t::af_unix_listen_fd

Definition at line 58 of file sock_test_server.c.

◆ af_unix_xacts

uint32_t sock_server_main_t::af_unix_xacts

Definition at line 62 of file sock_test_server.c.

◆ cfg

sock_server_cfg_t sock_server_main_t::cfg

Definition at line 54 of file sock_test_server.c.

◆ conn_pool

sock_server_conn_t* sock_server_main_t::conn_pool

Definition at line 65 of file sock_test_server.c.

◆ conn_pool_size

size_t sock_server_main_t::conn_pool_size

Definition at line 64 of file sock_test_server.c.

◆ epfd

int sock_server_main_t::epfd

Definition at line 55 of file sock_test_server.c.

◆ listen_ev

struct epoll_event sock_server_main_t::listen_ev

Definition at line 56 of file sock_test_server.c.

◆ listen_fd

int sock_server_main_t::listen_fd

Definition at line 53 of file sock_test_server.c.

◆ nfds

int sock_server_main_t::nfds

Definition at line 66 of file sock_test_server.c.

◆ num_conn

size_t sock_server_main_t::num_conn

Definition at line 63 of file sock_test_server.c.

◆ rd_fdset

fd_set sock_server_main_t::rd_fdset

Definition at line 67 of file sock_test_server.c.

◆ serveraddr

struct sockaddr_un sock_server_main_t::serveraddr

Definition at line 61 of file sock_test_server.c.

◆ timeout

struct timeval sock_server_main_t::timeout

Definition at line 69 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 57 of file sock_test_server.c.

◆ wr_fdset

fd_set sock_server_main_t::wr_fdset

Definition at line 68 of file sock_test_server.c.


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