Link Control Protocol
From Wikipedia, the free encyclopedia
In computing, the Link Control Protocol (LCP) forms part of the PPP. In setting up PPP communications, both the sending and receiving devices send out LCP packets to determine specific information that the prospective data transmission will require. The LCP protocol:
- checks the identity of the linked device and either accepts or rejects the peer device
- determines the acceptable packet size for transmission
- searches for errors in configuration
- can terminate the link if requirements exceed the parameters
Devices cannot use PPP to transmit data over a network until the LCP packet determines the acceptability of the link, but LCP packets are embedded into PPP packets and therefore a basic PPP connection has to be established before LCP can reconfigure it. The LCP over PPP packets have control code 0xC021 and their info field contains the LCP packet, which has four fields. (Code, Id, Length, Data)
- Code: Operation requested: configure link, terminate link, ... and acknowledge and deny codes.
- data: Parameters for the operation