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