![]() |
FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Definitions for punt infrastructure. More...
Include dependency graph for punt.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | punt_error(n, s) PUNT_ERROR_##n, |
Enumerations | |
| enum | punt_error_t { punt_error, punt_error } |
Functions | |
| clib_error_t * | vnet_punt_add_del (vlib_main_t *vm, u8 ipv, u8 protocol, u16 port, int is_add) |
| Request IP traffic punt to the local TCP/IP stack. More... | |
Definitions for punt infrastructure.
Definition in file punt.h.
| enum punt_error_t |
| clib_error_t* vnet_punt_add_del | ( | vlib_main_t * | vm, |
| u8 | ipv, | ||
| u8 | protocol, | ||
| u16 | port, | ||
| int | is_add | ||
| ) |
Request IP traffic punt to the local TCP/IP stack.
Note
| vm | vlib_main_t corresponding to the current thread |
| ipv | IP protcol version. 4 - IPv4, 6 - IPv6, ~0 for both IPv6 and IPv4 |
| protocol | 8-bits L4 protocol value Only value of 17 (UDP) is currently supported |
| port | 16-bits L4 (TCP/IP) port number when applicable |
Definition at line 219 of file punt.c.
Here is the call graph for this function:
Here is the caller graph for this function: