Go to the source code of this file.
|
static clib_error_t * | nsh_interface_admin_up_down (vnet_main_t *vnm, u32 nsh_hw_if, u32 flags) |
| CLI function for NSH admin up/down. More...
|
|
static u8 * | format_nsh_name (u8 *s, va_list *args) |
| Naming for NSH tunnel. More...
|
|
| VNET_DEVICE_CLASS (nsh_device_class, static) |
|
static void | send_nsh_entry_details (nsh_entry_t *t, vl_api_registration_t *rp, u32 context) |
|
static void | send_nsh_map_details (nsh_map_t *t, vl_api_registration_t *rp, u32 context) |
|
static void | vl_api_nsh_map_dump_t_handler (vl_api_nsh_map_dump_t *mp) |
|
static void | vl_api_nsh_add_del_map_t_handler (vl_api_nsh_add_del_map_t *mp) |
| API message handler. More...
|
|
int | nsh_header_rewrite (nsh_entry_t *nsh_entry) |
|
int | nsh_add_del_map (nsh_add_del_map_args_t *a, u32 *map_indexp) |
| Action function to add or del an nsh map. More...
|
|
int | nsh_add_del_proxy_session (nsh_add_del_map_args_t *a) |
| Action function to add or del an nsh-proxy-session. More...
|
|
int | nsh_add_del_entry (nsh_add_del_entry_args_t *a, u32 *entry_indexp) |
| Action function for adding an NSH entry nsh_add_del_entry_args_t *a: host order. More...
|
|
static void | vl_api_nsh_add_del_entry_t_handler (vl_api_nsh_add_del_entry_t *mp) |
| API message handler. More...
|
|
static void | vl_api_nsh_entry_dump_t_handler (vl_api_nsh_entry_dump_t *mp) |
|
clib_error_t * | nsh_api_init (vlib_main_t *vm, nsh_main_t *nm) |
|
◆ format_nsh_name()
static u8* format_nsh_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Naming for NSH tunnel.
- Parameters
-
*s | formatting string |
*args | |
- Returns
- *s formatted string
Definition at line 61 of file nsh_api.c.
◆ nsh_add_del_entry()
◆ nsh_add_del_map()
Action function to add or del an nsh map.
Shared by both CLI and binary API
Definition at line 302 of file nsh_api.c.
◆ nsh_add_del_proxy_session()
Action function to add or del an nsh-proxy-session.
Shared by both CLI and binary API
Definition at line 404 of file nsh_api.c.
◆ nsh_api_init()
◆ nsh_header_rewrite()
◆ nsh_interface_admin_up_down()
CLI function for NSH admin up/down.
- Parameters
-
- Returns
- *rc
Definition at line 40 of file nsh_api.c.
◆ send_nsh_entry_details()
◆ send_nsh_map_details()
◆ vl_api_nsh_add_del_entry_t_handler()
API message handler.
Definition at line 549 of file nsh_api.c.
◆ vl_api_nsh_add_del_map_t_handler()
API message handler.
Definition at line 168 of file nsh_api.c.
◆ vl_api_nsh_entry_dump_t_handler()
◆ vl_api_nsh_map_dump_t_handler()
◆ VNET_DEVICE_CLASS()
VNET_DEVICE_CLASS |
( |
nsh_device_class |
, |
|
|
static |
|
|
) |
| |
◆ nsh_hw_class