Go to the source code of this file.
|
int | nsh_md2_register_option (u16 class, u8 type, u8 option_size, int add_options(u8 *opt, u8 *opt_size), int options(vlib_buffer_t *b, nsh_tlv_header_t *opt), int swap_options(vlib_buffer_t *b, nsh_tlv_header_t *old_opt, nsh_tlv_header_t *new_opt), int pop_options(vlib_buffer_t *b, nsh_tlv_header_t *opt), u8 *trace(u8 *s, nsh_tlv_header_t *opt)) |
|
nsh_option_map_t * | nsh_md2_lookup_option (u16 class, u8 type) |
|
int | nsh_md2_unregister_option (u16 class, u8 type, int options(vlib_buffer_t *b, nsh_tlv_header_t *opt), u8 *trace(u8 *s, nsh_tlv_header_t *opt)) |
|
static u8 * | format_nsh_tunnel_with_length (u8 *s, va_list *args) |
| Formatting function for tracing VXLAN GPE with length. More...
|
|
| VNET_HW_INTERFACE_CLASS (nsh_hw_class) |
|
void | nsh_md2_set_next_ioam_export_override (uword next) |
|
clib_error_t * | nsh_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
◆ format_nsh_tunnel_with_length()
static u8* format_nsh_tunnel_with_length |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Formatting function for tracing VXLAN GPE with length.
- Parameters
-
- Returns
- *s
Definition at line 160 of file nsh.c.
◆ nsh_init()
◆ nsh_md2_lookup_option()
Definition at line 88 of file nsh.c.
◆ nsh_md2_register_option()
int nsh_md2_register_option |
( |
u16 |
class, |
|
|
u8 |
type, |
|
|
u8 |
option_size, |
|
|
int |
add_optionsu8 *opt, u8 *opt_size, |
|
|
int |
optionsvlib_buffer_t *b, nsh_tlv_header_t *opt, |
|
|
int |
swap_optionsvlib_buffer_t *b, nsh_tlv_header_t *old_opt, nsh_tlv_header_t *new_opt, |
|
|
int |
pop_optionsvlib_buffer_t *b, nsh_tlv_header_t *opt, |
|
|
u8 * |
traceu8 *s, nsh_tlv_header_t *opt |
|
) |
| |
Definition at line 32 of file nsh.c.
◆ nsh_md2_set_next_ioam_export_override()
void nsh_md2_set_next_ioam_export_override |
( |
uword |
next | ) |
|
◆ nsh_md2_unregister_option()
int nsh_md2_unregister_option |
( |
u16 |
class, |
|
|
u8 |
type, |
|
|
int |
optionsvlib_buffer_t *b, nsh_tlv_header_t *opt, |
|
|
u8 * |
traceu8 *s, nsh_tlv_header_t *opt |
|
) |
| |
◆ VLIB_PLUGIN_REGISTER()
◆ VNET_HW_INTERFACE_CLASS()
◆ nsh_main
Definition at line 28 of file nsh.c.