SlideShare une entreprise Scribd logo
1  sur  12
HDLC Frame
Structure
(HIGH LEVEL DATA LINK CONTROL)
INTRODUCTION:
 HDLC is a bit oriented code transparent Synchronous data
link layer protocol.
 It is developed by International Standard Organization
(ISO).
 Current standard for HDLC is ISO 13239.
 It provides both connection-oriented and connectionless
service .
 In HDLC, data is organized into a unit (called a frame) and
sent across a network to a destination that verifies its
successful arrival.
contd.
 The HDLC protocol embeds information in a data frame that allows devices
to control data flow and correct errors.
 HDLC supports both half-duplex and full-duplex communication over
point to point & multipoint link.
HDLC FRAME STRUCTURE
Flag Address Control Information FCS Flag
8 bits 8 or more bits 8 or 16 bits
Variable length, n
* 8 bits
16 or 32 bits 8 bits
Flag Address Control Information FCS Flag
8 bits 8 or more bits 8 or 16 bits
Variable length, n
* 8 bits
16 or 32 bits 8 bits
Flag Address Control Information FCS Flag
8 bits 8 or more bits 8 or 16 bits
Variable length, n
* 8 bits
16 or 32 bits 8 bits
HDLC FRAME FORMAT
 Flag : 01111110 -indicates start and ending of frames.
 FCS (Frame Check Sequence) : 16-bit CRC using generating polynomial
 G(x) =x 16 + x 12+ x 5 + 1
 Address Field:
➢ When a primary station is sending a frame, the field contains the
receiver identity.
➢ If a secondary station is sending the frame, the address field contains
the sender identity.
➢ In some cases, it contains a group or broadcast address.
Frame Types
● There are three different classes of frames used in HDLC
➢ Unnumbered frames, used in link setup and
disconnection, and hence do not contain ACK.
➢ Information frames, which carry actual information.
Such frames can piggyback ACK in case of ABM.
➢ Supervisory frames, which are used for error and flow
control purposes and hence contain send and receive
sequence numbers.
HDLC CONTROL FIELDS
CONTROL FIELDS
 In I-frames, N(s) is the sequence number of the frame being sent.
 N(r) is the sequence number of the frame being expected.
 The P/F bit, known as the poll/final bit, is used with
different meaning in different contexts.
➢ It is used to indicate polling, to indicate the final I- frame,
etc
3 DIFFERENT CLASSES OF
FRAMES
 Information frames, or I-frames, transport user data from the network
layer. In addition they can also include flow and error control
information piggybacked on data.
 Unnumbered frames, or U-frames, are used for various miscellaneous
purposes, including link management. Some U-frames contain an
information field, depending on the type.
 Supervisory Frames, or S-frames, are used for flow and error control
whenever piggybacking is impossible or inappropriate, such as when
a station does not have data to send. S-frames do not have
information fields.
contd.
 There are four different supervisory frames
➢ SS=00, Receiver Ready (RR), N(R),ACKs all frames received up to and including the one
with sequence number N(R) - 1.
➢ SS=10, Receiver Not Ready (RNR), and N(R) has the same meaning as above
➢ SS=01, Reject; all frames with sequence number N(R) or higher are rejected, which
in turns ACKs frames with sequence number N(R) -1 or lower.
➢ SS=11, Selective Reject; the receive rejects the frame with sequence number N(R)
contd.
 The unnumbered frames can be grouped into the following categories:
➢ Mode-setting commands and responses
➢ Recovery commands and responses
➢ Miscellaneous commands and responses
Hdlc

Contenu connexe

Tendances

HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
Anand Biradar
 
Data Link Control Protocols
Data Link Control ProtocolsData Link Control Protocols
Data Link Control Protocols
TechiNerd
 
New framing-protocols
New framing-protocolsNew framing-protocols
New framing-protocols
Nitesh Singh
 

Tendances (19)

Hdlc
HdlcHdlc
Hdlc
 
HDLC
HDLC HDLC
HDLC
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
 
HDLC, PPP and SLIP
HDLC, PPP and SLIPHDLC, PPP and SLIP
HDLC, PPP and SLIP
 
Hdlc
HdlcHdlc
Hdlc
 
HDLC and Point to point protocol
HDLC and Point to point protocolHDLC and Point to point protocol
HDLC and Point to point protocol
 
High level data link control
High level data link controlHigh level data link control
High level data link control
 
Data link control protocol(3)
Data link control protocol(3)Data link control protocol(3)
Data link control protocol(3)
 
Design and Implementation of HDLC Controller by Using Crc-16
Design and Implementation of HDLC Controller by Using Crc-16Design and Implementation of HDLC Controller by Using Crc-16
Design and Implementation of HDLC Controller by Using Crc-16
 
Ppp
PppPpp
Ppp
 
Data Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLCData Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLC
 
Data Link Control Protocols
Data Link Control ProtocolsData Link Control Protocols
Data Link Control Protocols
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
interface
interfaceinterface
interface
 
New framing-protocols
New framing-protocolsNew framing-protocols
New framing-protocols
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
 
Verilog HDL Verification
Verilog HDL VerificationVerilog HDL Verification
Verilog HDL Verification
 
Framing
FramingFraming
Framing
 
Different protocols for data communication networks
Different protocols for data communication networks Different protocols for data communication networks
Different protocols for data communication networks
 

Similaire à Hdlc

Design and implementation of hdlc procedures
Design and implementation of hdlc proceduresDesign and implementation of hdlc procedures
Design and implementation of hdlc procedures
saraswathi velpula
 
Iaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilogIaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilog
Iaetsd Iaetsd
 
unit2-210710110327.pdf
unit2-210710110327.pdfunit2-210710110327.pdf
unit2-210710110327.pdf
ssuser3aa461
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
High level data link control and point to point protocol
High level data link control and point to point protocolHigh level data link control and point to point protocol
High level data link control and point to point protocol
sandhyakiran10
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
Anitha Selvan
 
Fpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiverFpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiver
iaemedu
 

Similaire à Hdlc (20)

Data Link Control
Data Link ControlData Link Control
Data Link Control
 
Design and implementation of hdlc procedures
Design and implementation of hdlc proceduresDesign and implementation of hdlc procedures
Design and implementation of hdlc procedures
 
DLL Protocol.pptx
DLL Protocol.pptxDLL Protocol.pptx
DLL Protocol.pptx
 
Iaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilogIaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilog
 
HDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdfHDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdf
 
Can Protocol For Automobiles
Can Protocol For AutomobilesCan Protocol For Automobiles
Can Protocol For Automobiles
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
unit2-210710110327.pdf
unit2-210710110327.pdfunit2-210710110327.pdf
unit2-210710110327.pdf
 
Unit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part AUnit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part A
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
CN UNIT II.pptx
CN UNIT II.pptxCN UNIT II.pptx
CN UNIT II.pptx
 
Computer networks high speed swan,atm,frame realy
Computer networks high speed swan,atm,frame realyComputer networks high speed swan,atm,frame realy
Computer networks high speed swan,atm,frame realy
 
High level data link control and point to point protocol
High level data link control and point to point protocolHigh level data link control and point to point protocol
High level data link control and point to point protocol
 
Communication Protocols Augmentation in VLSI Design Applications
Communication Protocols Augmentation in VLSI Design ApplicationsCommunication Protocols Augmentation in VLSI Design Applications
Communication Protocols Augmentation in VLSI Design Applications
 
CCNA CHAPTER 9 BY jetarvind kumar madhukar
CCNA CHAPTER 9 BY jetarvind kumar madhukarCCNA CHAPTER 9 BY jetarvind kumar madhukar
CCNA CHAPTER 9 BY jetarvind kumar madhukar
 
Computer Networks Notes Complete Syllabus
Computer Networks Notes Complete SyllabusComputer Networks Notes Complete Syllabus
Computer Networks Notes Complete Syllabus
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
 
Bt0072 computer networks 1
Bt0072 computer networks  1Bt0072 computer networks  1
Bt0072 computer networks 1
 
High speed Networking
High speed NetworkingHigh speed Networking
High speed Networking
 
Fpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiverFpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiver
 

Dernier

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Dernier (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 

Hdlc

  • 1. HDLC Frame Structure (HIGH LEVEL DATA LINK CONTROL)
  • 2. INTRODUCTION:  HDLC is a bit oriented code transparent Synchronous data link layer protocol.  It is developed by International Standard Organization (ISO).  Current standard for HDLC is ISO 13239.  It provides both connection-oriented and connectionless service .  In HDLC, data is organized into a unit (called a frame) and sent across a network to a destination that verifies its successful arrival.
  • 3. contd.  The HDLC protocol embeds information in a data frame that allows devices to control data flow and correct errors.  HDLC supports both half-duplex and full-duplex communication over point to point & multipoint link.
  • 4. HDLC FRAME STRUCTURE Flag Address Control Information FCS Flag 8 bits 8 or more bits 8 or 16 bits Variable length, n * 8 bits 16 or 32 bits 8 bits Flag Address Control Information FCS Flag 8 bits 8 or more bits 8 or 16 bits Variable length, n * 8 bits 16 or 32 bits 8 bits Flag Address Control Information FCS Flag 8 bits 8 or more bits 8 or 16 bits Variable length, n * 8 bits 16 or 32 bits 8 bits
  • 5. HDLC FRAME FORMAT  Flag : 01111110 -indicates start and ending of frames.  FCS (Frame Check Sequence) : 16-bit CRC using generating polynomial  G(x) =x 16 + x 12+ x 5 + 1  Address Field: ➢ When a primary station is sending a frame, the field contains the receiver identity. ➢ If a secondary station is sending the frame, the address field contains the sender identity. ➢ In some cases, it contains a group or broadcast address.
  • 6. Frame Types ● There are three different classes of frames used in HDLC ➢ Unnumbered frames, used in link setup and disconnection, and hence do not contain ACK. ➢ Information frames, which carry actual information. Such frames can piggyback ACK in case of ABM. ➢ Supervisory frames, which are used for error and flow control purposes and hence contain send and receive sequence numbers.
  • 8. CONTROL FIELDS  In I-frames, N(s) is the sequence number of the frame being sent.  N(r) is the sequence number of the frame being expected.  The P/F bit, known as the poll/final bit, is used with different meaning in different contexts. ➢ It is used to indicate polling, to indicate the final I- frame, etc
  • 9. 3 DIFFERENT CLASSES OF FRAMES  Information frames, or I-frames, transport user data from the network layer. In addition they can also include flow and error control information piggybacked on data.  Unnumbered frames, or U-frames, are used for various miscellaneous purposes, including link management. Some U-frames contain an information field, depending on the type.  Supervisory Frames, or S-frames, are used for flow and error control whenever piggybacking is impossible or inappropriate, such as when a station does not have data to send. S-frames do not have information fields.
  • 10. contd.  There are four different supervisory frames ➢ SS=00, Receiver Ready (RR), N(R),ACKs all frames received up to and including the one with sequence number N(R) - 1. ➢ SS=10, Receiver Not Ready (RNR), and N(R) has the same meaning as above ➢ SS=01, Reject; all frames with sequence number N(R) or higher are rejected, which in turns ACKs frames with sequence number N(R) -1 or lower. ➢ SS=11, Selective Reject; the receive rejects the frame with sequence number N(R)
  • 11. contd.  The unnumbered frames can be grouped into the following categories: ➢ Mode-setting commands and responses ➢ Recovery commands and responses ➢ Miscellaneous commands and responses