FD.io VPP  v21.06
Vector Packet Processing
gre_api.c File Reference
+ Include dependency graph for gre_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   gre_main.msg_id_base
 

Functions

static int gre_tunnel_type_decode (vl_api_gre_tunnel_type_t in, gre_tunnel_type_t *out)
 
static vl_api_gre_tunnel_type_t gre_tunnel_type_encode (gre_tunnel_type_t in)
 
static void vl_api_gre_tunnel_add_del_t_handler (vl_api_gre_tunnel_add_del_t *mp)
 
static void send_gre_tunnel_details (gre_tunnel_t *t, vl_api_gre_tunnel_dump_t *mp)
 
static void vl_api_gre_tunnel_dump_t_handler (vl_api_gre_tunnel_dump_t *mp)
 
static clib_error_tgre_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (gre_api_hookup)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   gre_main.msg_id_base

Definition at line 34 of file gre_api.c.

Function Documentation

◆ gre_api_hookup()

static clib_error_t* gre_api_hookup ( vlib_main_t vm)
static

Definition at line 202 of file gre_api.c.

+ Here is the call graph for this function:

◆ gre_tunnel_type_decode()

static int gre_tunnel_type_decode ( vl_api_gre_tunnel_type_t  in,
gre_tunnel_type_t out 
)
static

Definition at line 38 of file gre_api.c.

+ Here is the caller graph for this function:

◆ gre_tunnel_type_encode()

static vl_api_gre_tunnel_type_t gre_tunnel_type_encode ( gre_tunnel_type_t  in)
static

Definition at line 54 of file gre_api.c.

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

◆ send_gre_tunnel_details()

static void send_gre_tunnel_details ( gre_tunnel_t t,
vl_api_gre_tunnel_dump_t mp 
)
static

Definition at line 130 of file gre_api.c.

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

◆ vl_api_gre_tunnel_add_del_t_handler()

static void vl_api_gre_tunnel_add_del_t_handler ( vl_api_gre_tunnel_add_del_t mp)
static

Definition at line 72 of file gre_api.c.

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

◆ vl_api_gre_tunnel_dump_t_handler()

static void vl_api_gre_tunnel_dump_t_handler ( vl_api_gre_tunnel_dump_t mp)
static

Definition at line 155 of file gre_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( gre_api_hookup  )
+ Here is the caller graph for this function: