Go to the source code of this file.
|
u16 | cdp_checksum (void *p, int count) |
|
static u8 * | format_generic_tlv (u8 *s, va_list *va) |
|
static cdp_error_t | process_generic_tlv (cdp_main_t *cm, cdp_neighbor_t *n, cdp_tlv_t *t) |
|
static u8 * | format_text_tlv (u8 *s, va_list *va) |
|
| CLIB_UNUSED (static cdp_error_t process_text_tlv(cdp_main_t *cm, cdp_neighbor_t *n, cdp_tlv_t *t)) |
|
static cdp_error_t | process_text_tlv (cdp_main_t *cm, cdp_neighbor_t *n, cdp_tlv_t *t) |
|
static cdp_error_t | process_unused_tlv (cdp_main_t *cm, cdp_neighbor_t *n, cdp_tlv_t *t) |
|
| CLIB_UNUSED (static u8 *format_cdp_hdr(u8 *s, va_list *va)) |
|
static u8 * | format_cdp_hdr (u8 *s, va_list *va) |
|
static cdp_error_t | process_cdp_hdr (cdp_main_t *cm, cdp_neighbor_t *n, cdp_hdr_t *h) |
|
static int | cdp_packet_scan (cdp_main_t *cm, cdp_neighbor_t *n) |
|
cdp_error_t | cdp_input (vlib_main_t *vm, vlib_buffer_t *b0, u32 bi0) |
|
static clib_error_t * | cdp_input_init (vlib_main_t *vm) |
|
static u8 * | format_cdp_neighbors (u8 *s, va_list *va) |
|
static clib_error_t * | show_cdp (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 * | cdp_input_format_trace (u8 *s, va_list *args) |
|
◆ DEBUG_TLV_DUMP
#define DEBUG_TLV_DUMP 0 /* 1=> dump TLV's to stdout while processing them */ |
◆ foreach_text_to_struct_tlv
#define foreach_text_to_struct_tlv |
◆ format_address_tlv
◆ format_appl_vlan_tlv
◆ format_capabilities_tlv
◆ format_cos_tlv
◆ format_device_name_tlv
◆ format_duplex_tlv
◆ format_energywise_tlv
◆ format_hello_tlv
◆ format_ipprefix_tlv
◆ format_mgmt_addr2_tlv
◆ format_mgmt_addr_tlv
◆ format_mtu_tlv
◆ format_native_vlan_tlv
◆ format_physical_loc_tlv
◆ format_platform_tlv
◆ format_port_id_tlv
◆ format_port_unidirectional_tlv
◆ format_power_available_tlv
◆ format_power_requested_tlv
◆ format_power_tlv
◆ format_spare_poe_tlv
◆ format_sysname_tlv
◆ format_sysobject_tlv
◆ format_trigger_tlv
◆ format_trust_tlv
◆ format_unknown_28_tlv
◆ format_unknown_30_tlv
◆ format_unused_tlv
◆ format_version_tlv
◆ format_vtp_domain_tlv
◆ process_address_tlv
◆ process_appl_vlan_tlv
◆ process_capabilities_tlv
◆ process_cos_tlv
◆ process_duplex_tlv
◆ process_energywise_tlv
◆ process_hello_tlv
◆ process_ipprefix_tlv
◆ process_mgmt_addr2_tlv
◆ process_mgmt_addr_tlv
◆ process_mtu_tlv
◆ process_native_vlan_tlv
◆ process_physical_loc_tlv
◆ process_port_unidirectional_tlv
◆ process_power_available_tlv
◆ process_power_requested_tlv
◆ process_power_tlv
◆ process_spare_poe_tlv
◆ process_sysname_tlv
◆ process_sysobject_tlv
◆ process_trigger_tlv
◆ process_trust_tlv
◆ process_unknown_28_tlv
◆ process_unknown_30_tlv
◆ process_vtp_domain_tlv
◆ cdp_checksum()
u16 cdp_checksum |
( |
void * |
p, |
|
|
int |
count |
|
) |
| |
◆ cdp_input()
◆ cdp_input_format_trace()
u8* cdp_input_format_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ cdp_input_init()
◆ cdp_packet_scan()
◆ CLIB_UNUSED() [1/2]
CLIB_UNUSED |
( |
static cdp_error_t |
process_text_tlvcdp_main_t *cm, cdp_neighbor_t *n, cdp_tlv_t *t | ) |
|
◆ CLIB_UNUSED() [2/2]
CLIB_UNUSED |
( |
static u8 * |
format_cdp_hdru8 *s, va_list *va | ) |
|
◆ format_cdp_hdr()
static u8* format_cdp_hdr |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_cdp_neighbors()
static u8* format_cdp_neighbors |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_generic_tlv()
static u8* format_generic_tlv |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_text_tlv()
static u8* format_text_tlv |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ process_cdp_hdr()
◆ process_generic_tlv()
◆ process_text_tlv()
◆ process_unused_tlv()
◆ show_cdp()
◆ cdp_main
◆ show_cdp_command
Initial value:= {
.path = "show cdp",
.short_help = "Show cdp command",
}
(constructor) VLIB_CLI_COMMAND (show_cdp_command)
Definition at line 470 of file cdp_input.c.
◆ tlv_handlers