FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
punt_api.c File Reference
+ Include dependency graph for punt_api.c:

Go to the source code of this file.

Data Structures

struct  punt_socket_send_ctx_t_
 
struct  punt_reason_dump_walk_ctx_t_
 

Macros

#define REPLY_MSG_ID_BASE   punt_main.msg_id_base
 

Typedefs

typedef struct punt_socket_send_ctx_t_ punt_socket_send_ctx_t
 
typedef struct punt_reason_dump_walk_ctx_t_ punt_reason_dump_walk_ctx_t
 

Functions

static int vl_api_punt_type_decode (vl_api_punt_type_t in, punt_type_t *out)
 
static vl_api_punt_type_t vl_api_punt_type_encode (punt_type_t in)
 
static int vl_api_punt_l4_decode (const vl_api_punt_l4_t *in, punt_l4_t *out)
 
static int vl_api_punt_ip_proto_decode (const vl_api_punt_ip_proto_t *in, punt_ip_proto_t *out)
 
static int vl_api_punt_exception_decode (const vl_api_punt_exception_t *in, punt_exception_t *out)
 
static int vl_api_punt_decode (const vl_api_punt_t *in, punt_reg_t *out)
 
static void vl_api_punt_l4_encode (const punt_l4_t *in, vl_api_punt_l4_t *out)
 
static void vl_api_punt_ip_proto_encode (const punt_ip_proto_t *in, vl_api_punt_ip_proto_t *out)
 
static void vl_api_punt_exception_encode (const punt_exception_t *in, vl_api_punt_exception_t *out)
 
static void vl_api_punt_encode (const punt_reg_t *in, vl_api_punt_t *out)
 
static void vl_api_set_punt_t_handler (vl_api_set_punt_t *mp)
 
static void vl_api_punt_socket_register_t_handler (vl_api_punt_socket_register_t *mp)
 
static walk_rc_t vl_api_punt_socket_send_details (const punt_client_t *pc, void *args)
 
static void vl_api_punt_socket_dump_t_handler (vl_api_punt_socket_dump_t *mp)
 
static void vl_api_punt_socket_deregister_t_handler (vl_api_punt_socket_deregister_t *mp)
 
static int punt_reason_dump_walk_cb (vlib_punt_reason_t id, const u8 *name, void *args)
 
static void vl_api_punt_reason_dump_t_handler (vl_api_punt_reason_dump_t *mp)
 
static clib_error_tpunt_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (punt_api_hookup)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   punt_main.msg_id_base

Definition at line 29 of file punt_api.c.

Typedef Documentation

◆ punt_reason_dump_walk_ctx_t

◆ punt_socket_send_ctx_t

Function Documentation

◆ punt_api_hookup()

static clib_error_t* punt_api_hookup ( vlib_main_t vm)
static

Definition at line 368 of file punt_api.c.

+ Here is the call graph for this function:

◆ punt_reason_dump_walk_cb()

static int punt_reason_dump_walk_cb ( vlib_punt_reason_t  id,
const u8 name,
void *  args 
)
static

Definition at line 316 of file punt_api.c.

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

◆ vl_api_punt_decode()

static int vl_api_punt_decode ( const vl_api_punt_t *  in,
punt_reg_t out 
)
static

Definition at line 111 of file punt_api.c.

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

◆ vl_api_punt_encode()

static void vl_api_punt_encode ( const punt_reg_t in,
vl_api_punt_t *  out 
)
static

Definition at line 159 of file punt_api.c.

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

◆ vl_api_punt_exception_decode()

static int vl_api_punt_exception_decode ( const vl_api_punt_exception_t *  in,
punt_exception_t out 
)
static

Definition at line 99 of file punt_api.c.

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

◆ vl_api_punt_exception_encode()

static void vl_api_punt_exception_encode ( const punt_exception_t in,
vl_api_punt_exception_t *  out 
)
static

Definition at line 152 of file punt_api.c.

+ Here is the caller graph for this function:

◆ vl_api_punt_ip_proto_decode()

static int vl_api_punt_ip_proto_decode ( const vl_api_punt_ip_proto_t *  in,
punt_ip_proto_t out 
)
static

Definition at line 85 of file punt_api.c.

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

◆ vl_api_punt_ip_proto_encode()

static void vl_api_punt_ip_proto_encode ( const punt_ip_proto_t in,
vl_api_punt_ip_proto_t *  out 
)
static

Definition at line 144 of file punt_api.c.

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

◆ vl_api_punt_l4_decode()

static int vl_api_punt_l4_decode ( const vl_api_punt_l4_t *  in,
punt_l4_t out 
)
static

Definition at line 69 of file punt_api.c.

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

◆ vl_api_punt_l4_encode()

static void vl_api_punt_l4_encode ( const punt_l4_t in,
vl_api_punt_l4_t *  out 
)
static

Definition at line 136 of file punt_api.c.

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

◆ vl_api_punt_reason_dump_t_handler()

static void vl_api_punt_reason_dump_t_handler ( vl_api_punt_reason_dump_t mp)
static

Definition at line 346 of file punt_api.c.

+ Here is the call graph for this function:

◆ vl_api_punt_socket_deregister_t_handler()

static void vl_api_punt_socket_deregister_t_handler ( vl_api_punt_socket_deregister_t mp)
static

Definition at line 284 of file punt_api.c.

+ Here is the call graph for this function:

◆ vl_api_punt_socket_dump_t_handler()

static void vl_api_punt_socket_dump_t_handler ( vl_api_punt_socket_dump_t mp)
static

Definition at line 263 of file punt_api.c.

+ Here is the call graph for this function:

◆ vl_api_punt_socket_register_t_handler()

static void vl_api_punt_socket_register_t_handler ( vl_api_punt_socket_register_t mp)
static

Definition at line 204 of file punt_api.c.

+ Here is the call graph for this function:

◆ vl_api_punt_socket_send_details()

static walk_rc_t vl_api_punt_socket_send_details ( const punt_client_t pc,
void *  args 
)
static

Definition at line 242 of file punt_api.c.

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

◆ vl_api_punt_type_decode()

static int vl_api_punt_type_decode ( vl_api_punt_type_t  in,
punt_type_t out 
)
static

Definition at line 33 of file punt_api.c.

+ Here is the caller graph for this function:

◆ vl_api_punt_type_encode()

static vl_api_punt_type_t vl_api_punt_type_encode ( punt_type_t  in)
static

Definition at line 51 of file punt_api.c.

+ Here is the caller graph for this function:

◆ vl_api_set_punt_t_handler()

static void vl_api_set_punt_t_handler ( vl_api_set_punt_t mp)
static

Definition at line 179 of file punt_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( punt_api_hookup  )