wenquan2015 opened a new pull request, #17691:
URL: https://github.com/apache/nuttx/pull/17691

   
   ## Summary
   Check tcp header sndseq and ackseq according to RFC 793.
   
   ## Impact
   tcp
   
   ## Testing
   enable iperf,check iperf test ok
   ···
   nsh> iperf -c 10.0.1.1 -p 5000
        IP: 10.0.1.2
   
    mode=tcp-client sip=10.0.1.2:5001,dip=10.0.1.1:5000, interval=3, time=30
   
              Interval         Transfer         Bandwidth
   
      0.00-  14.95 sec  771506176 Bytes  412.85 Mbits/sec
     14.95-  22.38 sec  383320064 Bytes  412.73 Mbits/sec
     22.38-  74.93 sec 2801467392 Bytes  426.48 Mbits/sec
      0.00-  74.93 sec 8211726336 Bytes  876.74 Mbits/sec
   iperf exit
   nsh> iperf -s -p 5000
        IP: 10.0.1.2
   
    mode=tcp-server sip=10.0.1.2:5000,dip=0.0.0.0:5001, interval=3, time=0
   accept: 10.0.1.1:34522
   
              Interval         Transfer         Bandwidth
   
      0.00-   3.24 sec  234598764 Bytes  579.26 Mbits/sec
   closed by the peer: 10.0.1.1:34522
   iperf exit
      3.24-  10.00 sec  581848784 Bytes  688.58 Mbits/sec
      0.00-  10.00 sec  816447548 Bytes  653.16 Mbits/sec
   nsh>
   
   ···
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to