FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
vppctl.c File Reference
+ Include dependency graph for vppctl.c:

Go to the source code of this file.

Macros

#define DEBUG   0
 
#define SOCKET_FILE   "/run/vpp/cli.sock"
 

Functions

static void send_ttype (clib_socket_t *s, int is_interactive)
 
static void send_naws (clib_socket_t *s)
 
static void signal_handler_winch (int signum)
 
static void signal_handler_term (int signum)
 
static u8process_input (u8 *str, clib_socket_t *s, int is_interactive, int *sent_ttype)
 
int main (int argc, char *argv[])
 

Variables

volatile int window_resized = 0
 
struct termios orig_tio
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG   0

Definition at line 25 of file vppctl.c.

◆ SOCKET_FILE

#define SOCKET_FILE   "/run/vpp/cli.sock"

Definition at line 38 of file vppctl.c.

Function Documentation

◆ main()

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

Definition at line 138 of file vppctl.c.

+ Here is the call graph for this function:

◆ process_input()

static u8* process_input ( u8 str,
clib_socket_t s,
int  is_interactive,
int *  sent_ttype 
)
static

Definition at line 88 of file vppctl.c.

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

◆ send_naws()

static void send_naws ( clib_socket_t s)
static

Definition at line 58 of file vppctl.c.

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

◆ send_ttype()

static void send_ttype ( clib_socket_t s,
int  is_interactive 
)
static

Definition at line 44 of file vppctl.c.

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

◆ signal_handler_term()

static void signal_handler_term ( int  signum)
static

Definition at line 82 of file vppctl.c.

+ Here is the caller graph for this function:

◆ signal_handler_winch()

static void signal_handler_winch ( int  signum)
static

Definition at line 76 of file vppctl.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ orig_tio

struct termios orig_tio

Definition at line 41 of file vppctl.c.

◆ window_resized

volatile int window_resized = 0

Definition at line 40 of file vppctl.c.