Go to the source code of this file.
Walk each punt reason.
Definition at line 34 of file punt.h.
Typedef for a client handle.
Definition at line 47 of file punt.h.
The 'syatem' defined punt reasons.
Only add to this list reasons defined and used within the vlib subsystem. To define new reasons in e.g. plgins, use punt_reason_alloc()
The 'syatem' defined punt reasons.
Only add to this list reasons defined and used within the vlib subsystem. To define new reasons in e.g. plgins, use punt_reason_alloc()
Definition at line 26 of file punt.h.
u8* format_vlib_punt_reason |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Format a punt reason.
Definition at line 132 of file punt.c.
Register a new clinet.
- Parameters
-
who | - The name of the client |
the handle the punt infra allocated for this client that must be used when the client wishes to use the infra
Definition at line 140 of file punt.c.
Allocate a new punt reason.
Definition at line 379 of file punt.c.
Validate that a punt reason is assigned.
Definition at line 370 of file punt.c.
Register a node to receive particular punted buffers.
client - The registered client registering for the packets
- Parameters
-
reason | - The reason the packet was punted |
node | - The node to which the punted packets will be sent |
Definition at line 252 of file punt.c.
FOR USE IN THE DP ONLY.
Per-reason counters
FOR USE IN THE DP ONLY.
Definition at line 26 of file punt.c.
FOR USE IN THE DP ONLY.
Arc[s] to follow for each reason
FOR USE IN THE DP ONLY.
this is a vector of edges per-reason
Definition at line 103 of file punt.c.