Logical Link Control (LLC) is a sublayer that generally provides the logic for the data link as it controls the synchronization, multiplexing, flow control, and even error-checking functions of DLL (Data Link Layer). DLL is provided into two sublayers i.e. LLC sublayer and MAC (Medium Access Control) sublayer.
The basic model of LLC protocols is modeled after the HDLC (High-Level Data Link Control). These protocols are unacknowledged connectionless service, Connection-oriented service, and acknowledged connectionless service. All of these protocols use the same PDU (Protocol Data Unit) format as shown –
This PDU format basically contains 4 different fields given below –
- Destination Service Access Point (DSAP) Field –
DSAP is generally an 8-bit long field that is used to represent the logical addresses of the network layer entity meant to receive the message. It indicates whether this is an individual or group address.
- Source Service Access Point (SSAP) Field –
SSAP is also an 8-bit long field that is used to represent the logical addresses of the network layer entity meant to create a message. It indicates whether this is a command or response PDU. It simply identifies the SAP that has started the PDU.
- Information Field –
This field generally includes data or information.
- Control Field –
This field identifies and determines the specific PDU and also specifies various control functions. It is an 8 or 16-bit long field, usually depending on the identity of the PDU. It is used for flow and error control. There are basically three types of PDU. Each PDU has a different control field format. These are given below –
- Information (I) –
It generally includes 7-bit sequence number (N(S)) and also a piggybacked sequence number (N(R)). It is used to carry data or information.
- Supervisory (S) –
It generally includes an acknowledgment sequence number (N(R)) and also a 2-bit S field for three different PDU formats i.e. RNR (Receive Not Ready), RR (Receive Ready), and REJ (Reject). It is generally used for flow and error control.
- Unnumbered (U) –
It is generally a 5-bit M bit that is used to indicate the type of PDU. It is used for various protocol PDUs.
- Information (I) –
Some functions of LLC Sublayer are –
- It is responsible to manage and to ensure the integrity of data transmissions.
- They provide the logic for the data link.
- It also controls the synchronization, multiplexing, error checking or correcting functions, flow control of the DLL.
- It also allows multipoint communication over a range of computer networks.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
- Difference Between High-level Data Link Control (HDLC) and Point-to-Point Protocol (PPP)
- Synchronous Data Link Control (SDLC) Loop Operation
- High-Level Data Link Control (HDLC) Encapsulation
- Error Control in Data Link Layer
- Flow Control in Data Link Layer
- Types of Services provided by LLC
- Logical Unit Number (LUN) Masking
- Optimized Link State Routing Protocol
- Link Access Protocol D-channel (LAPD)
- Hot Standby Router Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP)
- Difference between Stop and Wait protocol and Sliding Window protocol
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
- Difference between Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)
- Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)
- Internet Control Message Protocol (ICMP)
- Real-time Transport Control Protocol (RTCP)
- Bandwidth Allocation Control Protocol (BACP)
- Difference between Flow Control and Congestion Control
- Difference between Flow Control and Error Control
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.