xref: /OK3568_Linux_fs/kernel/drivers/net/slip/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# SLIP network device configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig SLIP
7*4882a593Smuzhiyun	tristate "SLIP (serial line) support"
8*4882a593Smuzhiyun	depends on TTY
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  Say Y if you intend to use SLIP or CSLIP (compressed SLIP) to
11*4882a593Smuzhiyun	  connect to your Internet service provider or to connect to some
12*4882a593Smuzhiyun	  other local Unix box or if you want to configure your Linux box as a
13*4882a593Smuzhiyun	  Slip/CSlip server for other people to dial in. SLIP (Serial Line
14*4882a593Smuzhiyun	  Internet Protocol) is a protocol used to send Internet traffic over
15*4882a593Smuzhiyun	  serial connections such as telephone lines or null modem cables;
16*4882a593Smuzhiyun	  nowadays, the protocol PPP is more commonly used for this same
17*4882a593Smuzhiyun	  purpose.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  Normally, your access provider has to support SLIP in order for you
20*4882a593Smuzhiyun	  to be able to use it, but there is now a SLIP emulator called SLiRP
21*4882a593Smuzhiyun	  around (available from
22*4882a593Smuzhiyun	  <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
23*4882a593Smuzhiyun	  allows you to use SLIP over a regular dial up shell connection. If
24*4882a593Smuzhiyun	  you plan to use SLiRP, make sure to say Y to CSLIP, below. The
25*4882a593Smuzhiyun	  NET-3-HOWTO, available from
26*4882a593Smuzhiyun	  <http://www.tldp.org/docs.html#howto>, explains how to
27*4882a593Smuzhiyun	  configure SLIP. Note that you don't need this option if you just
28*4882a593Smuzhiyun	  want to run term (term is a program which gives you almost full
29*4882a593Smuzhiyun	  Internet connectivity if you have a regular dial up shell account on
30*4882a593Smuzhiyun	  some Internet connected Unix computer. Read
31*4882a593Smuzhiyun	  <http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html>). SLIP
32*4882a593Smuzhiyun	  support will enlarge your kernel by about 4 KB. If unsure, say N.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	  To compile this driver as a module, choose M here. The module
35*4882a593Smuzhiyun	  will be called slip.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunconfig SLHC
38*4882a593Smuzhiyun	tristate
39*4882a593Smuzhiyun	help
40*4882a593Smuzhiyun	  This option enables Van Jacobsen serial line header compression
41*4882a593Smuzhiyun	  routines.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunif SLIP
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunconfig SLIP_COMPRESSED
46*4882a593Smuzhiyun	bool "CSLIP compressed headers"
47*4882a593Smuzhiyun	depends on SLIP
48*4882a593Smuzhiyun	select SLHC
49*4882a593Smuzhiyun	help
50*4882a593Smuzhiyun	  This protocol is faster than SLIP because it uses compression on the
51*4882a593Smuzhiyun	  TCP/IP headers (not on the data itself), but it has to be supported
52*4882a593Smuzhiyun	  on both ends. Ask your access provider if you are not sure and
53*4882a593Smuzhiyun	  answer Y, just in case. You will still be able to use plain SLIP. If
54*4882a593Smuzhiyun	  you plan to use SLiRP, the SLIP emulator (available from
55*4882a593Smuzhiyun	  <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
56*4882a593Smuzhiyun	  allows you to use SLIP over a regular dial up shell connection, you
57*4882a593Smuzhiyun	  definitely want to say Y here. The NET-3-HOWTO, available from
58*4882a593Smuzhiyun	  <http://www.tldp.org/docs.html#howto>, explains how to configure
59*4882a593Smuzhiyun	  CSLIP. This won't enlarge your kernel.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyunconfig SLIP_SMART
62*4882a593Smuzhiyun	bool "Keepalive and linefill"
63*4882a593Smuzhiyun	depends on SLIP
64*4882a593Smuzhiyun	help
65*4882a593Smuzhiyun	  Adds additional capabilities to the SLIP driver to support the
66*4882a593Smuzhiyun	  RELCOM line fill and keepalive monitoring. Ideal on poor quality
67*4882a593Smuzhiyun	  analogue lines.
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunconfig SLIP_MODE_SLIP6
70*4882a593Smuzhiyun	bool "Six bit SLIP encapsulation"
71*4882a593Smuzhiyun	depends on SLIP
72*4882a593Smuzhiyun	help
73*4882a593Smuzhiyun	  Just occasionally you may need to run IP over hostile serial
74*4882a593Smuzhiyun	  networks that don't pass all control characters or are only seven
75*4882a593Smuzhiyun	  bit. Saying Y here adds an extra mode you can use with SLIP:
76*4882a593Smuzhiyun	  "slip6". In this mode, SLIP will only send normal ASCII symbols over
77*4882a593Smuzhiyun	  the serial device. Naturally, this has to be supported at the other
78*4882a593Smuzhiyun	  end of the link as well. It's good enough, for example, to run IP
79*4882a593Smuzhiyun	  over the async ports of a Camtec JNT Pad. If unsure, say N.
80*4882a593Smuzhiyun
81*4882a593Smuzhiyunendif # SLIP
82