The Assimilation Project  based on Assimilation version 1.1.7.1474836767
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 (ROLE_router) More...
 
#define CDP_CAPMASK_TBBRIDGE   0x02
 TB (transparent) Bridge (ROLE_tb_bridge) More...
 
#define CDP_CAPMASK_SPBRIDGE   0x04
 SP (source route) Bridge (ROLE_srcbridge) More...
 
#define CDP_CAPMASK_SWITCH   0x08
 L2 Switch (ROLE_bridge) More...
 
#define CDP_CAPMASK_HOST   0x10
 ROLE_host. More...
 
#define CDP_CAPMASK_IGMPFILTER   0x20
 Does not forward IGMP report packets on non-routerports (ROLE_igcmp) More...
 
#define CDP_CAPMASK_REPEATER   0x40
 Repeater (ROLE_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

ROLE_host.

Definition at line 86 of file cdp.h.

#define CDP_CAPMASK_IGMPFILTER   0x20

Does not forward IGMP report packets on non-routerports (ROLE_igcmp)

Definition at line 87 of file cdp.h.

#define CDP_CAPMASK_REPEATER   0x40

Repeater (ROLE_repeater)

Definition at line 88 of file cdp.h.

#define CDP_CAPMASK_ROUTER   0x01

L3 Router (ROLE_router)

Definition at line 82 of file cdp.h.

#define CDP_CAPMASK_SPBRIDGE   0x04

SP (source route) Bridge (ROLE_srcbridge)

Definition at line 84 of file cdp.h.

#define CDP_CAPMASK_SWITCH   0x08

L2 Switch (ROLE_bridge)

Definition at line 85 of file cdp.h.

#define CDP_CAPMASK_TBBRIDGE   0x02

TB (transparent) Bridge (ROLE_tb_bridge)

Definition at line 83 of file cdp.h.