Network tcpsack

Package: inet.examples.inet.tcpsack
File: examples/inet/tcpsack/tcpSack.ned

(no description)

Router StandardHostWithULDropsGenerator StandardHostWithULDropsGenerator

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.

Properties:

Name Value Description
isNetwork
display bgb=400,200

Unassigned submodule parameters:

Name Type Default value Description
router.networkLayer.ip.procDelay double 0s
router.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

router.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

router.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

router.ppp.ppp.mtu int 4470
router.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

router.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

router.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

router.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

router.eth.mac.mtu int 1500
client.sctp.numGapReports int 3

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

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

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

client.sctp.enableHeartbeats bool true

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

client.sctp.hbInterval double 30s
client.sctp.nagleEnabled bool true

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

client.sctp.naglePoint int 1468
client.sctp.fastRecoverySupported bool true

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

client.sctp.sctpAlgorithmClass string "SCTPAlg"
client.sctp.ccModule int 0

RFC4960=0

client.sctp.ssModule int 0

ROUND_ROBIN=0

client.sctp.arwnd int 65535
client.sctp.swsLimit int 3000

Limit for SWS

client.sctp.udpEncapsEnabled bool false
client.pingApp.destAddr string ""

destination IP or IPv6 address

client.pingApp.srcAddr string ""

source IP or IPv6 address (useful with multi-homing)

client.pingApp.packetSize double 56B

of ping payload, in bytes

client.pingApp.interval double 1s

time to wait between pings (can be random)

client.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

client.pingApp.count double 0

stop after count ping requests, 0 means continuously

client.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

client.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

client.pingApp.printPing bool true

dump on stdout

client.networkLayer.ip.procDelay double 0s
client.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

client.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

client.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

client.ppp.ppp.mtu int 4470
client.ppp.dropsGenerator.dropsVector string ""

the dropsVector format is "<packetNumber>;<packetNumber>;...;" packet numbers in ascending order e.g. "5;6;12;13;"

client.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

client.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

client.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

client.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

client.eth.mac.mtu int 1500
client.ext.filterString string
client.ext.device string
client.ext.mtu int 1500
client.tcpdump.dumpFile string ""
client.tcpdump.threadEnable bool false
client.tcpdump.snaplen int 65535
client.tcpdump.verbosity int 0
server.sctp.numGapReports int 3

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

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

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

server.sctp.enableHeartbeats bool true

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

server.sctp.hbInterval double 30s
server.sctp.nagleEnabled bool true

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

server.sctp.naglePoint int 1468
server.sctp.fastRecoverySupported bool true

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

server.sctp.sctpAlgorithmClass string "SCTPAlg"
server.sctp.ccModule int 0

RFC4960=0

server.sctp.ssModule int 0

ROUND_ROBIN=0

server.sctp.arwnd int 65535
server.sctp.swsLimit int 3000

Limit for SWS

server.sctp.udpEncapsEnabled bool false
server.pingApp.destAddr string ""

destination IP or IPv6 address

server.pingApp.srcAddr string ""

source IP or IPv6 address (useful with multi-homing)

server.pingApp.packetSize double 56B

of ping payload, in bytes

server.pingApp.interval double 1s

time to wait between pings (can be random)

server.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

server.pingApp.count double 0

stop after count ping requests, 0 means continuously

server.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

server.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

server.pingApp.printPing bool true

dump on stdout

server.networkLayer.ip.procDelay double 0s
server.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

server.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

server.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

server.ppp.ppp.mtu int 4470
server.ppp.dropsGenerator.dropsVector string ""

the dropsVector format is "<packetNumber>;<packetNumber>;...;" packet numbers in ascending order e.g. "5;6;12;13;"

server.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

server.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

server.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

server.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

server.eth.mac.mtu int 1500
server.ext.filterString string
server.ext.device string
server.ext.mtu int 1500
server.tcpdump.dumpFile string ""
server.tcpdump.threadEnable bool false
server.tcpdump.snaplen int 65535
server.tcpdump.verbosity int 0

Source code:

network tcpsack
{
    parameters:
        @display("bgb=400,200");
    submodules:
        router: Router {
            parameters:
                @display("p=200,100;i=abstract/router");
            gates:
                pppg[2];
        }
        client: StandardHostWithULDropsGenerator {
            parameters:
                @display("p=50,100");
            gates:
                pppg[1];
        }
        server: StandardHostWithULDropsGenerator { // for config 1-5
            //        server: StandardHostWithDLDuplicatesGenerator { // for config 6
            parameters:
                @display("p=350,100;i=device/server");
            gates:
                pppg[1];
        }
    connections allowunconnected:
        router.pppg[0] <--> NormalPath <--> client.pppg[0];
        router.pppg[1] <--> NormalPath <--> server.pppg[0];
}