Simple Module AVBIncoming

Package: core4inet.incoming.avb
File: src/core4inet/incoming/avb/AVBIncoming.ned

C++ definition

Module for the conformance checks of incoming audio-video bridging traffic. Routes AVBFrames to the correct buffers.

See also: ~Incoming

Author: Philipp Meyer

AVBIncoming

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
Incoming simple module

Abstract module for the conformance checks of incoming traffic.

Used in compound modules:

Name Type Description
RTIPHost compound module

Contains the common lower layers (linklayer and networklayer) of Router, StandardHost, WirelessHost etc.

TTEAVBEtherHost compound module

Module for a TTEAVBEthernet Host. Contains handler for TT, AVB, RC and BE Messages.

TTEAVBEtherSwitch compound module

Module for a TTEAVBEthernet Switch. Contains handler for TT, AVB, RC and BE Messages.

Parameters:

Name Type Default value Description
hardware_delay double 0s

Hardware delay between incoming and outgoing buffer

srpTable string "^.srpTable"

Properties:

Name Value Description
class AVBIncoming

AVBIncoming is implemented by the AVBIncoming C++ Class

display i=block/arrival,blue

SRP Table module, default name is srpTable

Gates:

Name Direction Size Description
in input

input of the ctc

out output

output of the ctc

AVBAout [ ] output

outputs for AVB Class A Frames

AVBBout [ ] output

outputs for AVB Class B Frames

Signals:

Name Type Unit
rxPk inet::EtherFrame
droppedPk inet::EtherFrame

Statistics:

Name Title Source Record Unit Interpolation Mode
rxBytes Received Bytes rxPk sum(packetBytes)?, vector(packetBytes)? B none
rxPk Received Packets rxPk count
latency End-to-end latency messageAge(rxPk) stats, histogram?, vector s none
dropped Packets Dropped droppedPk count, vector(constant1)

Source code:

//
// Module for the conformance checks of incoming audio-video bridging traffic.
// Routes AVBFrames to the correct buffers.
//
// @see ~Incoming
//
// @author Philipp Meyer
//
simple AVBIncoming extends Incoming
{
    parameters:
        //AVBIncoming is implemented by the AVBIncoming C++ Class
        @class(AVBIncoming);
        @display("i=block/arrival,blue");

		//SRP Table module, default name is srpTable
        string srpTable = default("^.srpTable");
    gates:
        //outputs for AVB Class A Frames
        output AVBAout[] @labels(AVBFrame);
        //outputs for AVB Class B Frames
        output AVBBout[] @labels(AVBFrame);
}