FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
socket_echo_server.c File Reference
+ Include dependency graph for socket_echo_server.c:

Go to the source code of this file.

Functions

static void unix_signal_handler (int signum, siginfo_t *si, ucontext_t *uc)
 
static void setup_signal_handler (void)
 
int main (int argc, char *argv[])
 

Variables

volatile int signal_received
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 75 of file socket_echo_server.c.

+ Here is the call graph for this function:

◆ setup_signal_handler()

static void setup_signal_handler ( void  )
static

Definition at line 36 of file socket_echo_server.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unix_signal_handler()

static void unix_signal_handler ( int  signum,
siginfo_t *  si,
ucontext_t *  uc 
)
static

Definition at line 30 of file socket_echo_server.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ signal_received

volatile int signal_received

Definition at line 27 of file socket_echo_server.c.