slip(7tcp)


slip -- Serial Line IP (SLIP) protocol

Description

The Serial Line IP (SLIP) protocol is a very simple protocol which allows two machines to communicate via TCP/IP over a serial line. This protocol simply defines the octets necessary for framing and escaping octets in an IP packet. At the sending end, all octets in the IP packet that should be preceded by an ``escape'' character, will be ``escaped'' before sending this packet; this packet transmission will end with a FRAME_END octet. At the receiving end, the octets will be gathered and any ``escaped'' octets will be transposed (as necessary), until a FRAME_END is received for this packet; then the resulting packet will be passed up to IP.

Ioctl commands

The following ioctl calls can be used to adjust the behavior of the SLIP module. The following header file includes the definitions for these commands:
   #include <netinet/slip.h>
Please note that the S_MTU ioctl is the only ioctl call which needs a parameter value, an integer.

S_COMPRESSON
Turn on TCP/IP header compression.

S_COMPRESSOFF
Turn off TCP/IP header compression.

S_COMPRESSAON
Turn on automatic detection of TCP/IP header compression (start using compression when peer system does).

S_COMPRESSAOFF
Turn off automatic detection of TCP/IP header compression.

S_NOICMP
Do not allow ICMP packets out on the wire.

S_ICMP
Allow ICMP packets out on the wire.

S_MTU
Set the ``maximum transmission unit'' (MTU) value for this interface. This request requires an integer as a parameter value to indicate the new MTU size.

References

slattach(1Mtcp), streamio(7)

RFC 1055, RFC 1144


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004