FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
wireguard_api.c File Reference
+ Include dependency graph for wireguard_api.c:

Go to the source code of this file.

Data Structures

struct  wg_deatils_walk_t_
 

Macros

#define REPLY_MSG_ID_BASE   wmp->msg_id_base
 

Typedefs

typedef struct wg_deatils_walk_t_ wg_deatils_walk_t
 

Functions

static void vl_api_wireguard_interface_create_t_handler (vl_api_wireguard_interface_create_t *mp)
 
static void vl_api_wireguard_interface_delete_t_handler (vl_api_wireguard_interface_delete_t *mp)
 
static walk_rc_t wireguard_if_send_details (index_t wgii, void *data)
 
static void vl_api_wireguard_interface_dump_t_handler (vl_api_wireguard_interface_dump_t *mp)
 
static void vl_api_wireguard_peer_add_t_handler (vl_api_wireguard_peer_add_t *mp)
 
static void vl_api_wireguard_peer_remove_t_handler (vl_api_wireguard_peer_remove_t *mp)
 
static walk_rc_t send_wg_peers_details (index_t peeri, void *data)
 
static void vl_api_wireguard_peers_dump_t_handler (vl_api_wireguard_peers_dump_t *mp)
 
static clib_error_twg_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (wg_api_hookup)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   wmp->msg_id_base

Definition at line 31 of file wireguard_api.c.

Typedef Documentation

◆ wg_deatils_walk_t

Function Documentation

◆ send_wg_peers_details()

static walk_rc_t send_wg_peers_details ( index_t  peeri,
void *  data 
)
static

Definition at line 205 of file wireguard_api.c.

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

◆ vl_api_wireguard_interface_create_t_handler()

static void vl_api_wireguard_interface_create_t_handler ( vl_api_wireguard_interface_create_t mp)
static

Definition at line 36 of file wireguard_api.c.

+ Here is the call graph for this function:

◆ vl_api_wireguard_interface_delete_t_handler()

static void vl_api_wireguard_interface_delete_t_handler ( vl_api_wireguard_interface_delete_t mp)
static

Definition at line 71 of file wireguard_api.c.

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

◆ vl_api_wireguard_interface_dump_t_handler()

static void vl_api_wireguard_interface_dump_t_handler ( vl_api_wireguard_interface_dump_t mp)
static

Definition at line 123 of file wireguard_api.c.

+ Here is the call graph for this function:

◆ vl_api_wireguard_peer_add_t_handler()

static void vl_api_wireguard_peer_add_t_handler ( vl_api_wireguard_peer_add_t mp)
static

Definition at line 141 of file wireguard_api.c.

+ Here is the call graph for this function:

◆ vl_api_wireguard_peer_remove_t_handler()

static void vl_api_wireguard_peer_remove_t_handler ( vl_api_wireguard_peer_remove_t mp)
static

Definition at line 191 of file wireguard_api.c.

+ Here is the call graph for this function:

◆ vl_api_wireguard_peers_dump_t_handler()

static void vl_api_wireguard_peers_dump_t_handler ( vl_api_wireguard_peers_dump_t mp)
static

Definition at line 246 of file wireguard_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

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

◆ wg_api_hookup()

static clib_error_t* wg_api_hookup ( vlib_main_t vm)
static

Definition at line 265 of file wireguard_api.c.

+ Here is the call graph for this function:

◆ wireguard_if_send_details()

static walk_rc_t wireguard_if_send_details ( index_t  wgii,
void *  data 
)
static

Definition at line 95 of file wireguard_api.c.

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