Serial Line Internet Protocol

The Serial Line Internet Protocol (also SLIP) is an encapsulation of the Internet Protocol designed to work over serial ports and modem connections. It is documented in RFC 1055. On personal computers, SLIP has been largely replaced by the Point-to-Point Protocol (PPP), which is better engineered, has more features and does not require its IP address configuration to be set before it is established. On microcontrollers, however, SLIP is still the preferred way of encapsulating IP packets due to its very small overhead.

Some people refer to the successful and widely used RFC 1055 Serial Line Internet Protocol as "Rick Adams' SLIP",[1] to avoid confusion with other proposed protocols named "SLIP". Those other protocols include the much more complicated RFC 914 appendix D Serial Line Interface Protocol.[1]

Description

Hex value Dec Value Oct Value Abbreviation Description
0xC0 192 300 END Frame End
0xDB 219 333 ESC Frame Escape
0xDC 220 334 ESC_END Transposed Frame End
0xDD 221 335 ESC_ESC Transposed Frame Escape

SLIP modifies a standard TCP/IP datagram by

SLIP requires a serial port configuration of 8 data bits, no parity, and either EIA hardware flow control, or CLOCAL mode (3-wire null-modem) UART operation settings.

SLIP does not provide error detection, being reliant on upper layer protocols for this. Therefore, SLIP on its own is not satisfactory over an error-prone dial-up connection. It is however still useful for testing operating systems' response capabilities under load (by looking at flood-ping statistics).

CSLIP

A version of SLIP with header compression is called Compressed SLIP (CSLIP). The compression algorithm used in CSLIP is known as Van Jacobson TCP/IP Header Compression. CSLIP has no effect on the data payload of a packet and is independent of any compression by the serial line modem used for transmission. It reduces the Transmission Control Protocol (TCP) header from twenty bytes to seven bytes. CSLIP has no effect on User Datagram Protocol (UDP) datagrams.

See also

References

  1. 1 2 RFC 1547: "Requirements for an Internet Standard Point-to-Point Protocol"
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.