FD.io VPP  v18.07-rc0-415-g6c78436
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

#define DEBUG   0

Definition at line 25 of file vppctl.c.

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

Definition at line 38 of file vppctl.c.

Function Documentation

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

Definition at line 138 of file vppctl.c.

+ Here is the call graph for this function:

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:

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:

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:

static void signal_handler_term ( int  signum)
static

Definition at line 82 of file vppctl.c.

+ Here is the caller graph for this function:

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

struct termios orig_tio

Definition at line 41 of file vppctl.c.

volatile int window_resized = 0

Definition at line 40 of file vppctl.c.