Data Link Layer Design Issues
Data Link Layer Design Issues
Chapter 3
1
29/09/2020
2
29/09/2020
Framing
3
29/09/2020
Framing (2)
Framing (3)
Bit stuffing
(a) The original data.
(b) The data as they appear on the line.
(c) The data as they are stored in receiver’s memory after destuffing.
4
29/09/2020
• Error-Correcting Codes
• Error-Detecting Codes
Error-Correcting Codes
5
29/09/2020
Error-Detecting Codes
6
29/09/2020
Protocol Definitions
Continued
Protocol
Definitions
(ctd.)
Some definitions
needed in the
protocols to follow.
These are located in
the file protocol.h.
7
29/09/2020
Unrestricted
Simplex
Protocol
Simplex
Stop-and-
Wait
Protocol
8
29/09/2020
A positive
acknowledgement
with retransmission
protocol.
Continued
9
29/09/2020
10
29/09/2020
Continued
11
29/09/2020
12
29/09/2020
Sliding
Window
Protocol
Using Go
Back N
Continued
Continued
13
29/09/2020
Continued
14
29/09/2020
Continued
15
29/09/2020
Continued
Continued
16
29/09/2020
17