63 const char *reason_name,
int(* punt_reason_walk_cb_t)(vlib_punt_reason_t id, const u8 *name, void *ctx)
Walk each punt reason.
int vlib_punt_reason_validate(vlib_punt_reason_t reason)
Validate that a punt reason is assigned.
int vlib_punt_hdl_t
Typedef for a client handle.
u8 * format_vlib_punt_reason(u8 *s, va_list *args)
Format a punt reason.
int vlib_punt_reason_alloc(vlib_punt_hdl_t client, const char *reason_name, vlib_punt_reason_t *reason)
Allocate a new punt reason.
int vlib_punt_register(vlib_punt_hdl_t client, vlib_punt_reason_t reason, const char *node)
Register a node to receive particular punted buffers.
int vlib_punt_unregister(vlib_punt_hdl_t client, vlib_punt_reason_t pr, const char *node)
vlib_punt_hdl_t vlib_punt_client_register(const char *who)
Register a new clinet.
void punt_reason_walk(punt_reason_walk_cb_t cb, void *cxt)
vlib_combined_counter_main_t punt_counters
FOR USE IN THE DP ONLY.
A collection of combined counters.
u16 ** punt_dp_db
FOR USE IN THE DP ONLY.
vlib_punt_reason_t_
The 'syatem' defined punt reasons.
enum vlib_punt_reason_t_ vlib_punt_reason_t
The 'syatem' defined punt reasons.