Simple Module SCTP

Package: inet.transport.sctp
File: src/transport/sctp/SCTP.ned

C++ definition

(no description)

SCTP

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.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

StandardHost (compound module)

IP host with SCTP, TCP, UDP layers and applications.

StandardHostWithDLDuplicatesGenerator (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithDLDuplicatesGenerator.

StandardHostWithDLThruputMeter (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithDLThruputMeter.

StandardHostWithULDropsGenerator (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithULDropsGenerator.

StandardHostWithULThruputMeter (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithULThruputMeter.

Parameters:

Name Type Default value Description
numGapReports int 3

====== SCTP Association Parameters =================================

rtoInitial double 3s
rtoMin double 1s
rtoMax double 60s
rtoAlpha double 0.125
rtoBeta double 0.250
maxBurst int 4
assocMaxRetrans int 10
pathMaxRetrans int 5
maxInitRetrans int 8
sackPeriod double 200ms
sackFrequency int 2
reactivatePrimaryPath bool false
sendQueueLimit int 0
validCookieLifetime double 10s

====== Testing =====================================================

enableHeartbeats bool true

====== Heartbeats ==================================================

hbInterval double 30s
nagleEnabled bool true

====== Nagle Algorithm =============================================

naglePoint int 1468
fastRecoverySupported bool true

====== Congestion Control ==========================================

sctpAlgorithmClass string "SCTPAlg"
ccModule int 0

RFC4960=0

ssModule int 0

ROUND_ROBIN=0

arwnd int 65535
swsLimit int 3000

Limit for SWS

udpEncapsEnabled bool false

Gates:

Name Direction Size Description
from_appl [ ] input
from_ip input
from_ipv6 input
to_appl [ ] output
to_ip output
to_ipv6 output

Source code:

simple SCTP
{
    parameters:
        // ====== SCTP Association Parameters =================================
        int numGapReports = default(3);
        double rtoInitial @unit(s) = default(3s);
        double rtoMin @unit(s) = default(1s);
        double rtoMax @unit(s) = default(60s);
        double rtoAlpha = default(0.125);
        double rtoBeta = default(0.250);
        int maxBurst = default(4);
        int assocMaxRetrans = default(10);
        int pathMaxRetrans = default(5);
        int maxInitRetrans = default(8);
        double sackPeriod @unit(s) = default(200ms);
        int sackFrequency = default(2);
        bool reactivatePrimaryPath = default(false);
        int sendQueueLimit = default(0);
        double validCookieLifetime @unit(s) = default(10s);

        // ====== Testing =====================================================

        // ====== Heartbeats ==================================================
        bool enableHeartbeats = default(true);
        double hbInterval @unit(s) = default(30s);

        // ====== Nagle Algorithm =============================================
        bool nagleEnabled = default(true);
        int naglePoint = default(1468);

        // ====== Congestion Control ==========================================
        bool fastRecoverySupported = default(true);
        string sctpAlgorithmClass = default("SCTPAlg");
        int ccModule = default(0);           // RFC4960=0

        int ssModule = default(0);           // ROUND_ROBIN=0
        int arwnd = default(65535);
        int swsLimit = default(3000);        // Limit for SWS
        bool udpEncapsEnabled = default(false);








    gates:
        input from_appl[];
        input from_ip;
        input from_ipv6;
        output to_appl[];
        output to_ip;
        output to_ipv6;
}