The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CDP: Capability (CDP_TLV_CAPS) mask bits.

The TLV type CDP_TLV_CAPS value is a field with a set of bits defining the capabilities which a given switch or router might implement. More...

Collaboration diagram for CDP: Capability (CDP_TLV_CAPS) mask bits.:

Macros

#define CDP_CAPMASK_ROUTER   0x01
 L3 Router. More...
 
#define CDP_CAPMASK_TBBRIDGE   0x02
 TB Bridge. More...
 
#define CDP_CAPMASK_SPBRIDGE   0x04
 SP Bridge. More...
 
#define CDP_CAPMASK_SWITCH   0x08
 L2 Switch. More...
 
#define CDP_CAPMASK_HOST   0x10
 Host. More...
 
#define CDP_CAPMASK_IGMPFILTER   0x20
 Does not forward IGMP report packets on non-routerports. More...
 
#define CDP_CAPMASK_REPEATER   0x40
 Repeater. More...
 

Detailed Description

The TLV type CDP_TLV_CAPS value is a field with a set of bits defining the capabilities which a given switch or router might implement.

The macro definitions below define which capabilities correspond to which bits in a CDP packet.

See Also
CDP_TLV_CAPS

Macro Definition Documentation

#define CDP_CAPMASK_HOST   0x10

Host.

Definition at line 63 of file cdp.h.

#define CDP_CAPMASK_IGMPFILTER   0x20

Does not forward IGMP report packets on non-routerports.

Definition at line 64 of file cdp.h.

#define CDP_CAPMASK_REPEATER   0x40

Repeater.

Definition at line 65 of file cdp.h.

#define CDP_CAPMASK_ROUTER   0x01

L3 Router.

Definition at line 59 of file cdp.h.

#define CDP_CAPMASK_SPBRIDGE   0x04

SP Bridge.

Definition at line 61 of file cdp.h.

#define CDP_CAPMASK_SWITCH   0x08

L2 Switch.

Definition at line 62 of file cdp.h.

#define CDP_CAPMASK_TBBRIDGE   0x02

TB Bridge.

Definition at line 60 of file cdp.h.