FD.io VPP  v21.06-1-gbb7418cf9
Vector Packet Processing
mod_vpp.c File Reference
+ Include dependency graph for mod_vpp.c:

Go to the source code of this file.

Functions

static int vpp_metric_init (apr_pool_t *p)
 
static void vpp_metric_cleanup (void)
 
static g_val_t vpp_metric_handler (int metric_index)
 

Variables

mmodule vpp_module
 
static svmdb_client_tsvmdb_client
 
static Ganglia_25metric vpp_metric_info []
 

Function Documentation

◆ vpp_metric_cleanup()

static void vpp_metric_cleanup ( void  )
static

Definition at line 68 of file mod_vpp.c.

+ Here is the call graph for this function:

◆ vpp_metric_handler()

static g_val_t vpp_metric_handler ( int  metric_index)
static

Definition at line 73 of file mod_vpp.c.

+ Here is the call graph for this function:

◆ vpp_metric_init()

static int vpp_metric_init ( apr_pool_t *  p)
static

Definition at line 30 of file mod_vpp.c.

+ Here is the call graph for this function:

Variable Documentation

◆ svmdb_client

svmdb_client_t* svmdb_client
static

Definition at line 28 of file mod_vpp.c.

◆ vpp_metric_info

Ganglia_25metric vpp_metric_info[]
static
Initial value:
=
{
{0, "Vector_Rate", 100, GANGLIA_VALUE_DOUBLE, "Packets/Frame",
"both", "%.1f",
UDP_HEADER_SIZE+8, "VPP Vector Rate"},
{0, "VPP_State", 100, GANGLIA_VALUE_DOUBLE, "Run=1", "both", "%.0f",
UDP_HEADER_SIZE+8, "VPP State"},
{0, "Input_Rate", 100, GANGLIA_VALUE_DOUBLE, "5 sec RX rate",
"both", "%.1f",
UDP_HEADER_SIZE+8, "VPP Aggregate RX Rate"},
{0, "Sig_Error_Rate", 100, GANGLIA_VALUE_DOUBLE,
"5 sec significant error rate",
"both", "%.1f",
UDP_HEADER_SIZE+8, "VPP Significant Error Rate"},
{0, NULL}
}

Definition at line 132 of file mod_vpp.c.

◆ vpp_module

mmodule vpp_module
Initial value:
=
{
STD_MMODULE_STUFF,
}
static void vpp_metric_cleanup(void)
Definition: mod_vpp.c:68
static g_val_t vpp_metric_handler(int metric_index)
Definition: mod_vpp.c:73
static int vpp_metric_init(apr_pool_t *p)
Definition: mod_vpp.c:30
static Ganglia_25metric vpp_metric_info[]
Definition: mod_vpp.c:132

Definition at line 27 of file mod_vpp.c.