FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
builtinurl.c File Reference
+ Include dependency graph for builtinurl.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   bmp->msg_id_base
 

Functions

int builtinurl_enable (builtinurl_main_t *bmp)
 
static clib_error_tbuiltinurl_enable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static void vl_api_builtinurl_enable_t_handler (vl_api_builtinurl_enable_t *mp)
 
static clib_error_tbuiltinurl_init (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

builtinurl_main_t builtinurl_main
 
static vlib_cli_command_t builtinurl_enable_command
 (constructor) VLIB_CLI_COMMAND (builtinurl_enable_command) More...
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   bmp->msg_id_base

Definition at line 31 of file builtinurl.c.

Function Documentation

◆ builtinurl_enable()

int builtinurl_enable ( builtinurl_main_t bmp)

Definition at line 39 of file builtinurl.c.

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

◆ builtinurl_enable_command_fn()

static clib_error_t* builtinurl_enable_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 62 of file builtinurl.c.

+ Here is the call graph for this function:

◆ builtinurl_init()

static clib_error_t* builtinurl_init ( vlib_main_t vm)
static

Definition at line 112 of file builtinurl.c.

+ Here is the call graph for this function:

◆ vl_api_builtinurl_enable_t_handler()

static void vl_api_builtinurl_enable_t_handler ( vl_api_builtinurl_enable_t mp)
static

Definition at line 99 of file builtinurl.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

◆ builtinurl_enable_command

vlib_cli_command_t builtinurl_enable_command
static
Initial value:
=
{
.path = "builtinurl enable",
.short_help = "Turn on builtin http/https GET and POST urls",
}
static clib_error_t * builtinurl_enable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: builtinurl.c:62

(constructor) VLIB_CLI_COMMAND (builtinurl_enable_command)

Definition at line 89 of file builtinurl.c.

◆ builtinurl_main

builtinurl_main_t builtinurl_main

Definition at line 34 of file builtinurl.c.