slip.8

来自「minix操作系统最新版本(3.1.1)的源代码」· 8 代码 · 共 83 行

8
83
字号
.TH SLIP 8.SH NAMEslip \- Serial Line IP.SH SYNOPSIS.B slip.I pseudo-ip-device.SH DESCRIPTION.de SP.if t .sp 0.4.if n .sp..The.B slipprogram implements an Internet network connection over a bidirectional 8-bittransport, usually a serial line.  The protocol used for this connection isthe Serial Line Internet Protocol, SLIP for short..PPThe.I pseudo-ip-deviceargument names one of the.B /dev/psip*devices that is offered by the MINIX 3 TCP/IP driver.BR inet (8).The.B slipprogram reads IP packets from standard input and writes them to the pseudoIP device, and reads packets from the pseudo IP device and writes them tostandard output.  A typical use is like this:.PP.RS.nf.ft B{	stty raw 115200	slip /dev/psip2 &} </dev/tty01 >/dev/tty01.ft P.fi.RE.PPThe SLIP protocol is just a very simple packet framing protocol.  It definestwo characters as markers on a byte stream to frame packets.  SLIP doesnot implement any higher level addressing, error detection, or compression.Thanks to its simplicity it can be used under MINIX 3, any other system wouldprefer to use the Point-to-Point protocol: PPP..PPThe SLIP packet framing protocol as defined in RFC-1055 is as follows:.IP "\-"Packets are delimited by an END character, octal 300.  END is often send atthe start of a packet too to reset the logic of the receiver, so that randomnoise isn't added to the beginning of a packet..IP "\-"An ESC character (octal 333) is used to escape any END or ESC charactersthat may occur in an IP packet.  END and ESC are changed to ESC 334 and ESC335 in the data stream.  (Note that END doesn't occur within the data streamat all by escaping it this way, making finding the framing END easier.).ig.PPThe manual page.BR serial-ip (8)describes how to configure the MINIX 3 network devices to be used with aserial IP connection....SH FILES.TP \w'/dev/psip*'u+5n.B /dev/psip*Pseudo-IP devices for use by.BR slip ..SH "SEE ALSO".ig.BR ppp (8)..br...BR RFC-1055 ..SH NOTESUnder MINIX 3.B slipforks in two to handle the two data streams in or out of the serial line.Under Minix-vmd it uses asynchronous I/O to handle the two streams withinone program..SH AUTHORKees J. Bot <kjb@cs.vu.nl>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?