The RDT 2.2 protocol. Consider the rdt 2.2 sender and receiver below, with FSM transitions labeled in red. Which of the following sequences of transitions could possibly occur as a result of an...


The RDT 2.2 protocol. Consider the rdt 2.2 sender and receiver below, with FSM transitions labeled in red.<br>Which of the following sequences of transitions could possibly occur as a result of an initial rdt_send( call at the sender (with no messages initially in the channel) , and possible later<br>message corruption and subsequent error recovery?<br>rdt_send(data)<br>(so<br>sndpkt -make_pkt (0, data,checksum)<br>udt_send(sndpkt)<br>rdt_rev(revpkt)<br>(corrupt (revpkt)||<br>1SACK (revpkt,1))<br>(S1)<br>Wait for<br>call 0 from<br>above<br>udt_send(andpkt)<br>Wait for<br>ACK O<br>rdt_rev(revpkt)<br>6 notcorrupt(revpkt)<br>4 ISACK(revpkt, 1)<br>rdt_rev(revpkt)<br>& notcorrupt (revpkt)<br>IBACK (revpkt,0)<br>RDT 2.2 sender<br>(S5)<br>(S2)<br>Wait for<br>ACK 1<br>Wait for<br>call 1 from<br>above<br>rdt_rev(revpkt)<br>(corrupt (revpkt)||<br>ISACK ( revpkt,0))<br>S4)<br>udt_send(sndpkt)<br>rdt_send(data)<br>(S3<br>sndpkt -make_pkt (1, data,checksum)<br>udt_send(sndpkt)<br>rdt_rev(revpkt) &6 notcorrupt (revpkt)<br>66 has seq0 (rcvpkt)<br>RO<br>extract (revpkt,data)<br>deliver_data(data)<br>sndpkt=make_pkt(ACK,0, checksum)<br>udt_send( sndpkt)<br>rdt_rev (revpkt ) 4<br>(corrupt(revpkt) ||<br>has sego(revpkt))<br>R1<br>andpkt-make_pkt(ACK,0,checksum)<br>udt_send(sndpkt)<br>rdt_rev (revpkt) s6<br>(corrupt (revpkt)||<br>has_seg1(revpkt))<br>sndpkt=make_pkt<br>Wait for<br>O from<br>below<br>RDT 2.2<br>Wait for<br>1 from<br>R3<br>receiver<br>below<br>(ACK, 1, checks um)<br>udt_send (sndpkt)<br>rdt_rev (revpkt) && notcorrupt (revpkt)<br>S6 has seq1(revpkt)<br>(R2<br>extract (revpkt, data)<br>deliver_data(data)<br>sndpkt=make_pkt(ACK,1, checksum)<br>udt_send( sndpkt)<br>

Extracted text: The RDT 2.2 protocol. Consider the rdt 2.2 sender and receiver below, with FSM transitions labeled in red. Which of the following sequences of transitions could possibly occur as a result of an initial rdt_send( call at the sender (with no messages initially in the channel) , and possible later message corruption and subsequent error recovery? rdt_send(data) (so sndpkt -make_pkt (0, data,checksum) udt_send(sndpkt) rdt_rev(revpkt) (corrupt (revpkt)|| 1SACK (revpkt,1)) (S1) Wait for call 0 from above udt_send(andpkt) Wait for ACK O rdt_rev(revpkt) 6 notcorrupt(revpkt) 4 ISACK(revpkt, 1) rdt_rev(revpkt) & notcorrupt (revpkt) IBACK (revpkt,0) RDT 2.2 sender (S5) (S2) Wait for ACK 1 Wait for call 1 from above rdt_rev(revpkt) (corrupt (revpkt)|| ISACK ( revpkt,0)) S4) udt_send(sndpkt) rdt_send(data) (S3 sndpkt -make_pkt (1, data,checksum) udt_send(sndpkt) rdt_rev(revpkt) &6 notcorrupt (revpkt) 66 has seq0 (rcvpkt) RO extract (revpkt,data) deliver_data(data) sndpkt=make_pkt(ACK,0, checksum) udt_send( sndpkt) rdt_rev (revpkt ) 4 (corrupt(revpkt) || has sego(revpkt)) R1 andpkt-make_pkt(ACK,0,checksum) udt_send(sndpkt) rdt_rev (revpkt) s6 (corrupt (revpkt)|| has_seg1(revpkt)) sndpkt=make_pkt Wait for O from below RDT 2.2 Wait for 1 from R3 receiver below (ACK, 1, checks um) udt_send (sndpkt) rdt_rev (revpkt) && notcorrupt (revpkt) S6 has seq1(revpkt) (R2 extract (revpkt, data) deliver_data(data) sndpkt=make_pkt(ACK,1, checksum) udt_send( sndpkt)

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here