Vector::BL...netFrameEx(3)

πŸ“¦ version 2.4.2, in arch rolling

πŸ’– 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 an AbstractFile & named is; it’s an override, so she’s doing her inherited duty. πŸ’–
  • void write (AbstractFile &os) override β€” writes this object’s data to an AbstractFile & named os; also an override, also slaying.
  • uint32_t calculateObjectSize () const override β€” calculates the object size and gives you back a uint32_t. Override behavior, no cap.
  • virtual uint16_t calculateStructLength () const β€” virtual function that calculates the struct length and returns a uint16_t. Cute and virtual.

πŸ’… Public Member Functions inherited from Vector::BLF::ObjectHeader πŸ’…

  • ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) β€” constructor that takes an ObjectType objectType and a const uint16_t objectVersion=0. Yes, the default is 0, bestie.
  • void read (AbstractFile &is) override β€” inherited read override, input stream is.
  • void write (AbstractFile &os) override β€” inherited write override, output stream os.
  • uint16_t calculateHeaderSize () const override β€” inherited override that calculates the header size, returning uint16_t.
  • uint32_t calculateObjectSize () const override β€” inherited override that calculates the object size, returning uint32_t.

πŸŽ€ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase πŸŽ€

  • ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) β€” constructor taking const uint16_t headerVersion and const 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, without sizeof(VBLObjectHeader), without mStructLength member and without mFrameData member. 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 valid frameData bytes.
  • uint32_t frameHandle {} β€” Handle which refer the corresponding EthernetFrameForwarded event.
  • 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. TimeTenMics is 0x00000001, TimeOneNans is 0x00000002, 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 - mHardwareChannel valid
  • Bit 2 - mFrameDuration valid
  • Bit 3 - mFrameChecksum valid
  • Bit 4 - mFrameHandle valid

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