15 #ifndef __included_cdp_protocol_h__ 16 #define __included_cdp_protocol_h__ 42 }) ethernet_llc_snap_and_cdp_header_t;
47 }) hdlc_and_cdp_header_t;
53 }) srp_and_cdp_header_t;
65 #define foreach_cdp_tlv_type \ 91 _(port_unidirectional) \ 99 #define _(t) CDP_TLV_##t, 148 #define CDP_ROUTER_DEVICE 0x0001 149 #define CDP_TB_DEVICE 0x0002 150 #define CDP_SRB_DEVICE 0x0004 151 #define CDP_SWITCH_DEVICE 0x0008 152 #define CDP_HOST_DEVICE 0x0010 153 #define CDP_IGMP_DEVICE 0x0020 154 #define CDP_REPEATER_DEVICE 0x0040 175 #define CDP_DUPLEX_TLV_HALF 0x0 176 #define CDP_DUPLEX_TLV_FULL 0x1
#define foreach_cdp_tlv_type
vl_api_address_union_t src_address
typedef CLIB_PACKED(struct{u8 version;u8 ttl;u16 checksum;u8 data[0];}) cdp_hdr_t