Packet CTFrame

File: src/linklayer/ethernet/CTFrame.msg

C++ definition

Represents a critical traffic frame

CTFrames are displayed as small black rectangles in the GUI

See also: EtherFrame

Author: Till Steinbach

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

Name Type Description
EtherFrame packet

Common base class for classes representing Ethernet II and 802.3 frame types, containing their common header fields.

Known subclasses:

Name Type Description
RCFrame packet

Represents a RC frame

TTFrame packet

Represents a TT frame

Fields:

Name Type Description
ctID uint16_t
ctMarker uint32_t
displayString string
dest MACAddress
src MACAddress
frameByteLength int

frame length without physical layer overhead (preamble, SFD, carrier extension); used by MAC layer

Source code:

//
// Represents a critical traffic frame
//
// CTFrames are displayed as small black rectangles in the GUI
//
// @see EtherFrame
//
// @author Till Steinbach
packet CTFrame extends EtherFrame
{
    // Critical traffic ID (from MAC) (for TT and RC messages). 
    @customize(true);
    abstract uint16_t ctID;

    // Critical traffic marker (from MAC) (for TT and RC messages). 
    @customize(true);
    abstract uint32_t ctMarker;

    string displayString = "b=15,15,rect,black,kind,5";
}