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