FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
l2tp_api.c File Reference
+ Include dependency graph for l2tp_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   l2tp_base_msg_id
 

Functions

static void send_sw_if_l2tpv3_tunnel_details (vpe_api_main_t *am, vl_api_registration_t *reg, l2t_session_t *s, l2t_main_t *lm, u32 context)
 
static void vl_api_sw_if_l2tpv3_tunnel_dump_t_handler (vl_api_sw_if_l2tpv3_tunnel_dump_t *mp)
 
static void vl_api_l2tpv3_create_tunnel_t_handler (vl_api_l2tpv3_create_tunnel_t *mp)
 
static void vl_api_l2tpv3_set_tunnel_cookies_t_handler (vl_api_l2tpv3_set_tunnel_cookies_t *mp)
 
static void vl_api_l2tpv3_interface_enable_disable_t_handler (vl_api_l2tpv3_interface_enable_disable_t *mp)
 
static void vl_api_l2tpv3_set_lookup_key_t_handler (vl_api_l2tpv3_set_lookup_key_t *mp)
 
static clib_error_tl2tp_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (l2tp_api_hookup)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

static u32 l2tp_base_msg_id
 Base message ID fot the plugin. More...
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   l2tp_base_msg_id

Definition at line 37 of file l2tp_api.c.

Function Documentation

◆ l2tp_api_hookup()

static clib_error_t* l2tp_api_hookup ( vlib_main_t vm)
static

Definition at line 222 of file l2tp_api.c.

+ Here is the call graph for this function:

◆ send_sw_if_l2tpv3_tunnel_details()

static void send_sw_if_l2tpv3_tunnel_details ( vpe_api_main_t am,
vl_api_registration_t reg,
l2t_session_t s,
l2t_main_t lm,
u32  context 
)
static

Definition at line 42 of file l2tp_api.c.

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

◆ vl_api_l2tpv3_create_tunnel_t_handler()

static void vl_api_l2tpv3_create_tunnel_t_handler ( vl_api_l2tpv3_create_tunnel_t mp)
static

Definition at line 101 of file l2tp_api.c.

+ Here is the call graph for this function:

◆ vl_api_l2tpv3_interface_enable_disable_t_handler()

static void vl_api_l2tpv3_interface_enable_disable_t_handler ( vl_api_l2tpv3_interface_enable_disable_t mp)
static

Definition at line 177 of file l2tp_api.c.

+ Here is the call graph for this function:

◆ vl_api_l2tpv3_set_lookup_key_t_handler()

static void vl_api_l2tpv3_set_lookup_key_t_handler ( vl_api_l2tpv3_set_lookup_key_t mp)
static

Definition at line 194 of file l2tp_api.c.

◆ vl_api_l2tpv3_set_tunnel_cookies_t_handler()

static void vl_api_l2tpv3_set_tunnel_cookies_t_handler ( vl_api_l2tpv3_set_tunnel_cookies_t mp)
static

Definition at line 158 of file l2tp_api.c.

+ Here is the call graph for this function:

◆ vl_api_sw_if_l2tpv3_tunnel_dump_t_handler()

static void vl_api_sw_if_l2tpv3_tunnel_dump_t_handler ( vl_api_sw_if_l2tpv3_tunnel_dump_t mp)
static

Definition at line 80 of file l2tp_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( l2tp_api_hookup  )

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

◆ l2tp_base_msg_id

u32 l2tp_base_msg_id
static

Base message ID fot the plugin.

Definition at line 36 of file l2tp_api.c.