FD.io VPP
v18.07-rc0-415-g6c78436
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ethernet_802_3_header_t |
Macros | |
#define | foreach_cdp_tlv_type |
#define | CDP_ROUTER_DEVICE 0x0001 |
#define | CDP_TB_DEVICE 0x0002 |
#define | CDP_SRB_DEVICE 0x0004 |
#define | CDP_SWITCH_DEVICE 0x0008 |
#define | CDP_HOST_DEVICE 0x0010 |
#define | CDP_IGMP_DEVICE 0x0020 |
#define | CDP_REPEATER_DEVICE 0x0040 |
#define | CDP_DUPLEX_TLV_HALF 0x0 |
#define | CDP_DUPLEX_TLV_FULL 0x1 |
Enumerations | |
enum | cdp_tlv_code_t { foreach_cdp_tlv_type } |
Functions | |
typedef | CLIB_PACKED (struct{u8 version;u8 ttl;u16 checksum;u8 data[0];}) cdp_hdr_t |
typedef | CLIB_PACKED (struct{ethernet_802_3_header_t ethernet;llc_header_t llc;snap_header_t snap;cdp_hdr_t cdp;}) ethernet_llc_snap_and_cdp_header_t |
typedef | CLIB_PACKED (struct{hdlc_header_t hdlc;cdp_hdr_t cdp;}) hdlc_and_cdp_header_t |
typedef | CLIB_PACKED (struct{srp_header_t srp;ethernet_header_t ethernet;cdp_hdr_t cdp;}) srp_and_cdp_header_t |
typedef | CLIB_PACKED (struct{u16 t;u16 l;u8 v[0];}) cdp_tlv_t |
#define CDP_DUPLEX_TLV_FULL 0x1 |
Definition at line 176 of file cdp_protocol.h.
#define CDP_DUPLEX_TLV_HALF 0x0 |
Definition at line 175 of file cdp_protocol.h.
#define CDP_HOST_DEVICE 0x0010 |
Definition at line 152 of file cdp_protocol.h.
#define CDP_IGMP_DEVICE 0x0020 |
Definition at line 153 of file cdp_protocol.h.
#define CDP_REPEATER_DEVICE 0x0040 |
Definition at line 154 of file cdp_protocol.h.
#define CDP_ROUTER_DEVICE 0x0001 |
Definition at line 148 of file cdp_protocol.h.
#define CDP_SRB_DEVICE 0x0004 |
Definition at line 150 of file cdp_protocol.h.
#define CDP_SWITCH_DEVICE 0x0008 |
Definition at line 151 of file cdp_protocol.h.
#define CDP_TB_DEVICE 0x0002 |
Definition at line 149 of file cdp_protocol.h.
#define foreach_cdp_tlv_type |
Definition at line 65 of file cdp_protocol.h.
enum cdp_tlv_code_t |
Enumerator | |
---|---|
foreach_cdp_tlv_type |
Definition at line 97 of file cdp_protocol.h.
typedef CLIB_PACKED | ( | struct{ethernet_802_3_header_t ethernet;llc_header_t llc;snap_header_t snap;cdp_hdr_t cdp;} | ) |
typedef CLIB_PACKED | ( | struct{hdlc_header_t hdlc;cdp_hdr_t cdp;} | ) |
typedef CLIB_PACKED | ( | struct{srp_header_t srp;ethernet_header_t ethernet;cdp_hdr_t cdp;} | ) |