VECTOR_BLF_ETHERNETFRAMEFORWARDED(3)
π NAME π
Vector::BLF::EthernetFrameForwarded β literally the ETHERNET_FRAME_FORWARDED situation, bestie. That's the whole vibe. (Oh and hey, this is page Vector::BLF::EthernetFrameForwarded(3) from the Library Functions Manual β welcome to the group chat π)
β¨ SYNOPSIS β¨
#include <EthernetFrameForwarded.h>
Inherits Vector::BLF::ObjectHeader. So yes, it's giving nepo-baby of ObjectHeader, but like, in the good way π«Ά
πΈ Public Member Functions
void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint32_t calculateObjectSize () const overridevirtual uint16_t calculateStructLength () const
π¦ Public Member Functions inherited from Vector::BLF::ObjectHeader
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint16_t calculateHeaderSize () const overrideuint32_t calculateObjectSize () const override
π§ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)ObjectHeaderBase (const ObjectHeaderBase &)=defaultObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultObjectHeaderBase (ObjectHeaderBase &&)=defaultObjectHeaderBase & operator= (ObjectHeaderBase &&)=default
π Public Attributes
uint16_t structLength {}β the length of this structure, and listen: withoutsizeof(VBLObjectHeader), without themStructLengthmember, and without themFrameDatamember. It's a very picky length, okay πuint16_t flags {}β flags, which indicates the valid fields πuint16_t channel {}β application channel, i.e. Eth 1uint16_t hardwareChannel {}β the HW channeluint64_t frameDuration {}β transmission duration in[ns](nanoseconds, bestie, not a vibe)uint32_t frameChecksum {}β Ethernet checksumuint16_t dir {}β direction flag:0=Rx,1=Tx,2=TxRquint16_t frameLength {}β number of validframeDatabytesuint16_twait no βuint32_t frameHandle {}β handle which refer the correspondingEthernetFrameForwardedevent πuint32_t reservedEthernetFrameForwarded {}β reservedstd::vector< uint8_t > frameData {}β max 1612 data bytes per frame. Contains Ethernet header + Ethernet payload. That's the whole sandwich π₯ͺ
π Public Attributes inherited from Vector::BLF::ObjectHeader
uint32_t objectFlags {ObjectFlags::TimeOneNans}β object flagsuint16_t clientIndex {}β client index of send nodeuint16_t objectVersion {0}β object specific versionuint64_t objectTimeStamp {}β object timestamp
β Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}β signature (ObjectSignature)uint16_t headerSize {}βsizeofobject headeruint16_t headerVersion {}β header version (1)uint32_t objectSize {}β object sizeObjectType objectType {ObjectType::UNKNOWN}β object type
π Additional Inherited Members
π Public Types inherited from Vector::BLF::ObjectHeader
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
π DESCRIPTION π
π« Detailed Description
ETHERNET_FRAME_FORWARDED.
Ethernet frame forwarded π¦
Lowkey that's it. It said what it said. Periodt.
π₯ Member Function Documentation π₯
π uint32_t Vector::BLF::EthernetFrameForwarded::calculateObjectSize () const
[override], [virtual]
Calculates the objectSize.
Returns β object size β¨
Reimplemented from Vector::BLF::ObjectHeaderBase.
π uint16_t Vector::BLF::EthernetFrameForwarded::calculateStructLength () const
[virtual]
Calculates structLength.
Returns β struct length β¨
π void Vector::BLF::EthernetFrameForwarded::read (AbstractFile & is)
[override], [virtual]
Read the data of this object.
Parameters β is input stream π₯
Reimplemented from Vector::BLF::ObjectHeaderBase.
π void Vector::BLF::EthernetFrameForwarded::write (AbstractFile & os)
[override], [virtual]
Write the data of this object.
Parameters β os output stream π€
Reimplemented from Vector::BLF::ObjectHeaderBase.
π Member Data Documentation π
π§ uint16_t Vector::BLF::EthernetFrameForwarded::flags {}
flags, which indicates the valid fields:
- Bit 0 β normal packet =
0, forwarded packet =1 - Bit 1 β
hardwareChannelvalid - Bit 2 β
frameDurationvalid - Bit 3 β
frameChecksumvalid - Bit 4 β
frameHandlevalid
Ngl bestie, memorize these bits. They're literally the vibe check for which fields are actually real π
π§ uint32_t Vector::BLF::EthernetFrameForwarded::reservedEthernetFrameForwarded {}
reserved π
π Author π
Generated automatically by Doxygen for Vector BLF from the source code.
π And that's the whole page, bestie β this footer is brought to you by Vector BLF, page Vector::BLF::EthernetFrameForwarded(3), auto-generated from source and stamped in the manual the good old-fashioned Doxygen way. Slay π
β¨π«Ά
π¦ where this page comes from
- arch rolling: vector-blf 2.4.2-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms