Open kastiljo opened 2 years ago
Probably this should be the last part of test:
(let ((sack (vector-ref (cadr (sctp-receive-chunk sack-chunk?)) 0))) (sctp-send header (vector (make-abort-chunk #f)) peer-addr) (if (= (get-cumulative-tsn-ack sack) (+mod32 local-tsn 2)) stt-test-result-passed stt-test-result-failed))))
instead of
(let* ((result (sctp-receive-chunk data-chunk?)) (data-chunk (vector-find (cadr result) data-chunk?))) (sctp-send header (vector (make-abort-chunk #f)) peer-addr) stt-test-result-passed)))
Why result is expecting data chunk? From standard: "Ensure that the IUT is able receive segmented data." So SACK with Cumulative TSN Ack field should be enough.