ETHERNET_FRAME_EX.
More...
#include <EthernetFrameEx.h>
|
uint16_t | structLength {} |
| Length of this structure, without sizeof(VBLObjectHeader), without mStructLength member and without mFrameData member.
|
|
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 | reservedEthernetFrameEx {} |
|
std::vector< uint8_t > | frameData {} |
| Max 1612 data bytes per frame. Contains Ethernet header + Ethernet payload.
|
|
ETHERNET_FRAME_EX.
Ethernet frame2
◆ calculateObjectSize()
uint32_t Vector::BLF::EthernetFrameEx::calculateObjectSize |
( |
| ) |
const |
|
overridevirtual |
◆ calculateStructLength()
uint16_t Vector::BLF::EthernetFrameEx::calculateStructLength |
( |
| ) |
const |
|
virtual |
Calculates structLength.
- Returns
- struct length
◆ read()
◆ write()
◆ flags
uint16_t Vector::BLF::EthernetFrameEx::flags {} |
flags, which indicates the valid fields:
- Bit 0 - normal packet = 0, forwarded packet = 1
- Bit 1 - mHardwareChannel valid
- Bit 2 - mFrameDuration valid
- Bit 3 - mFrameChecksum valid
- Bit 4 - mFrameHandle valid
◆ reservedEthernetFrameEx
uint32_t Vector::BLF::EthernetFrameEx::reservedEthernetFrameEx {} |
The documentation for this struct was generated from the following files: