Vector::BLF::AfdxFrame(3)

πŸ“¦ version 2.4.2, in arch rolling

πŸ’– NAME πŸ’–

Vector::BLF::AfdxFrame β€” AFDX_FRAME, bestie. That's the whole name section, and yes, it's giving "short but iconic." πŸ’…

Okay so real talk: this page is from the Library Functions Manual, and it's all about Vector::BLF::AfdxFrame(3). Welcome to the AFDX frame lore. ✨

✨ SYNOPSIS ✨

#include <AfdxFrame.h>

Inherits Vector::BLF::ObjectHeader.

🌈 Public Types

enum Dir : uint16_t { Rx = 0, Tx = 1, TxRq = 2 }

πŸ¦‹ Public Types inherited from Vector::BLF::ObjectHeader

enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }

πŸ’œ Public Member Functions

  • void read (AbstractFile &is) override β€” read the object's data, slay.
  • void write (AbstractFile &os) override β€” write the object's data, periodt.
  • uint32_t calculateObjectSize () const override β€” calculate the object size, no cap.

✨ Public Member Functions inherited from Vector::BLF::ObjectHeader

  • ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)
  • void read (AbstractFile &is) override
  • void write (AbstractFile &os) override
  • uint16_t calculateHeaderSize () const override
  • uint32_t calculateObjectSize () override

🫢 Public Member Functions inherited from Vector::BLF::ObjectHeaderBase

  • ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)
  • ObjectHeaderBase (const ObjectHeaderBase &)=default
  • ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default
  • ObjectHeaderBase (ObjectHeaderBase &&)=default
  • ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default

πŸ“ Public Attributes

  • std::array< uint8_t, 6 > sourceAddress {}
  • uint16_t channel {}
  • std::array< uint8_t, 6 > destinationAddress {}
  • uint16_t dir {} β€” Direction flag.
  • uint16_t type {}
  • uint16_t tpid {}
  • uint16_t tci {}
  • uint8_t ethChannel {}
  • uint8_t reservedAfdxFrame1 {}
  • uint16_t afdxFlags {}
  • uint16_t reservedAfdxFrame2 {}
  • uint32_t bagUsec {}
  • uint16_t payLoadLength {} β€” Number of valid payLoad bytes.
  • uint16_t reservedAfdxFrame3 {}
  • uint32_t reservedAfdxFrame4 {}
  • std::vector< uint8_t > payLoad {} β€” Ethernet payload data.

🌸 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

πŸ¦‹ Detailed Description πŸ¦‹

AFDX_FRAME.

AFDX frame. That's the vibe. πŸ¦‹

🌸 Member Enumeration Documentation 🌸

πŸ’œ enum Vector::BLF::AfdxFrame::Dir : uint16_t

enumeration for dir, and honestly it's serving exactly what it says on the tin.

Enumerator

  • Rx β€” Receive
  • Tx β€” Transmit
  • TxRq β€” Transmit Request

πŸ’… Member Function Documentation πŸ’…

πŸ’… uint32_t Vector::BLF::AfdxFrame::calculateObjectSize () const [override], [virtual]

Calculates the objectSize.

Returns object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

πŸ’… void Vector::BLF::AfdxFrame::read (AbstractFile & is) [override], [virtual]

Read the data of this object.

Parameters is input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

πŸ’… void Vector::BLF::AfdxFrame::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::AfdxFrame::afdxFlags {}

Status- and error flags as:

  • Bit 0: Frame from line-B
  • Bit 1: Packet is redundant
  • Bit 2: Frame is a fragment only
  • Bit 3: Frame is already reassembled
  • Bit 4: Packet is not a valid AFDX frame
  • Bit 5: AFDX-SequenceNo is invalud
  • Bit 6: Redundancy timeout violated
  • Bit 7: Redundancy error encountered
  • Bit 8: A / B interface mismatch
  • Bit 11: Fragmentation error

πŸŽ€ uint32_t Vector::BLF::AfdxFrame::bagUsec {}

Time period since last received frame on this virtual link in micro-seconds.

πŸŽ€ uint16_t Vector::BLF::AfdxFrame::channel {}

The channel of the frame.

πŸŽ€ std::array<uint8_t, 6> Vector::BLF::AfdxFrame::destinationAddress {}

Ethernet (MAC) address of target computer (network byte order).

πŸŽ€ uint8_t Vector::BLF::AfdxFrame::ethChannel {}

Channel number of the underlying Ethernet interface, where the frame originated from.

πŸŽ€ std::vector<uint8_t> Vector::BLF::AfdxFrame::payLoad {}

Ethernet payload data. Ethernet payload data (without Ethernet header).

Max 1582 (1600 packet length - 18 header) data bytes per frame.

πŸŽ€ uint16_t Vector::BLF::AfdxFrame::payLoadLength {}

Number of valid payLoad bytes. Length of Ethernet payload data in bytes. Max. 1500 Bytes (without Ethernet header).

πŸŽ€ uint8_t Vector::BLF::AfdxFrame::reservedAfdxFrame1 {}

reserved

πŸŽ€ uint16_t Vector::BLF::AfdxFrame::reservedAfdxFrame2 {}

reserved

πŸŽ€ uint16_t Vector::BLF::AfdxFrame::reservedAfdxFrame3 {}

reserved

πŸŽ€ uint32_t Vector::BLF::AfdxFrame::reservedAfdxFrame4 {}

reserved

πŸŽ€ std::array<uint8_t, 6> Vector::BLF::AfdxFrame::sourceAddress {}

Ethernet (MAC) address of source computer (network byte order).

πŸŽ€ uint16_t Vector::BLF::AfdxFrame::tci {}

TCI when VLAND tag valid, zero when no VLAN. See Ethernet standard specification.

πŸŽ€ uint16_t Vector::BLF::AfdxFrame::tpid {}

TPID when VLAN tag valid, zweo when no VLAN. See Ethernet stnadard specification.

πŸŽ€ uint16_t Vector::BLF::AfdxFrame::type {}

EtherType which indicates protocol for Ethernet payload data.

See Ethernet standard specification for valid values.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Vector BLF from the source code.


Okay bestie, cute sign-off time: source/version is Vector BLF, the page is Vector::BLF::AfdxFrame(3), and the footer doesn't list a date, so I'm not inventing one β€” we stay factual in this group chat. πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from