The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CDP: Sizes of the type and length portion of a CDP TLV entry.

Offsets of things that occur at the beginning of each TLV entry. More...

Collaboration diagram for CDP: Sizes of the type and length portion of a CDP TLV entry.:

Macros

#define CDPTLV_TYPESZ   2
 Size of the type element in the CDP TLV triple. More...
 
#define CDPTLV_LENSZ   2
 Size of the length element in a CDP TLV. More...
 
#define CDPTLV_TYPELENSZ   (CDPTLV_TYPESZ+CDPTLV_LENSZ) /* 4 */
 Overhead - offset to the beginning of the CDP TLV Value. More...
 

Detailed Description

Offsets of things that occur at the beginning of each TLV entry.

See Also
get_cdptlv_type, get_cdptlv_len, get_cdptlv_vlen, cdptlv_body

Macro Definition Documentation

#define CDPTLV_LENSZ   2

Size of the length element in a CDP TLV.

Definition at line 80 of file cdp_min.c.

#define CDPTLV_TYPELENSZ   (CDPTLV_TYPESZ+CDPTLV_LENSZ) /* 4 */

Overhead - offset to the beginning of the CDP TLV Value.

Definition at line 82 of file cdp_min.c.

Referenced by get_cdptlv_body(), get_cdptlv_first(), get_cdptlv_next(), get_cdptlv_vlen(), and is_valid_cdp_packet().

#define CDPTLV_TYPESZ   2

Size of the type element in the CDP TLV triple.

Definition at line 78 of file cdp_min.c.