Vector::BL...netFrameEx(3)
π Vector::BLF::EthernetFrameEx π
okay so bestie, this is Vector::BL...netFrameEx(3), a Library Functions Manual page for the Vector::BLF::EthernetFrameEx class β and she is giving major iconic ETHERNET_FRAME_EX energy. Inherits Vector::BLF::ObjectHeader, periodt. Weβre gonna go through every single inherited member too, because lore matters. π«Ά
β¨ NAME β¨
Vector::BLF::EthernetFrameEx β ETHERNET_FRAME_EX. Thatβs the name, thatβs the vibe, thatβs the whole point. π
π¦ SYNOPSIS π¦
#include <EthernetFrameEx.h>
Inherits Vector::BLF::ObjectHeader.
πΈ Public Member Functions πΈ
void read (AbstractFile &is) overrideβ reads this objectβs data from anAbstractFile &namedis; itβs an override, so sheβs doing her inherited duty. πvoid write (AbstractFile &os) overrideβ writes this objectβs data to anAbstractFile &namedos; also an override, also slaying.uint32_t calculateObjectSize () const overrideβ calculates the object size and gives you back auint32_t. Override behavior, no cap.virtual uint16_t calculateStructLength () constβ virtual function that calculates the struct length and returns auint16_t. Cute and virtual.
π
Public Member Functions inherited from Vector::BLF::ObjectHeader π
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)β constructor that takes anObjectType objectTypeand aconst uint16_t objectVersion=0. Yes, the default is0, bestie.void read (AbstractFile &is) overrideβ inherited read override, input streamis.void write (AbstractFile &os) overrideβ inherited write override, output streamos.uint16_t calculateHeaderSize () const overrideβ inherited override that calculates the header size, returninguint16_t.uint32_t calculateObjectSize () const overrideβ inherited override that calculates the object size, returninguint32_t.
π Public Member Functions inherited from Vector::BLF::ObjectHeaderBase π
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)β constructor takingconst uint16_t headerVersionandconst ObjectType objectType.ObjectHeaderBase (const ObjectHeaderBase &)=defaultβ copy constructor, defaulted. πObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultβ copy assignment, defaulted.ObjectHeaderBase (ObjectHeaderBase &&)=defaultβ move constructor, defaulted.ObjectHeaderBase & operator= (ObjectHeaderBase &&)=defaultβ move assignment, defaulted.
π Public Attributes π
uint16_t structLength {}β Length of this structure, withoutsizeof(VBLObjectHeader), withoutmStructLengthmember and withoutmFrameDatamember. Very specific, very demure.uint16_t flags {}β flags, which indicates the valid fields: (the full bit-by-bit tea is down in Member Data Documentation, keep scrolling bestie).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 validframeDatabytes.uint32_t frameHandle {}β Handle which refer the correspondingEthernetFrameForwardedevent.uint32_t reservedEthernetFrameEx {}β reserved. Thatβs it, literally.std::vector< uint8_t > frameData {}β Max 1612 data bytes per frame. Contains Ethernet header + Ethernet payload.
π Public Attributes inherited from Vector::BLF::ObjectHeader π
uint32_t objectFlags {ObjectFlags::TimeOneNans}β object flags.uint16_t clientIndex {}β client index of send node.uint16_t objectVersion {0}β object specific version.uint64_t objectTimeStamp {}β object timestamp.
π«Ά Public Attributes inherited from Vector::BLF::ObjectHeaderBase π«Ά
uint32_t signature {ObjectSignature}β signature (ObjectSignature).uint16_t headerSize {}β sizeof object header.uint16_t headerVersion {}β header version (1).uint32_t objectSize {}β object size.ObjectType objectType {ObjectType::UNKNOWN}β object type.
π§ Additional Inherited Members π§
π Public Types inherited from Vector::BLF::ObjectHeader π
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }β the enum, exactly as written.TimeTenMicsis0x00000001,TimeOneNansis0x00000002, and yes those are hex values, donβt @ me.
π₯ Detailed Description π₯
ETHERNET_FRAME_EX.
Ethernet frame2.
Thatβs the whole detailed description, bestie. Short. Iconic. Leaves you wanting more. π
π Member Function Documentation π
uint32_t Vector::BLF::EthernetFrameEx::calculateObjectSize () const
[override], [virtual]
Calculates the objectSize.
Returns: object size.
Reimplemented from Vector::BLF::ObjectHeaderBase.
uint16_t Vector::BLF::EthernetFrameEx::calculateStructLength () const
[virtual]
Calculates structLength.
Returns: struct length.
void Vector::BLF::EthernetFrameEx::read (AbstractFile & is)
[override], [virtual]
Read the data of this object.
Parameters: is β input stream.
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::EthernetFrameEx::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::EthernetFrameEx::flags {}
flags, which indicates the valid fields:
- Bit 0 - normal packet = 0, forwarded packet = 1
- Bit 1 -
mHardwareChannelvalid - Bit 2 -
mFrameDurationvalid - Bit 3 -
mFrameChecksumvalid - Bit 4 -
mFrameHandlevalid
uint32_t Vector::BLF::EthernetFrameEx::reservedEthernetFrameEx {}
reserved.
π Author π
Generated automatically by Doxygen for Vector BLF from the source code.
okay final sign-off bestie: source/version is Vector BLF, the footer page label is Vector::BL...netFrameEx(3), and there is no date printed in this footer β so thatβs the whole tea. Bye, slay, hydrate, and donβt forget your inherited members π
β¨π«Ά
π¦ 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