7#include <Vector/BLF/platform.h>
11#include <Vector/BLF/AbstractFile.h>
12#include <Vector/BLF/ObjectHeader.h>
14#include <Vector/BLF/vector_blf_export.h>
22struct VECTOR_BLF_EXPORT EthernetErrorEx final : ObjectHeader {
Definition AbstractFile.h:19
uint32_t frameChecksum
Ethernet checksum.
Definition EthernetErrorEx.h:73
uint32_t error
Definition EthernetErrorEx.h:98
uint32_t frameHandle
Handle which refer the corresponding EthernetFrameForwarded event.
Definition EthernetErrorEx.h:88
virtual uint16_t calculateStructLength() const
Definition EthernetErrorEx.cpp:65
void read(AbstractFile &is) override
Definition EthernetErrorEx.cpp:14
void write(AbstractFile &os) override
Definition EthernetErrorEx.cpp:30
uint16_t structLength
Length of this structure.
Definition EthernetErrorEx.h:43
uint16_t frameLength
Number of valid frameData bytes.
Definition EthernetErrorEx.h:83
uint32_t calculateObjectSize() const override
Definition EthernetErrorEx.cpp:49
uint16_t hardwareChannel
HW channel.
Definition EthernetErrorEx.h:63
uint64_t frameDuration
Transmission duration in [ns].
Definition EthernetErrorEx.h:68
uint16_t dir
Direction flag: 0=Rx, 1=Tx, 2=TxRq.
Definition EthernetErrorEx.h:78
std::vector< uint8_t > frameData
Max 1612 data bytes per frame. Contains Ethernet header + Ethernet payload.
Definition EthernetErrorEx.h:103
uint16_t flags
flags, which indicates the valid fields:
Definition EthernetErrorEx.h:53
uint16_t channel
application channel, i.e. Eth 1
Definition EthernetErrorEx.h:58