nplab / sctp-tests

An implementation of SCTP Conformance Tests according to ETSI TS 102 369 for stt
Other
2 stars 1 forks source link

sctp-d-v-8-3 #8

Open kastiljo opened 2 years ago

kastiljo commented 2 years ago

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.

kastiljo commented 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)))