rahul deva data link layer. the data link layer framing error control error correction error...

74
RAHUL DEVA Data Link Layer

Upload: maria-wilson

Post on 26-Dec-2015

238 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

RAHUL DEVA

Data Link Layer

Page 2: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

The Data Link Layer

Framing Error Control

Error Correction Error Detection

Flow Control Retransmission with Sliding Window Protocols Protocol Specification and Verification Example Data Link Protocols

2

Page 3: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Data Link Layer Services

Unacknowledged connectionless service Voice

Acknowledged connectionless servicewireless

Acknowledged connection-oriented service no out-of-order

3

Page 4: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Framing

To break the bit stream up into discrete frames and compute the checksum for each frame. When a frame arrives at the destination, the checksum is recomputed and validated.

One way to achieve this framing is to insert time gaps between frames. However, networks rarely make any guarantees about timing.

4

Page 5: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Error Control

Three types of frames at a receiver’s endDamaged frame: Negative

acknowledgment / retransmissionLost frame: Time-out mechanismValid frame: Sequence numbering /

discarding for valid but duplicate frames

5

Page 6: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Flow Control

A technique for assuring that a transmitting station

does not overwhelm a receiving station with data

6

Page 7: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Data Framing

Character count Starting and ending characters with character stuffing Starting and ending flags with bit stuffing Physical layer coding violations

7

Page 8: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Character Count

5 1 2 3 4 5 6 7 8 9 8 0 1 2 3 4 5 6 8 7 8 9 0 1 2 3

character count

frame 15 characters

frame 25 characters

frame 38 characters

frame 48 characters

5 1 2 3 4 7 6 7 8 9 8 0 1 2 3 4 5 6 8 7 8 9 0 1 2 3

frame 2(wrong)

frame 15 characters

one-bit error

Now a character count

Even if the checksum is incorrect so the destination knows that the frame is bad, it still has no way of telling where the next frame starts.

8

Page 9: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Starting and Ending Characters with Character Stuffing

DLE STX user data DLE ETX

beginningof frame

end offrame

DLE(0x10): Data Link EscapeSTX(0x02): Start of TeXtETX(0x03): End of TeXt

DLE STX A DLE B DLE ETX

user data 0x10

DLE STX A DLE B DLE ETX

DLE stuffed at the sender

DLE destuffed at the receiver

DLE STX A DLE DLE B DLE ETX

9

Page 10: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Starting and Ending Flags with Bit Stuffing

01111110 user data 01111110

beginningof frame

end offrame

flag

011011111111111111110010

011011111111111111110010

011011111011111011111010010

bits stuffed at the sender

bits destuffed at the receiver

original data

10

Page 11: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Introduction: Error Detection and Correction

It is physically impossible for any data recording or transmission medium to be 100% perfect over its entire expected useful life.

Noise is always present If a communications line experiences too much noise, the

signal will be lost or corrupted Communication systems should check for transmission errors Once an error is detected, a system may perform some action Some systems perform no error control, but simply let the

data in error be discarded

11

Page 12: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Noise

Also known as thermal or Gaussian noiseRelatively constant and can be reducedIf noise gets too strong, it can completely disrupt the

signal

12

Page 13: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Noise (continued)13

Page 14: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Impulse Noise

One of the most disruptive forms of noise Random spikes of power that can destroy one or more bits of

information Difficult to remove from an analog signal because it may be hard to

distinguish from the original signal Impulse noise can damage more bits if the bits are closer together

(transmitted at a faster rate)

14

The effect of impulse noise on a digital signal

Page 15: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Crosstalk

Unwanted coupling between two different signal paths For example, hearing another conversation while talking on

the telephone Relatively constant and can be reduced with proper measures

Three Telephone Circuits experiencing crosstalk

15

Page 16: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Echo

The reflective feedback of a transmitted signal as the signal moves through a medium

Most often occurs on coaxial cable If echo bad enough, it could interfere with original signalRelatively constant, and can be significantly reduced

A signal bouncing back at the end of a cable and causing echo

16

Page 17: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Jitter

The result of small timing irregularities during the transmission of digital signals

Occurs when a digital signal is repeated over and overIf serious enough, jitter forces systems to slow down their

transmissionSteps can be taken to reduce jitter

Original digital signal and digital signal with jitter

17

Page 18: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Delay Distortion

Occurs because the velocity of propagation of a signal through a medium varies with the frequency of the signal Can be reduced

18

Page 19: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Attenuation

The continuous loss of a signal’s strength as it travels through a medium

19

Page 20: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Error Prevention (continued)

Page 21: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Error Detection

Despite the best prevention techniques, errors may still happen

To detect an error, something extra has to be added to the data/signal This extra is an error detection code

Three basic techniques for detecting errors: parity checking, arithmetic checksum, and cyclic redundancy checksum

Page 22: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Parity Checks

Simple parityIf performing even parity, add a parity bit such that

an even number of 1s are maintainedIf performing odd parity, add a parity bit such that

an odd number of 1s are maintainedFor example, send 1001010 using even parityFor example, send 1001011 using even parity

22

Page 23: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Parity Checks (continued)

Simple parity (continued)What happens if the character 10010101 is sent

and the first two 0s accidentally become two 1s?Thus, the following character is received:

11110101Will there be a parity error?

Problem: Simple parity only detects odd numbers of bits in error

23

Page 24: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Parity Checks (continued)

Longitudinal parity Adds a parity bit to each character then adds

a row of parity bits after a block of charactersThe row of parity bits is actually a parity bit

for each “column” of charactersThe row of parity bits plus the column parity

bits add a great amount of redundancy to a block of characters

24

Page 25: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

25

Vertical Redundancy Check (VRC)

Append a single bit at the end of data block such that the number of ones is even Even Parity (odd parity is similar)0110011 011001100110001 01100011

VRC is also known as Parity CheckPerformance:

Detects all odd-number errors in a data block

Page 26: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

26

Longitudinal Redundancy Check (LRC)

Organize data into a table and create a parity for each column

11100111 11011101 00111001 10101001

11100111110111010011100110101001

10101010

11100111 11011101 00111001 10101001 10101010

Original Data LRC

Page 27: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Longitudinal Redundancy Check and Vertical Redundancy Check

1 0 1 1 0 1 1 11 1 0 1 0 1 1 10 0 1 1 1 0 1 01 1 1 1 0 0 0 01 0 0 0 1 0 1 10 1 0 1 1 1 1 10 1 1 1 1 1 1 0

VRC

LRC

27

Page 28: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Parity Checks (continued)

Both simple parity and longitudinal parity do not catch all errors

Simple parity only catches odd numbers of bit errorsLongitudinal parity is better at catching errors but

requires too many check bits added to a block of dataWe need a better error detection method

What about arithmetic checksum?

28

Page 29: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Modulo 2

Modulo 2 arithmetic works like clock arithmetic. In clock arithmetic, if we add 2 hours to 11:00, we get 1:00. In modulo 2 arithmetic if we add 1 to 1, we get 0. The addition

rules couldn’t be simpler:

0 + 0 = 0 0 + 1 = 1

1 + 0 = 1 1 + 1 = 0

29

Page 30: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Find the quotient and remainder when 1111101 is divided by 1101 in modulo 2 arithmetic.As with traditional

division, we note that the dividend is divisible once by the divisor.

We place the divisor under the dividend and perform modulo 2 subtraction.

30

Page 31: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Error Detection and Correction

Find the quotient and remainder when 1111101 is divided by 1101 in modulo 2 arithmetic…Now we bring down the

next bit of the dividend.We see that 00101 is not

divisible by 1101. So we place a zero in the quotient.

31

Page 32: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Error Detection and Correction

Find the quotient and remainder when 1111101 is divided by 1101 in modulo 2 arithmetic…1010 is divisible by 1101

in modulo 2.We perform the modulo 2

subtraction.

32

Page 33: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Error Detection and Correction

Find the quotient and remainder when 1111101 is divided by 1101 in modulo 2 arithmetic…

We find the quotient is 1011, and the remainder is 0010.

This procedure is very useful to us in calculating CRC syndromes.

Note: The divisor in this example corresponds to a modulo 2 polynomial: X 3 + X 2 + 1.

33

Page 34: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

Suppose we want to transmit the information string: 1111101.

The receiver and sender decide to use the (arbitrary) polynomial pattern, 1101.

The information string is shifted left by one position less than the number of positions in the divisor.

The remainder is found through modulo 2 division (at right) and added to the information string: 1111101000 + 111 = 1111101111.

34

Cyclic redundancy checking (CRC)

Page 35: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

If no bits are lost or corrupted, dividing the received information string by the agreed upon pattern will give a remainder of zero.

We see this is so in the calculation at the right.

Real applications use longer polynomials to cover larger information strings. Some of the standard poly-

nomials are listed in the text.

35

Cyclic redundancy checking (CRC)

Page 36: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

The minimum Hamming distance for a code, D(min), determines its error detecting and error correcting capability.

For any code word, X, to be interpreted as a different valid code word, Y, at least D(min) single-bit errors must occur in X.

Thus, to detect k (or fewer) single-bit errors, the code must have a Hamming distance of D(min) = k + 1.

Hamming codes36

Page 37: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

37

Flow Control and Error Control

Flow control A set of procedures that tells the sender how much data

can be sent before waiting for acknowledgment Error control

Includes both error detection and correction Allows receiver to inform sender of lost or duplicate

frames Mostly based on Automatic Repeat Request (ARQ)

Page 38: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

38

Data Link Protocols

Page 39: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

39

Protocols for Noiseless Channel

Assuming channel is error free Not realistic…

No need for error control

Page 40: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

40

"Simplest" Mechanism

Assuming Noiseless channel Unlimited buffer and speed for the receiver

Page 41: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

41

"Simplest" : Pseudo Code

Sender

Receiver

Page 42: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

42

"Simplest": Flow Diagram

Page 43: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

43

Stop-and-Wait Mechanism

Still noiseless channel Receiver has limited buffer

Requires flow control Sender sends one frame at a time and wait for an

acknowledgment

Page 44: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

44

Stop-and-Wait: Overview

Page 45: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

45

Stop-and-Wait: Pseudo Code

Sender side

Page 46: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

46

Stop-and-Wait: Pseudo Code

Receiver side

Page 47: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

47

Stop-and-Wait: Flow Diagram

Page 48: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

48

Noisy Channel

Realistic Error can and will happen Require error control

Mechanisms: Stop-and-Wait ARQ Go-Back-N ARQ Selective Repeat ARQ

Page 49: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

49

Stop-and-Wait ARQ

Sender keeps a copy of sent frame until successful delivery is ensured

Receiver responds with an ack when it successfully receives a frame

Both data and ack frames must be numbered.

(For identification purpose, both data frames and ACK frames are numbered alternately 0 and 1.)

When sender does not receive an ack within certain time, it assumes frame is lost, then retransmits the same frame.

Page 50: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

50

Stop-and-Wait ARQ

Page 51: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

51

Flow Diagram: Normal Operation

Time

Sender Receiver

Time

Frame 0

ACK 1

Frame 1

ACK 0

S = 0

S = 1

R = 0

R = 1

R = 0

Deliver

Deliver

Page 52: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

52

Thinking Corner

Why data frames need to be numbered?

Page 53: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

53

Flow Diagram: Lost Frame

Time

Sender Receiver

Time

Frame 0

ACK 1

Frame 1

ACK 0

S = 0 R = 0

R = 1

R = 0

S = 1

Timeout

Frame 1

Deliver

Deliver

Page 54: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

54

Flow Diagram: Lost ACK

Time

Sender Receiver

Time

Frame 0

ACK 1

Frame 1

ACK 0

S = 0 R = 0

R = 1

R = 0

Frame 1S = 1

Timeout

ACK 0

S = 1

S = 0

R = 0Frame 0 expected;

discard

Deliver

Deliver

Page 55: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

55

Flow Diagram: Delayed ACK

Sender Receiver

Frame 0

ACK 1

ACK 0

S = 0 R = 0

R = 1

R = 0

Frame 0Timeout

S = 1

S = 0

R = 1

Frame 0 expected; discard

Deliver

ACK 1Frame 1

Timeout Frame 1

Deliver

Page 56: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

56

Bidirectional Transmission

Data are transferred both ways ACK are "piggybacked" with data frames

Page 57: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

57

Improving Link Utilization

Previous example demonstrates major disadvantage of Stop-and-Wait ARQ

Prefer to send more frames before waiting for ACK Example:

Recalculate the link utilization if we allow up to 15 frames to be sent before waiting for an ACK

Page 58: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

58

Go-Back-N ARQ

Allows multiple frames to be sent before waiting for ACK These frames must be numbered differently Frame numbers are called Sequence numbers

Frames must be received in the correct order If a frame is lost, the lost frame and all of the

following frames must be retransmitted

Page 59: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

59

Sequence Numbers

Frame header contains m bits for sequence number That allows up to 2m different frame numbers How big should m be?

Page 60: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

60

Sending Window

Sending more than one frame at once requires sender to buffer multiple frames Known as "sending window" Any of these frames in the window can be lost

Page 61: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

61

"Sliding" Window

Once the first frames in the window is ACKed ACKed frames are removed from the buffer More frames are transmitted Result: The window slides to the right

Page 62: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

62

Receiving Window

Receiver expects one frame at a time

Page 63: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

63

Send vs. Receive Windows

Page 64: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

64

Go-Back-N: Window Sizes

For m-bit sequence numbers Send window size: at most 2m-1

Up to 2m-1 frames can be sent without ACK Receive window size: 1

Frames must be received in order

Page 65: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

65

Go-Back-N: Normal Operation

Page 66: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

66

Go-Back-N: Lost Frame

ACKs are cumulative

Page 67: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

67

Lost ACK: Window Size < 2m

Page 68: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

68

Lost ACK: Window Size = 2m

Page 69: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

69

Selective Repeat ARQ

Go-Back-N always discards out-of-order frames Losing one frame may result in

retransmission of multiple frames Very inefficient in noisy link

Selective Repeat ARQ allows frames to be received out of order Therefore, receive window > 1

Page 70: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

70

Send and Receive Windows

Sender and receiver share window space equally

For m-bit sequence numbers Send window: up to 2m-1

Receive window: up to 2m-1

Page 71: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

71

Send Window

Page 72: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

72

Receive Window

Page 73: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

73

Negative ACK

Used by receiver to indicate missing frame

Page 74: RAHUL DEVA Data Link Layer. The Data Link Layer  Framing  Error Control  Error Correction  Error Detection  Flow Control  Retransmission with Sliding

74

Selective Repeat: Window Size