Vector::BLF::AfdxFrame(3)
π 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) overridevoid write (AbstractFile &os) overrideuint16_t calculateHeaderSize () const overrideuint32_t calculateObjectSize () 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
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 validpayLoadbytes.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 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
π¦ 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β ReceiveTxβ TransmitTxRqβ 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-SequenceNois 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
- 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