FD.io VPP  v21.06-3-gbb25fbf28
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 32 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 222 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 37 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 74 of file wireguard_api.c.

+ Here is the call 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 132 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 154 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 206 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 263 of file wireguard_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( wg_api_hookup  )

◆ wg_api_hookup()

static clib_error_t* wg_api_hookup ( vlib_main_t vm)
static

Definition at line 285 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 101 of file wireguard_api.c.

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