flowmon-export-ipfix  1.2.1
FlowMon IPFIX Export Plugin
 All Data Structures Files Functions Variables Typedefs Macros Pages
template_t Struct Reference

Structure to hold template record. More...

#include <flowmon-export-ipfix.h>

Data Fields

uint16_t id
uint8_t templateRecord [1024]
uint16_t templateSize
uint8_t buffer [TEMPLATE_BUFFER_SIZE]
uint16_t bufferSize
uint16_t recordCount
uint16_t fieldCount
uint64_t mask
flow_record_getter_t * templateGetters
template_file_record_t ** templateFileRecords
uint8_t exported
time_t exportTime
uint64_t exportPacket
struct template_tnext

Detailed Description

Structure to hold template record.

Definition at line 75 of file flowmon-export-ipfix.h.


Field Documentation

uint16_t id

Template ID

Definition at line 76 of file flowmon-export-ipfix.h.

uint8_t templateRecord[1024]

Buffer for template record, 516B is big enough for 64 enterprise elements

Definition at line 77 of file flowmon-export-ipfix.h.

uint16_t templateSize

Size of template record buffer

Definition at line 79 of file flowmon-export-ipfix.h.

uint8_t buffer[TEMPLATE_BUFFER_SIZE]

Buffer with data for template

Definition at line 80 of file flowmon-export-ipfix.h.

uint16_t bufferSize

Size of data buffer

Definition at line 81 of file flowmon-export-ipfix.h.

uint16_t recordCount

Number of records in buffer

Definition at line 82 of file flowmon-export-ipfix.h.

uint16_t fieldCount

Number of elements in template

Definition at line 83 of file flowmon-export-ipfix.h.

uint64_t mask

bitmask of getter array for this template

Definition at line 84 of file flowmon-export-ipfix.h.

flow_record_getter_t* templateGetters

Getters for this template

Definition at line 85 of file flowmon-export-ipfix.h.

template_file_record_t** templateFileRecords

Template elements from file

Definition at line 86 of file flowmon-export-ipfix.h.

uint8_t exported

1 indicates that the template was exported to collector

Definition at line 87 of file flowmon-export-ipfix.h.

time_t exportTime

Time when the template was last exported

Definition at line 88 of file flowmon-export-ipfix.h.

uint64_t exportPacket

Number of packet when the template was last exported

Definition at line 89 of file flowmon-export-ipfix.h.

struct template_t* next

Definition at line 90 of file flowmon-export-ipfix.h.


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