ETHERNET_ERROR_EX.
More...
#include <EthernetErrorEx.h>
|
uint16_t | structLength {} |
| Length of this structure.
|
|
uint16_t | flags {} |
| flags, which indicates the valid fields:
|
|
uint16_t | channel {} |
| application channel, i.e. Eth 1
|
|
uint16_t | hardwareChannel {} |
| HW channel.
|
|
uint64_t | frameDuration {} |
| Transmission duration in [ns].
|
|
uint32_t | frameChecksum {} |
| Ethernet checksum.
|
|
uint16_t | dir {} |
| Direction flag: 0=Rx, 1=Tx, 2=TxRq.
|
|
uint16_t | frameLength {} |
| Number of valid frameData bytes.
|
|
uint32_t | frameHandle {} |
| Handle which refer the corresponding EthernetFrameForwarded event.
|
|
uint32_t | error {} |
|
std::vector< uint8_t > | frameData {} |
| Max 1612 data bytes per frame. Contains Ethernet header + Ethernet payload.
|
|
◆ calculateObjectSize()
uint32_t Vector::BLF::EthernetErrorEx::calculateObjectSize |
( |
| ) |
const |
|
overridevirtual |
◆ calculateStructLength()
uint16_t Vector::BLF::EthernetErrorEx::calculateStructLength |
( |
| ) |
const |
|
virtual |
Calculates structLength.
- Returns
- struct length
◆ read()
void Vector::BLF::EthernetErrorEx::read |
( |
AbstractFile & | is | ) |
|
|
overridevirtual |
◆ write()
void Vector::BLF::EthernetErrorEx::write |
( |
AbstractFile & | os | ) |
|
|
overridevirtual |
◆ error
uint32_t Vector::BLF::EthernetErrorEx::error {} |
Error code
- 1: Data Length Error
- 2: Invalid CRC
- 3: Invalid Data received
- 4: Collision detected
◆ flags
uint16_t Vector::BLF::EthernetErrorEx::flags {} |
flags, which indicates the valid fields:
- Bit 0 - reserved
- Bit 1 - hardwareChannel valid
- Bit 2 - frameDuration valid
- Bit 3 - frameChecksum valid
- Bit 4 - frameHandle valid
◆ structLength
uint16_t Vector::BLF::EthernetErrorEx::structLength {} |
Length of this structure.
Length of this structure, without sizeof(ObjectHeader) and without raw data length
The documentation for this struct was generated from the following files: