1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- %description:
- Test connection setup: simultaneous active open by A and B
- A,B: INIT --> SYN_SENT --> SYN_RCVD --> ESTABLISHED
- Have them send 100-100 bytes to check seq numbers are correct.
- %inifile: {}.ini
- [General]
- #preload-ned-files = *.ned ../../*.ned @../../../../nedfiles.lst
- ned-path = .;../../../../src;../../lib
- #omnetpp 5.0 - 5.1 compatibility:
- eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
- output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
- output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
- snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
- #[Cmdenv]
- cmdenv-event-banners=false
- cmdenv-express-mode=false
- #[Parameters]
- *.testing=true
- ####cmdenv-log-format=""
- *.tcptester.cmdenv-ev-output=true
- **.cmdenv-ev-output=false
- *.cli_app.active=true
- *.srv_app.active=true
- *.cli_app.tOpen=0s
- *.srv_app.tOpen=0s
- *.cli_app.tSend=1s
- *.cli_app.sendBytes=100B
- *.srv_app.tSend=1s
- *.srv_app.sendBytes=100B
- include ../../lib/defaults.ini
- %contains: stdout
- [testing] DEBUG: cli_tcp: INIT --> SYN_SENT (on OPEN_ACTIVE)
- [testing] DEBUG: srv_tcp: INIT --> SYN_SENT (on OPEN_ACTIVE)
- [0.001 A001] A.1000 > B.2000: A S 0:0(0) win 16384
- [0.001 B001] A.1000 < B.2000: A S 0:0(0) win 16384
- [testing] DEBUG: srv_tcp: SYN_SENT --> SYN_RCVD (on RCV_SYN)
- [testing] DEBUG: cli_tcp: SYN_SENT --> SYN_RCVD (on RCV_SYN)
- [0.003 B002] A.1000 < B.2000: A S 0:0(0) ack 1 win 16384
- [0.003 A002] A.1000 > B.2000: A S 0:0(0) ack 1 win 16384
- [0.005 A003] A.1000 > B.2000: A ack 1 win 16384
- [0.005 B003] A.1000 < B.2000: A ack 1 win 16384
- [testing] DEBUG: srv_tcp: SYN_RCVD --> ESTABLISHED (on RCV_ACK)
- [testing] DEBUG: cli_tcp: SYN_RCVD --> ESTABLISHED (on RCV_ACK)
- [1.001 A004] A.1000 > B.2000: A 1:101(100) ack 1 win 16384
- [1.001 B004] A.1000 < B.2000: A 1:101(100) ack 1 win 16384
- %contains: stdout
- [1.204] tcpdump finished, A:5 B:5 segments
- %#--------------------------------------------------------------------------------------------------------------
- %not-contains: stdout
- undisposed object:
- %not-contains: stdout
- -- check module destructor
- %#--------------------------------------------------------------------------------------------------------------
|