162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# SLIP network device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig SLIP
762306a36Sopenharmony_ci	tristate "SLIP (serial line) support"
862306a36Sopenharmony_ci	depends on TTY
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  Say Y if you intend to use SLIP or CSLIP (compressed SLIP) to
1162306a36Sopenharmony_ci	  connect to your Internet service provider or to connect to some
1262306a36Sopenharmony_ci	  other local Unix box or if you want to configure your Linux box as a
1362306a36Sopenharmony_ci	  Slip/CSlip server for other people to dial in. SLIP (Serial Line
1462306a36Sopenharmony_ci	  Internet Protocol) is a protocol used to send Internet traffic over
1562306a36Sopenharmony_ci	  serial connections such as telephone lines or null modem cables;
1662306a36Sopenharmony_ci	  nowadays, the protocol PPP is more commonly used for this same
1762306a36Sopenharmony_ci	  purpose.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  Normally, your access provider has to support SLIP in order for you
2062306a36Sopenharmony_ci	  to be able to use it, but there is now a SLIP emulator called SLiRP
2162306a36Sopenharmony_ci	  around (available from
2262306a36Sopenharmony_ci	  <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
2362306a36Sopenharmony_ci	  allows you to use SLIP over a regular dial up shell connection. If
2462306a36Sopenharmony_ci	  you plan to use SLiRP, make sure to say Y to CSLIP, below. The
2562306a36Sopenharmony_ci	  NET-3-HOWTO, available from
2662306a36Sopenharmony_ci	  <http://www.tldp.org/docs.html#howto>, explains how to
2762306a36Sopenharmony_ci	  configure SLIP. Note that you don't need this option if you just
2862306a36Sopenharmony_ci	  want to run term (term is a program which gives you almost full
2962306a36Sopenharmony_ci	  Internet connectivity if you have a regular dial up shell account on
3062306a36Sopenharmony_ci	  some Internet connected Unix computer. Read
3162306a36Sopenharmony_ci	  <http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html>). SLIP
3262306a36Sopenharmony_ci	  support will enlarge your kernel by about 4 KB. If unsure, say N.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
3562306a36Sopenharmony_ci	  will be called slip.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig SLHC
3862306a36Sopenharmony_ci	tristate
3962306a36Sopenharmony_ci	help
4062306a36Sopenharmony_ci	  This option enables Van Jacobsen serial line header compression
4162306a36Sopenharmony_ci	  routines.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciif SLIP
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig SLIP_COMPRESSED
4662306a36Sopenharmony_ci	bool "CSLIP compressed headers"
4762306a36Sopenharmony_ci	depends on SLIP
4862306a36Sopenharmony_ci	select SLHC
4962306a36Sopenharmony_ci	help
5062306a36Sopenharmony_ci	  This protocol is faster than SLIP because it uses compression on the
5162306a36Sopenharmony_ci	  TCP/IP headers (not on the data itself), but it has to be supported
5262306a36Sopenharmony_ci	  on both ends. Ask your access provider if you are not sure and
5362306a36Sopenharmony_ci	  answer Y, just in case. You will still be able to use plain SLIP. If
5462306a36Sopenharmony_ci	  you plan to use SLiRP, the SLIP emulator (available from
5562306a36Sopenharmony_ci	  <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
5662306a36Sopenharmony_ci	  allows you to use SLIP over a regular dial up shell connection, you
5762306a36Sopenharmony_ci	  definitely want to say Y here. The NET-3-HOWTO, available from
5862306a36Sopenharmony_ci	  <http://www.tldp.org/docs.html#howto>, explains how to configure
5962306a36Sopenharmony_ci	  CSLIP. This won't enlarge your kernel.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ciconfig SLIP_SMART
6262306a36Sopenharmony_ci	bool "Keepalive and linefill"
6362306a36Sopenharmony_ci	depends on SLIP
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Adds additional capabilities to the SLIP driver to support the
6662306a36Sopenharmony_ci	  RELCOM line fill and keepalive monitoring. Ideal on poor quality
6762306a36Sopenharmony_ci	  analogue lines.
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciconfig SLIP_MODE_SLIP6
7062306a36Sopenharmony_ci	bool "Six bit SLIP encapsulation"
7162306a36Sopenharmony_ci	depends on SLIP
7262306a36Sopenharmony_ci	help
7362306a36Sopenharmony_ci	  Just occasionally you may need to run IP over hostile serial
7462306a36Sopenharmony_ci	  networks that don't pass all control characters or are only seven
7562306a36Sopenharmony_ci	  bit. Saying Y here adds an extra mode you can use with SLIP:
7662306a36Sopenharmony_ci	  "slip6". In this mode, SLIP will only send normal ASCII symbols over
7762306a36Sopenharmony_ci	  the serial device. Naturally, this has to be supported at the other
7862306a36Sopenharmony_ci	  end of the link as well. It's good enough, for example, to run IP
7962306a36Sopenharmony_ci	  over the async ports of a Camtec JNT Pad. If unsure, say N.
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciendif # SLIP
82