FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | cdp_neighbor_t |
struct | cdp_main_t |
struct | cdp_input_trace_t |
Macros | |
#define | foreach_neighbor_string_field |
#define | foreach_cdp_error |
Enumerations | |
enum | cdp_packet_template_id_t { CDP_PACKET_TEMPLATE_ETHERNET, CDP_PACKET_TEMPLATE_HDLC, CDP_PACKET_TEMPLATE_SRP, CDP_N_PACKET_TEMPLATES } |
enum | cdp_error_t { CDP_N_ERROR } |
enum | cdp_process_event_t { CDP_EVENT_ENABLE, CDP_EVENT_DISABLE } |
Functions | |
cdp_error_t | cdp_input (vlib_main_t *vm, vlib_buffer_t *b0, u32 bi0) |
void | cdp_periodic (vlib_main_t *vm) |
void | cdp_keepalive (cdp_main_t *cm, cdp_neighbor_t *n) |
u16 | cdp_checksum (void *p, int count) |
u8 * | cdp_input_format_trace (u8 *s, va_list *args) |
void | vnet_cdp_create_periodic_process (cdp_main_t *cmp) |
Variables | |
cdp_main_t | cdp_main |
vlib_node_registration_t | cdp_process_node |
#define foreach_cdp_error |
#define foreach_neighbor_string_field |
enum cdp_error_t |
enum cdp_process_event_t |
u16 cdp_checksum | ( | void * | p, |
int | count | ||
) |
cdp_error_t cdp_input | ( | vlib_main_t * | vm, |
vlib_buffer_t * | b0, | ||
u32 | bi0 | ||
) |
Definition at line 323 of file cdp_input.c.
void cdp_keepalive | ( | cdp_main_t * | cm, |
cdp_neighbor_t * | n | ||
) |
void cdp_periodic | ( | vlib_main_t * | vm | ) |
Definition at line 350 of file cdp_periodic.c.
void vnet_cdp_create_periodic_process | ( | cdp_main_t * | cmp | ) |
Definition at line 201 of file cdp_node.c.
cdp_main_t cdp_main |
Definition at line 17 of file cdp_input.c.
vlib_node_registration_t cdp_process_node |