fbTemplate_st Struct Reference
An IPFIX template or options template structure. More...
#include <private.h>
Data Fields | |
fbInfoModel_t * | model |
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 | 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
uint16_t fbTemplate_st::ie_count |
Count of information elements in template.
uint16_t fbTemplate_st::scope_count |
Count of scope information elements in template.
If sie_count is greater than 0, this template is an options template.
uint16_t fbTemplate_st::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).
uint16_t fbTemplate_st::tmpl_len |
Total length of the template record or options template record defining this template.
Used during template input and output.
gboolean fbTemplate_st::is_varlen |
Set to TRUE if this template contains any variable length IEs.
Ordered array of pointers to information elements in this template.
GHashTable* fbTemplate_st::indices |
Map of information element to index in ie_ary.
uint16_t* fbTemplate_st::off_cache |
Field offset cache.
For internal use by the transcoder.
The documentation for this struct was generated from the following file: