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/12 18:04:30
Tn.//../etc//tn.def
Nu.//../etc//nut.def
Pkt./InitCwndAfterIdle.def
Systemlinux-v6
TargetNameRHEL5GA
HostNameFNST
TypeIPv6

Test Sequence Execution Log

18:04:31Start
18:04:31Start Capturing Packets (Link0)

=============== sctpCheckEnv ===============
18:04:31 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.

============= sctpPing6ToHost ==============
18:04:40 vSend(Link0,echo_request_on_link0)
Send Echo Request on Link0
18:04:40 vRecv(Link0,echo_reply_on_link0 ns_on_link0 ns_on_link0_gl) timeout:5 cntLimit:0 seektime:0
Recv Echo Reply on Link0

============= sctpStatusClient =============
18:04:40 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 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4174 -h 3ffe:501:ffff:100:0200:00ff:fe00:0100 -p 3174 -s -c 1352 -X 1 -x 5 -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1 &" ''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# sleep 5 && sctp_status -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 - P 4174~.
Disconnected.

================= vListen ==================
18:04:44 vRecv(Link0,sctp_chunk_init_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_INIT
18:04:46 vSend(Link0,sctp_chunk_init_ack_snd)
Send SCTP CHUNK_INIT_ACK

================= vAccept ==================
18:04:47 vRecv(Link0,sctp_chunk_cookie_echo_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_COOKIE_ECHO
18:04:47 vSend(Link0,sctp_chunk_cookie_ack_snd)
Send SCTP CHUNK_COOKIE_ACK

Now the cwnd is 4380
18:04:47 vRecv(Link0,sctp_chunk_data_loc ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
18:04:47 vRecv(Link0,sctp_chunk_data_loc ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
18:04:47 vRecv(Link0,sctp_chunk_data_loc ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
18:04:47 vRecv(Link0,sctp_chunk_data_loc ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA

flight_size(5408) is greater than cwnd(4380)
18:04:47 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 5880

================= vRecvMsg =================
18:04:47 vRecv(Link0,sctp_chunk_data_loc ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA
18:04:48 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

================ Main Test =================
18:04:48 vRecv(Link0,sctp_chunk_heartbeat ns_on_link0 ns_on_link0_gl) timeout:100 cntLimit:0 seektime:0
Recv SCTP CHUNK_HEARTBEAT
18:05:18 vSend(Link0,sctp_chunk_heartbeat_ack)
Send SCTP CHUNK_HEARTBEAT_ACK

Now the cwnd is 6000

================== vClose ==================
18:05:18 vSend(Link0,sctp_chunk_shutdown_snd)
Send SCTP CHUNK_SHUTDOWN
18:05:19 vRecv(Link0,sctp_chunk_shutdown_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_SHUTDOWN_ACK
18:05:19 vSend(Link0,sctp_chunk_shutdown_complete_snd)
Send SCTP CHUNK_SHUTDOWN_COMPLETE

============ sctpGetRemoteStatus ===========
18:05:19 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 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4174 -h 3ffe:501:ffff:100:0200:00ff:fe00:0100 -p 3174 -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]
ot@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       1432       ACTIVE       4380        0           3000       1500
2   1        ESTABLISHED       53260    1         0        100     10       1432       ACTIVE       5880        699         2095       1500
3   1        ESTABLISHED       54784    0         0        100     10       1432       ACTIVE       6000        649         4194       1500
OK
18:05:28End

Packet Reverse Log