Test Information

TitleThe cwnd of the transport address should be adjusted to max(cwnd/2, 4*MTU) when does not transmit data
CommandLine./InitCwndAfterIdle.seq -pkt ./InitCwndAfterIdle.def -log 6.html -ti The cwnd of the transport address should be adjusted to max(cwnd/2, 4*MTU) when does not transmit data
TestVersionREL_1_0_0
ToolVersionREL_3_1_0
Start2009/02/13 14:29:02
Tn.//../etc//tn.def
Nu.//../etc//nut.def
Pkt./InitCwndAfterIdle.def
Systemlinux-v6
TargetNameRHEL5GA
HostNameFNST
TypeIPv4

Test Sequence Execution Log

14:29:03Start
14:29:03Start Capturing Packets (Link0)

=============== sctpCheckEnv ===============
14:29:03 vRemote(rcommand.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommand.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp" ''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_sta tus; checksctp 
sctp_test: no process killed
sctp_darn: no process killed
sctp_status: no process killed
SCTP supported
[root@RHEL ~]# sendMessagesSync: never got killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp 
echo $?
0~.~.
~.

Disconnected.

============== sctpPingToHost ==============
14:29:13 vSend(Link0,echo4_request_on_link0)
Send Echo Request on Link0
14:29:13 vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0
Recv Echo Reply on Link0

============= sctpStatusClient =============
14:29:13 vRemote(rcommandasync.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="sleep 5 && sctp_status -H 192.168.0.21 -P 4583 -h 192.168.0.100 -p 3583 -s -c 1352 -X 1 -x 5 -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1 &" ''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# sleep 5 && sctp~.
Disconnected.

================= vListen ==================
14:29:18 vRecv(Link0,sctp_chunk_init_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv ARP Request on Link0
14:29:19 vSend(Link0,arp_reply_on_link0)
Send ARP Reply on Link0
14:29:20 vRecv(Link0,sctp_chunk_init_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_INIT
14:29:21 vSend(Link0,sctp_chunk_init_ack_snd)
Send SCTP CHUNK_INIT_ACK

================= vAccept ==================
14:29:21 vRecv(Link0,sctp_chunk_cookie_echo_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_COOKIE_ECHO
14:29:21 vSend(Link0,sctp_chunk_cookie_ack_snd)
Send SCTP CHUNK_COOKIE_ACK

Now the cwnd is 4380
14:29:21 vRecv(Link0,sctp_chunk_data_loc arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
14:29:21 vRecv(Link0,sctp_chunk_data_loc arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
14:29:21 vRecv(Link0,sctp_chunk_data_loc arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
14:29:21 vRecv(Link0,sctp_chunk_data_loc arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA

flight_size(5408) is greater than cwnd(4380)
14:29:22 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 5880

================= vRecvMsg =================
14:29:22 vRecv(Link0,sctp_chunk_data_loc arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
14:29:22 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

================ Main Test =================
14:29:22 vRecv(Link0,sctp_chunk_heartbeat arp_request_on_link0 ) timeout:100 cntLimit:0 seektime:0
Recv SCTP CHUNK_HEARTBEAT
14:29:46 vSend(Link0,sctp_chunk_heartbeat_ack)
Send SCTP CHUNK_HEARTBEAT_ACK

Now the cwnd is 6000

================== vClose ==================
14:29:46 vSend(Link0,sctp_chunk_shutdown_snd)
Send SCTP CHUNK_SHUTDOWN
14:29:47 vRecv(Link0,sctp_chunk_shutdown_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_SHUTDOWN_ACK
14:29:47 vSend(Link0,sctp_chunk_shutdown_complete_snd)
Send SCTP CHUNK_SHUTDOWN_COMPLETE

============ sctpGetRemoteStatus ===========
14:29:47 vRemote(getfile.rmt) ``/usr/local/v6eval//bin/linux-v6//getfile.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 from=/tmp/sctpstatus to=.sctpstatus''
Connected.

[1]+  Done                    sleep 5 && sctp_status -H 192.168.0.21 -P 4583 -h 192.168.0.100 -p 3583 -s -c 1352 -X 1 -x 5 -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1
[root@RHEL ~]# 
[root@RHEL ~]# ~sechocheck

[root@RHEL ~]# 
[root@RHEL ~]# ~t/tmp/sctpstatus .sctpstatus
[file transfer complete]
[connected]
RHEL ~]# 
[root@RHEL ~]# 
[~.
Disconnected.

NO. ASSOC-ID STATE             RWND     UNACKDATA PENDDATA INSTRMS OUTSTRMS FRAG-POINT SPINFO-STATE SPINFO-CWDN SPINFO-SRTT SPINFO-RTO SPINFO-MTU
1   1        ESTABLISHED       54784    0         0        100     10       1452       ACTIVE       4380        0           3000       1500
2   1        ESTABLISHED       53260    1         0        100     10       1452       ACTIVE       5880        587         1759       1500
3   1        ESTABLISHED       54784    0         0        100     10       1452       ACTIVE       6000        546         3508       1500
OK
14:29:56End

Packet Reverse Log