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 possi message corruption and subsequent error recovery? rdt_send(data) SO andpkt -make_pkt (0, data,checksum) udt_send(sndpkt) (so rdt_rev(revpkt) (corrupt (revpkt)|| ISACK (revpk t, 1)) (s1) udt_send(andpkt) Wait for call O from above Wait for ACK O rdt rev( revpkt) a notcorrupt(revpkt) 4 IBACK(revpkt,1) (S5) rdt_rev(revpkt) a noteorrupt ( revpkt) iBACK (revpkt,0) (s2) RDT 2.2 sender Wait for call 1 from above Wait for ACK 1 rdt_rev(revpkt) (corrupt (revpkt)|| S4) 1SACK( revpkt,0)) udt_send(andpkt) rdt_send(dat a) (S3 sndpkt makepkt (1, data,ehecksum) udt_send(sndpkt) rdt_rev(revpkt) 66 notcorrupt (revpkt) &6 has seqo (revpkt) RO extract (revpkt, data) deliver_data (data) sndpkt=make_pkt(ACK,0, checksum) rdt_rev (revpkt) (corrupt (revpkt) || has sego(revpkt)) (R1) andpkt-nake_pkt(ACK,0,checksum) udt_send(andpkt) udt_send( sndpkt) rdt_rev (revpkt) (corrupt (revpkt)|| has seq1(revpkt )) (R3 andpkt-make_pkt Wait for O from below RDT 2.2 Wait for 1 from receiver below (ACK, 1, checksum) udt_send (andpkt) rdt_rev(revpkt) &6 notcorrupt (revpkt) &6 has seql(revpkt) R2 extract (revpkt, data) deliver_data (data) sndpkt=make_pkt(ACK,1, checksum) udt_send(andpkt)

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
**The RDT 2.2 Protocol**

The diagram illustrates the RDT 2.2 sender and receiver, with Finite State Machine (FSM) transitions labeled in red.

**Objective:** Identify which sequences of transitions could occur from an initial `rdt_send()` call at the sender, accounting for potential message corruption and subsequent error recovery.

### **RDT 2.2 Sender**

1. **State S0: "Wait for call 0 from above"**
   - **Transition to State S1:**
     - **Condition:** Call to `rdt_send(data)`
     - **Actions:** 
       - `sndpkt = make_pkt(0, data, checksum)`
       - `udt_send(sndpkt)`

2. **State S1:**
   - **Transition back to S0:**
     - **Condition:** 
       - `rdt_rcv(rcvpkt) && (corrupt(rcvpkt) || isACK(rcvpkt, 1))`
     - **Action:** `udt_send(sndpkt)`
   - **Transition to State S2:**
     - **Condition:** 
       - `rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isACK(rcvpkt, 0) ∧`

3. **State S2: "Wait for call 1 from above"**
   - **Transition to State S3:**
     - **Condition:** Call to `rdt_send(data)`
     - **Actions:** 
       - `sndpkt = make_pkt(1, data, checksum)`
       - `udt_send(sndpkt)`

4. **State S3:**
   - **Transition back to S2:**
     - **Condition:** 
       - `rdt_rcv(rcvpkt) && (corrupt(rcvpkt) || isACK(rcvpkt, 0))`
     - **Action:** `udt_send(sndpkt)`
   - **Transition to State S4:**
     - **Condition:** 
       - `rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isACK(rcvpkt, 1) ∧`

5. **State S4: "Wait for call 0 from above"**

### **RDT 2.2 Receiver**

1. **State R0: "Wait for 0 from below"**
   - **
Transcribed Image Text:**The RDT 2.2 Protocol** The diagram illustrates the RDT 2.2 sender and receiver, with Finite State Machine (FSM) transitions labeled in red. **Objective:** Identify which sequences of transitions could occur from an initial `rdt_send()` call at the sender, accounting for potential message corruption and subsequent error recovery. ### **RDT 2.2 Sender** 1. **State S0: "Wait for call 0 from above"** - **Transition to State S1:** - **Condition:** Call to `rdt_send(data)` - **Actions:** - `sndpkt = make_pkt(0, data, checksum)` - `udt_send(sndpkt)` 2. **State S1:** - **Transition back to S0:** - **Condition:** - `rdt_rcv(rcvpkt) && (corrupt(rcvpkt) || isACK(rcvpkt, 1))` - **Action:** `udt_send(sndpkt)` - **Transition to State S2:** - **Condition:** - `rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isACK(rcvpkt, 0) ∧` 3. **State S2: "Wait for call 1 from above"** - **Transition to State S3:** - **Condition:** Call to `rdt_send(data)` - **Actions:** - `sndpkt = make_pkt(1, data, checksum)` - `udt_send(sndpkt)` 4. **State S3:** - **Transition back to S2:** - **Condition:** - `rdt_rcv(rcvpkt) && (corrupt(rcvpkt) || isACK(rcvpkt, 0))` - **Action:** `udt_send(sndpkt)` - **Transition to State S4:** - **Condition:** - `rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isACK(rcvpkt, 1) ∧` 5. **State S4: "Wait for call 0 from above"** ### **RDT 2.2 Receiver** 1. **State R0: "Wait for 0 from below"** - **
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY