fbTemplate_st Struct Reference

An IPFIX template or options template structure. More...

#include <private.h>

Data Fields

fbInfoModel_tmodel
 Information model (for looking up information elements by spec).
int ref_count
 Reference count.
uint16_t ie_count
 Count of information elements in template.
uint16_t scope_count
 Count of scope information elements in template.
uint16_t ie_len
 Total length of information elements in records described by this template.
uint16_t ie_internal_len
 Total length required to store this template in a data structure.
uint16_t tmpl_len
 Total length of the template record or options template record defining this template.
gboolean is_varlen
 Set to TRUE if this template contains any variable length IEs.
fbInfoElement_t ** ie_ary
 Ordered array of pointers to information elements in this template.
GHashTable * indices
 Map of information element to index in ie_ary.
uint16_t * off_cache
 Field offset cache.
gboolean active
 TRUE if this template has been activated (is no longer mutable).

Detailed Description

An IPFIX template or options template structure.

Part of the private interface. Applications should use the fbTemplate calls defined in public.h to manipulate templates instead of accessing this structure directly.


Field Documentation

Ordered array of pointers to information elements in this template.

Count of information elements in template.

Total length required to store this template in a data structure.

Uses sizeof(fbVarfield_t), sizeof(fbBasicList_t), etc instead of 0 as done with ie_len

Total length of information elements in records described by this template.

If the is_varlen flag is set, this represents the minimum length of the information elements in the record (i.e. with each variable length IE's length set to 0).

Map of information element to index in ie_ary.

Set to TRUE if this template contains any variable length IEs.

Field offset cache.

For internal use by the transcoder.

Count of scope information elements in template.

If sie_count is greater than 0, this template is an options template.

Total length of the template record or options template record defining this template.

Used during template input and output.


The documentation for this struct was generated from the following file: