Rtcp

Package: inet.transportlayer.rtp

Rtcp

simple module

RTCP end system.

Used in compound modules

Name Type Description
RtpHost compound module (no description)

Parameters

Name Type Default value Description
interfaceTableModule string

The path to the InterfaceTable module

Properties

Name Value Description
display i=block/control

Gates

Name Direction Size Description
rtpIn input
udpIn input
rtpOut output
udpOut output

Signals

Name Type Unit
packetReceived cPacket

Statistics

Name Title Source Record Unit Interpolation Mode
packetReceived packets received packetReceived count, sum(packetBytes), vector(packetBytes) none
endToEndDelay end-to-end delay dataAge(packetReceived) histogram, vector s none

Scheduled messages (observed)

msgkindctrltagsmsgnamecontext
omnetpp::cMessage0Interval

Direct method calls (observed)

call tofunctioninfo
MessageDispatcherinet::MessageDispatcher::arrivedarrived

Incoming messages (observed)

gatemsgkindctrlsrcModuletags
rtpInRtpInnerPacket0Rtp
udpInPacket0 (UdpStatusInd::UDP_I_DATA)UdpDscpInd, EcnInd, HopLimitInd, InterfaceInd, L3AddressInd, L4PortInd, NetworkProtocolInd, SocketInd, TosInd, TransportProtocolInd

Outgoing messages (observed)

gatemsgkindctrldestModuletags
rtpOutRtpInnerPacket0Rtp
udpOutPacket0 (UdpCommandCode::UDP_C_DATA)UdpDispatchProtocolReq, L3AddressReq, L4PortReq, SocketReq
udpOutRequest1 (UdpCommandCode::UDP_C_BIND)UdpBindCommandUdpDispatchProtocolReq, SocketReq
udpOutRequest3 (UdpCommandCode::UDP_C_SETOPTION)UdpJoinMulticastGroupsCommandUdpDispatchProtocolReq, SocketReq

Packet operations (observed)

chunkTypepacketAction
peekData
RtcpByePacketinsertAtBack
RtcpPacketpopAtFront
RtcpReceiverReportPacketinsertAtBack
RtcpSdesPacketinsertAtBack
RtcpSenderReportPacketinsertAtBack
RtpHeaderpeekAtFront

Shared Tagging operations (observed)

tagTypetagAction
DispatchProtocolReqaddTagIfAbsent
L3AddressReqaddTagIfAbsent
L4PortReqaddTagIfAbsent
SocketReqaddTagIfAbsent

Region Tagging operations (observed)

tagTypetagAction
CreationTimeTaggetAllTags

Tagging operations (observed)

tagTypetagAction
inet::Ipv4InterfaceDatafindTag

Source code

//
// RTCP end system.
//
simple Rtcp
{
    parameters:
        string interfaceTableModule;   // The path to the InterfaceTable module
        @display("i=block/control");
        @signal[packetReceived](type=cPacket);
        @statistic[packetReceived](title="packets received"; source=packetReceived; record=count,"sum(packetBytes)","vector(packetBytes)"; interpolationmode=none);
        @statistic[endToEndDelay](title="end-to-end delay"; source="dataAge(packetReceived)"; unit=s; record=histogram,vector; interpolationmode=none);

    gates:
        input rtpIn @labels(RtpInnerPacket);
        input udpIn @labels(UdpControlInfo/up);
        output rtpOut @labels(RtpInnerPacket);
        output udpOut @labels(UdpControlInfo/down);
}

File: src/inet/transportlayer/rtp/Rtcp.ned