![]() |
FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
Include dependency graph for cdp_node.h:
This graph shows which files directly or indirectly include this file: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_SEND_NEIGHBOR, CDP_EVENT_SEND_KEEPALIVE } |
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) |
Variables | |
| cdp_main_t | cdp_main |
| serialize_function_t | serialize_cdp_main |
| serialize_function_t | unserialize_cdp_main |
| #define foreach_cdp_error |
Definition at line 101 of file cdp_node.h.
| #define foreach_neighbor_string_field |
Definition at line 70 of file cdp_node.h.
| enum cdp_error_t |
| Enumerator | |
|---|---|
| CDP_N_ERROR | |
Definition at line 109 of file cdp_node.h.
| Enumerator | |
|---|---|
| CDP_PACKET_TEMPLATE_ETHERNET | |
| CDP_PACKET_TEMPLATE_HDLC | |
| CDP_PACKET_TEMPLATE_SRP | |
| CDP_N_PACKET_TEMPLATES | |
Definition at line 30 of file cdp_node.h.
| enum cdp_process_event_t |
| Enumerator | |
|---|---|
| CDP_EVENT_SEND_NEIGHBOR | |
| CDP_EVENT_SEND_KEEPALIVE | |
Definition at line 124 of file cdp_node.h.
| 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 301 of file cdp_input.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void cdp_keepalive | ( | cdp_main_t * | cm, |
| cdp_neighbor_t * | n | ||
| ) |
| void cdp_periodic | ( | vlib_main_t * | vm | ) |
Definition at line 341 of file cdp_periodic.c.
Here is the call graph for this function:
Here is the caller graph for this function:| cdp_main_t cdp_main |
Definition at line 98 of file cdp_node.h.
| serialize_function_t serialize_cdp_main |
Definition at line 137 of file cdp_node.h.
| serialize_function_t unserialize_cdp_main |
Definition at line 137 of file cdp_node.h.