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) |
|
static void | setup_message_id_table (nsh_main_t *nm, api_main_t *am) |
|
static clib_error_t * | nsh_plugin_api_hookup (vlib_main_t *vm) |
|
clib_error_t * | nsh_api_init (vlib_main_t *vm, nsh_main_t *nm) |
|
◆ foreach_nsh_plugin_api_msg
#define foreach_nsh_plugin_api_msg |
Value:
_(NSH_ENTRY_DUMP, nsh_entry_dump) \
_(NSH_MAP_DUMP, nsh_map_dump)
Definition at line 65 of file nsh_api.c.
◆ REPLY_MSG_ID_BASE
◆ vl_api_version
#define vl_api_version |
( |
|
n, |
|
|
|
v |
|
) |
| static u32 api_version=(v); |
◆ vl_endianfun
◆ vl_msg_id
#define vl_msg_id |
( |
|
n, |
|
|
|
h |
|
) |
| n, |
◆ vl_msg_name_crc_list
#define vl_msg_name_crc_list |
◆ vl_print
◆ vl_printfun
◆ vl_typedefs
◆ vl_msg_id_t
Enumerator |
---|
VL_ILLEGAL_MESSAGE_ID | |
VL_MSG_FIRST_AVAILABLE | |
VL_ILLEGAL_MESSAGE_ID | |
VL_ILLEGAL_MESSAGE_ID | |
VL_MSG_FIRST_AVAILABLE | |
VL_MSG_FIRST_AVAILABLE | |
VL_MSG_FIRST_AVAILABLE | |
Definition at line 27 of file nsh_api.c.
◆ 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 103 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 345 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 447 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 82 of file nsh_api.c.
◆ nsh_plugin_api_hookup()
◆ send_nsh_entry_details()
◆ send_nsh_map_details()
◆ setup_message_id_table()
◆ vl_api_nsh_add_del_entry_t_handler()
API message handler.
Definition at line 592 of file nsh_api.c.
◆ vl_api_nsh_add_del_map_t_handler()
API message handler.
Definition at line 210 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