sctpTestRto.pkt 1.1 KB

123456789101112131415161718
  1. +0 socket(..., SOCK_STREAM, IPPROTO_SCTP) = 3
  2. +0 setsockopt(3, IPPROTO_SCTP, SCTP_RTOINFO, {srto_initial=100, srto_max=200, srto_min=50}, 16) = 0
  3. +0 connect(3, ..., ...) = -1 EINPROGRESS (Operation now in progress)
  4. +0 > sctp: INIT[flgs=0, tag=..., a_rwnd=..., os=2048, is=10, tsn=0, ...]
  5. +0.05 < sctp: INIT_ACK[flgs=0, tag=22, a_rwnd=100000, os=2048, is=10, tsn=0, STATE_COOKIE[len=4, val=...]]
  6. +0 > sctp: COOKIE_ECHO[flgs=0, len=4, val=...]
  7. +0.05 < sctp: COOKIE_ACK[flgs=0]
  8. +0.25 write(3, ..., 1000) = 1000
  9. +0.00 > sctp: DATA[flgs=BE, len=1016, tsn=0, sid=0, ssn=0, ppid=0] // Other flags allowed: IU
  10. +0.05 < sctp: SACK[flgs=0, cum_tsn=0, a_rwnd=100000, gaps=[], dups=[]]
  11. +0.25 write(3, ..., 1000) = 1000
  12. +0.00 > sctp: DATA[flgs=BE, len=1016, tsn=1, sid=1, ssn=0, ppid=0]
  13. +0.05 ~ +0.15 > sctp: DATA[flgs=BE, len=1016, tsn=1, sid=1, ssn=0, ppid=0]
  14. +0 < sctp: SACK[flgs=0, cum_tsn=1, a_rwnd=100000, gaps=[], dups=[1 : 1]]
  15. +0.25 close(3) = 0
  16. +0 > sctp: SHUTDOWN[flgs=0, cum_tsn=...]
  17. +0.05 < sctp: SHUTDOWN_ACK[flgs=0]
  18. +0 > sctp: SHUTDOWN_COMPLETE[flgs=0] // Other flags allowed: T, Is SHUTDOWN_COMPLETE[] allowed?