Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Element Struct Reference

Classes

struct  knownUnit

Public Attributes

char * name
char * unit
struct Element::knownUnit isUnit
ElementType type
int32_t array_size
double scale
int32_t offset
Bitbits
int32_t bitindex
int ** bitfields
int bits_ett_id
int32_t width
struct DatasetlinkedDS
int hf_id
int ett_id
struct Elementnext

Member Data Documentation

◆ array_size

int32_t Element::array_size

Amount this value occurred. 1 is default; 0 indicates a dynamic list (the dynamic list is preceded by an integer revealing the actual size.)

◆ bitfields

int** Element::bitfields

Array of bit-hf refs. Only allocated for bitsets

◆ bitindex

int32_t Element::bitindex

target for next to write bit, if it has no explicit position

◆ bits

Bit* Element::bits

Array of bit-name definitions. Only allocated for bitsets

◆ linkedDS

struct Dataset* Element::linkedDS

points to DS for non-standard types

◆ name

char* Element::name

Name of the element, maybe a stringified index within the dataset, never NULL

◆ offset

int32_t Element::offset

Offset that is added to the values. displayed value = scale * raw value + offset

◆ scale

double Element::scale

A factor the given value is scaled

◆ type

ElementType Element::type

Numeric type of the variable (see Usermanual, chapter 4.2) or defined at ::TRDP_BOOL8, ::TRDP_UINT8, ::TRDP_UINT16 and so on, and its typeName[1..30]

◆ unit

char* Element::unit

Unit to display, may point to an empty string

◆ width

int32_t Element::width

Contains the Element's size as returned by trdp_dissect_width(this->type)


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