Go to the source code of this file.
◆ CDP_DUPLEX_TLV_FULL
#define CDP_DUPLEX_TLV_FULL 0x1 |
◆ CDP_DUPLEX_TLV_HALF
#define CDP_DUPLEX_TLV_HALF 0x0 |
◆ CDP_HOST_DEVICE
#define CDP_HOST_DEVICE 0x0010 |
◆ CDP_IGMP_DEVICE
#define CDP_IGMP_DEVICE 0x0020 |
◆ CDP_REPEATER_DEVICE
#define CDP_REPEATER_DEVICE 0x0040 |
◆ CDP_ROUTER_DEVICE
#define CDP_ROUTER_DEVICE 0x0001 |
◆ CDP_SRB_DEVICE
#define CDP_SRB_DEVICE 0x0004 |
◆ CDP_SWITCH_DEVICE
#define CDP_SWITCH_DEVICE 0x0008 |
◆ CDP_TB_DEVICE
#define CDP_TB_DEVICE 0x0002 |
◆ foreach_cdp_tlv_type
#define foreach_cdp_tlv_type |
Value:_(unused) \
_(device_name) \
_(port_id) \
_(capabilities) \
_(platform) \
_(ipprefix) \
_(hello) \
_(vtp_domain) \
_(native_vlan) \
_(duplex) \
_(appl_vlan) \
_(trigger) \
_(power) \
_(mtu) \
_(trust) \
_(cos) \
_(sysname) \
_(sysobject) \
_(mgmt_addr) \
_(physical_loc) \
_(mgmt_addr2) \
_(power_requested) \
_(power_available) \
_(port_unidirectional) \
_(unknown_28) \
_(energywise) \
_(unknown_30) \
_(spare_poe)
Definition at line 65 of file cdp_protocol.h.
◆ cdp_tlv_code_t
◆ CLIB_PACKED() [1/5]
◆ CLIB_PACKED() [2/5]
◆ CLIB_PACKED() [3/5]
typedef CLIB_PACKED |
( |
struct { hdlc_header_t hdlc;cdp_hdr_t cdp;} |
| ) |
|
◆ CLIB_PACKED() [4/5]
◆ CLIB_PACKED() [5/5]
typedef CLIB_PACKED |
( |
struct { u16 t;u16 l;u8 v[0];} |
| ) |
|