FD.io VPP
v19.04-6-g6f05f72
Vector Packet Processing
|
In-band OAM (iOAM). More...
Go to the source code of this file.
Data Structures | |
struct | ip6_add_hop_by_hop_trace_t |
struct | ip6_pop_hop_by_hop_trace_t |
Macros | |
#define | foreach_ip6_hbyh_ioam_input_next |
#define | foreach_ip6_add_hop_by_hop_error _(PROCESSED, "Pkts w/ added ip6 hop-by-hop options") |
#define | foreach_ip6_pop_hop_by_hop_error |
Enumerations | |
enum | ip6_hbyh_ioam_input_next_t { IP6_HBYH_IOAM_INPUT_N_NEXT } |
enum | ip6_add_hop_by_hop_error_t { IP6_ADD_HOP_BY_HOP_N_ERROR } |
enum | ip6_pop_hop_by_hop_error_t { IP6_POP_HOP_BY_HOP_N_ERROR } |
Variables | |
ip6_hop_by_hop_ioam_main_t | ip6_hop_by_hop_ioam_main |
vlib_node_registration_t | ip6_add_hop_by_hop_node |
(constructor) VLIB_REGISTER_NODE (ip6_add_hop_by_hop_node) More... | |
static char * | ip6_add_hop_by_hop_error_strings [] |
vlib_node_registration_t | ip6_pop_hop_by_hop_node |
(constructor) VLIB_REGISTER_NODE (ip6_pop_hop_by_hop_node) More... | |
static char * | ip6_pop_hop_by_hop_error_strings [] |
static vlib_cli_command_t | ip6_clear_ioam_rewrite_cmd |
(constructor) VLIB_CLI_COMMAND (ip6_clear_ioam_rewrite_cmd) More... | |
static vlib_cli_command_t | ip6_set_ioam_rewrite_cmd |
(constructor) VLIB_CLI_COMMAND (ip6_set_ioam_rewrite_cmd) More... | |
static vlib_cli_command_t | ip6_show_ioam_run_cmd |
(constructor) VLIB_CLI_COMMAND (ip6_show_ioam_run_cmd) More... | |
In-band OAM (iOAM).
In-band OAM (iOAM) is an implementation study to record operational information in the packet while the packet traverses a path between two points in the network.
VPP can function as in-band OAM encapsulating, transit and decapsulating node. In this version of VPP in-band OAM data is transported as options in an IPv6 hop-by-hop extension header. Hence in-band OAM can be enabled for IPv6 traffic.
Definition in file ip6_hop_by_hop.c.
#define foreach_ip6_add_hop_by_hop_error _(PROCESSED, "Pkts w/ added ip6 hop-by-hop options") |
Definition at line 224 of file ip6_hop_by_hop.c.
#define foreach_ip6_hbyh_ioam_input_next |
Definition at line 48 of file ip6_hop_by_hop.c.
#define foreach_ip6_pop_hop_by_hop_error |
Definition at line 519 of file ip6_hop_by_hop.c.
Enumerator | |
---|---|
IP6_ADD_HOP_BY_HOP_N_ERROR |
Definition at line 227 of file ip6_hop_by_hop.c.
Enumerator | |
---|---|
IP6_HBYH_IOAM_INPUT_N_NEXT |
Definition at line 53 of file ip6_hop_by_hop.c.
Enumerator | |
---|---|
IP6_POP_HOP_BY_HOP_N_ERROR |
Definition at line 524 of file ip6_hop_by_hop.c.
clib_error_t* clear_ioam_rewrite_command_fn | ( | vlib_main_t * | vm, |
unformat_input_t * | input, | ||
vlib_cli_command_t * | cmd | ||
) |
clib_error_t* clear_ioam_rewrite_fn | ( | void | ) |
|
inlinestatic |
Definition at line 539 of file ip6_hop_by_hop.c.
VLIB_NODE_FN() ip6_add_hop_by_hop_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
int ip6_hbh_add_unregister_option | ( | u8 | option | ) |
int ip6_hbh_config_handler_register | ( | u8 | option, |
int | config_handlervoid *data, u8 disable | ||
) |
int ip6_hbh_config_handler_unregister | ( | u8 | option | ) |
int ip6_hbh_flow_handler_unregister | ( | u8 | option | ) |
int ip6_hbh_pop_register_option | ( | u8 | option, |
int | optionsvlib_buffer_t *b,ip6_header_t *ip,ip6_hop_by_hop_option_t *opt | ||
) |
int ip6_hbh_pop_unregister_option | ( | u8 | option | ) |
|
static |
Definition at line 799 of file ip6_hop_by_hop.c.
clib_error_t* ip6_ioam_enable | ( | int | has_trace_option, |
int | has_pot_option, | ||
int | has_seqno_option, | ||
int | has_analyse_option | ||
) |
Definition at line 965 of file ip6_hop_by_hop.c.
int ip6_ioam_set_rewrite | ( | u8 ** | rwp, |
int | has_trace_option, | ||
int | has_pot_option, | ||
int | has_seqno_option | ||
) |
VLIB_NODE_FN() ip6_pop_hop_by_hop_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
static |
|
static |
|
static |
Definition at line 63 of file ip6_hop_by_hop.c.
void vnet_register_ioam_end_of_path_callback | ( | void * | cb | ) |
Definition at line 1156 of file ip6_hop_by_hop.c.
|
static |
Definition at line 235 of file ip6_hop_by_hop.c.
vlib_node_registration_t ip6_add_hop_by_hop_node |
(constructor) VLIB_REGISTER_NODE (ip6_add_hop_by_hop_node)
Definition at line 442 of file ip6_hop_by_hop.c.
|
static |
(constructor) VLIB_CLI_COMMAND (ip6_clear_ioam_rewrite_cmd)
Definition at line 957 of file ip6_hop_by_hop.c.
ip6_hop_by_hop_ioam_main_t ip6_hop_by_hop_ioam_main |
Definition at line 45 of file ip6_hop_by_hop.c.
|
static |
Definition at line 532 of file ip6_hop_by_hop.c.
vlib_node_registration_t ip6_pop_hop_by_hop_node |
(constructor) VLIB_REGISTER_NODE (ip6_pop_hop_by_hop_node)
Definition at line 784 of file ip6_hop_by_hop.c.
|
static |
(constructor) VLIB_CLI_COMMAND (ip6_set_ioam_rewrite_cmd)
Definition at line 1064 of file ip6_hop_by_hop.c.
|
static |
(constructor) VLIB_CLI_COMMAND (ip6_show_ioam_run_cmd)
Definition at line 1148 of file ip6_hop_by_hop.c.