Test Information

TitleThe cwnd of the transport address should be adjusted to max(cwnd/2, 4*MTU) when no transmit data
CommandLine./ResetInitCwnd.seq -pkt ./ResetInitCwnd.def -log 9.html -ti The cwnd of the transport address should be adjusted to max(cwnd/2, 4*MTU) when no transmit data
TestVersionREL_1_0_0
ToolVersionREL_3_1_0
Start2009/02/12 18:06:54
Tn.//../etc//tn.def
Nu.//../etc//nut.def
Pkt./ResetInitCwnd.def
Systemlinux-v6
TargetNameRHEL5GA
HostNameFNST
TypeIPv6

Test Sequence Execution Log

18:06:55Start
18:06:55Start Capturing Packets (Link0)

=============== sctpCheckEnv ===============
18:06:55 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:07:04 vSend(Link0,echo_request_on_link0)
Send Echo Request on Link0
18:07:04 vRecv(Link0,echo_reply_on_link0 ns_on_link0 ns_on_link0_gl) timeout:5 cntLimit:0 seektime:0
Recv Echo Reply on Link0

== Modify MAX.BURST configure to let test easy ==

============= sctpGetRemoteSys =============
18:07:04 vRemote(getsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//getsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST to=max_burst''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# ~s
cu: echocheck: unknown variable (~v lists variables)

[root@RHEL ~]# 
[root@RHEL ~]# ~t
[file transfer complete]
[connected]
ot@RHEL ~]# 
[root@RHEL ~]# ~.
Disconnected.

Paramater MAX.BURST of Remote System is : 4

============= sctpSetRemoteSys =============
18:07:13 vRemote(setsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//setsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST value=10''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# echo 10 > /proc/sys/net/sctp/max_burst 
[root@RHEL ~]# echo $?
0
[root@RH~.
Disconnected.

Set paramater MAX.BURST of Remote System to value: 10================ Main Test =================

============= sctpStatusClient =============
18:07:17 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 4177 -h 3ffe:501:ffff:100:0200:00ff:fe00:0100 -p 3177 -s -X 7 -x 3 -c 1432 -I 7 -D -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 4177 ~.
Disconnected.

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

================= vAccept ==================
18:07:23 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:07:23 vSend(Link0,sctp_chunk_cookie_ack_snd)
Send SCTP CHUNK_COOKIE_ACK

Now the cwnd is 4380
18:07:23 vRecv(Link0,sctp_chunk_data_1 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
18:07:23 vRecv(Link0,sctp_chunk_data_2 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
18:07:24 vRecv(Link0,sctp_chunk_data_3 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
18:07:24 vRecv(Link0,sctp_chunk_data_4 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)

Now the cwnd is 5812
18:07:24 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
18:07:24 vRecv(Link0,sctp_chunk_data_5 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
18:07:24 vSend(Link0,sctp_chunk_sack_2)
Send SCTP CHUNK_SACK (1 and 2)
18:07:24 vSend(Link0,sctp_chunk_sack_3)
Send SCTP CHUNK_SACK (1 and 3)
18:07:24 vSend(Link0,sctp_chunk_sack_4)
Send SCTP CHUNK_SACK (1, 3 and 4)
18:07:24 vSend(Link0,sctp_chunk_sack_5)
Send SCTP CHUNK_SACK (1, 3 to 4)
18:07:25 vRecv(Link0,sctp_chunk_data_6 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
18:07:25 vRecv(Link0,sctp_chunk_data_7 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (7)
18:07:25 vRecv(Link0,sctp_chunk_data_2 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)

Now the cwnd is 6000, partial_bytes_acked = 0
18:07:25 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
18:07:25 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
18:07:25 vRecv(Link0,sctp_chunk_data_1 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 18:07:25
Recv SCTP CHUNK_DATA (1)
18:07:26 vRecv(Link0,sctp_chunk_data_2 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
18:07:26 vRecv(Link0,sctp_chunk_data_3 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
18:07:26 vRecv(Link0,sctp_chunk_data_4 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
18:07:26 vRecv(Link0,sctp_chunk_data_5 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
18:07:26 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500
18:07:26 vRecv(Link0,sctp_chunk_data_6 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
18:07:27 vRecv(Link0,sctp_chunk_data_7 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (7)
18:07:27 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
18:07:27 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
18:07:27 vRecv(Link0,sctp_chunk_data_1 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
18:07:27 vRecv(Link0,sctp_chunk_data_2 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
18:07:27 vRecv(Link0,sctp_chunk_data_3 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
18:07:28 vRecv(Link0,sctp_chunk_data_4 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
18:07:28 vRecv(Link0,sctp_chunk_data_5 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
18:07:28 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1432
18:07:28 vRecv(Link0,sctp_chunk_data_6 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
18:07:28 vRecv(Link0,sctp_chunk_data_7 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 18:07:27
Recv Neighbor Solicitation on Link0 (Global)
18:07:28 vSend(Link0,na_on_link0_gl)
Send Neighbor Advertisement on Link0 (Global)
18:07:29 vRecv(Link0,sctp_chunk_data_7 ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (7)
18:07:29 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
18:07:29 vRecv(Link0,sctp_chunk_heartbeat ns_on_link0 ns_on_link0_gl) timeout:100 cntLimit:0 seektime:0
Recv SCTP CHUNK_HEARTBEAT
18:07:59 vSend(Link0,sctp_chunk_heartbeat_ack)
Send SCTP CHUNK_HEARTBEAT_ACK

Now the cwnd is 6000

================== vClose ==================
18:07:59 vSend(Link0,sctp_chunk_shutdown_snd)
Send SCTP CHUNK_SHUTDOWN
18:08:00 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:08:00 vSend(Link0,sctp_chunk_shutdown_complete_snd)
Send SCTP CHUNK_SHUTDOWN_COMPLETE

============ sctpGetRemoteStatus ===========
18:08:00 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 4177 -h 3ffe:501:ffff:100:0200:00ff:fe00:0100 -p 3177 -s -X 7 -x 3 -c 1432 -I 7 -D -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1
[root@RHEL ~]# 
[root@RHEL ~]# ~s
cu: echocheck: unknown variable (~v lists variables)

[root@RHEL ~]# 
[root@RHEL ~]# ~t
[file transfer complete]
[connected]
]# 
[root@RHEL ~]# 
[ro~.
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       47280    5         0        100     10       1432       ACTIVE       5812        706         2118       1500
3   1        ESTABLISHED       50316    3         0        100     10       1432       ACTIVE       6000        698         1818       1500
4   1        ESTABLISHED       48712    4         0        100     10       1432       ACTIVE       7500        736         1876       1500
5   1        ESTABLISHED       54784    0         0        100     10       1432       ACTIVE       6000        750         3140       1500
OK

============= sctpSetRemoteSys =============
18:08:10 vRemote(setsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//setsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST value=4''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# echo 4 > /proc/sys/net/sctp/max_burst 
[root@RHEL ~]# echo $?
0
[root@~.
Disconnected.

Set paramater MAX.BURST of Remote System to value: 4
18:08:14End

Packet Reverse Log