brintos

brintos / linux-shallow public Read only

0
0
Text · 6.9 KiB · 8c9ed18 Raw
213 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# PPP network device configuration4#5 6config PPP7	tristate "PPP (point-to-point protocol) support"8	select SLHC9	help10	  PPP (Point to Point Protocol) is a newer and better SLIP.  It serves11	  the same purpose: sending Internet traffic over telephone (and other12	  serial) lines.  Ask your access provider if they support it, because13	  otherwise you can't use it; most Internet access providers these14	  days support PPP rather than SLIP.15 16	  To use PPP, you need an additional program called pppd as described17	  in the PPP-HOWTO, available at18	  <http://www.tldp.org/docs.html#howto>.  Make sure that you have19	  the version of pppd recommended in <file:Documentation/Changes>.20	  The PPP option enlarges your kernel by about 16 KB.21 22	  There are actually two versions of PPP: the traditional PPP for23	  asynchronous lines, such as regular analog phone lines, and24	  synchronous PPP which can be used over digital ISDN lines for25	  example.  If you want to use PPP over phone lines or other26	  asynchronous serial lines, you need to say Y (or M) here and also to27	  the next option, "PPP support for async serial ports".  For PPP over28	  synchronous lines, you should say Y (or M) here and to "Support29	  synchronous PPP", below.30 31	  If you said Y to "Version information on all symbols" above, then32	  you cannot compile the PPP driver into the kernel; you can then only33	  compile it as a module. To compile this driver as a module, choose M34	  here. The module will be called ppp_generic.35 36if PPP37 38config PPP_BSDCOMP39	tristate "PPP BSD-Compress compression"40	depends on PPP41	help42	  Support for the BSD-Compress compression method for PPP, which uses43	  the LZW compression method to compress each PPP packet before it is44	  sent over the wire. The machine at the other end of the PPP link45	  (usually your ISP) has to support the BSD-Compress compression46	  method as well for this to be useful. Even if they don't support it,47	  it is safe to say Y here.48 49	  The PPP Deflate compression method ("PPP Deflate compression",50	  above) is preferable to BSD-Compress, because it compresses better51	  and is patent-free.52 53	  Note that the BSD compression code will always be compiled as a54	  module; it is called bsd_comp and will show up in the directory55	  modules once you have said "make modules". If unsure, say N.56 57config PPP_DEFLATE58	tristate "PPP Deflate compression"59	depends on PPP60	select ZLIB_INFLATE61	select ZLIB_DEFLATE62	help63	  Support for the Deflate compression method for PPP, which uses the64	  Deflate algorithm (the same algorithm that gzip uses) to compress65	  each PPP packet before it is sent over the wire.  The machine at the66	  other end of the PPP link (usually your ISP) has to support the67	  Deflate compression method as well for this to be useful.  Even if68	  they don't support it, it is safe to say Y here.69 70	  To compile this driver as a module, choose M here.71 72config PPP_FILTER73	bool "PPP filtering"74	depends on PPP75	help76	  Say Y here if you want to be able to filter the packets passing over77	  PPP interfaces.  This allows you to control which packets count as78	  activity (i.e. which packets will reset the idle timer or bring up79	  a demand-dialed link) and which packets are to be dropped entirely.80	  You need to say Y here if you wish to use the pass-filter and81	  active-filter options to pppd.82 83	  If unsure, say N.84 85config PPP_MPPE86	tristate "PPP MPPE compression (encryption)"87	depends on PPP88	select CRYPTO89	select CRYPTO_SHA190	select CRYPTO_LIB_ARC491	help92	  Support for the MPPE Encryption protocol, as employed by the93	  Microsoft Point-to-Point Tunneling Protocol.94 95	  See http://pptpclient.sourceforge.net/ for information on96	  configuring PPTP clients and servers to utilize this method.97 98config PPP_MULTILINK99	bool "PPP multilink support"100	depends on PPP101	help102	  PPP multilink is a protocol (defined in RFC 1990) which allows you103	  to combine several (logical or physical) lines into one logical PPP104	  connection, so that you can utilize your full bandwidth.105 106	  This has to be supported at the other end as well and you need a107	  version of the pppd daemon which understands the multilink protocol.108 109	  If unsure, say N.110 111config PPPOATM112	tristate "PPP over ATM"113	depends on ATM && PPP114	help115	  Support PPP (Point to Point Protocol) encapsulated in ATM frames.116	  This implementation does not yet comply with section 8 of RFC2364,117	  which can lead to bad results if the ATM peer loses state and118	  changes its encapsulation unilaterally.119 120config PPPOE121	tristate "PPP over Ethernet"122	depends on PPP123	help124	  Support for PPP over Ethernet.125 126	  This driver requires the latest version of pppd from the CVS127	  repository at cvs.samba.org.  Alternatively, see the128	  RoaringPenguin package (<http://www.roaringpenguin.com/pppoe>)129	  which contains instruction on how to use this driver (under130	  the heading "Kernel mode PPPoE").131 132choice133	prompt "Number of PPPoE hash bits"134	default PPPOE_HASH_BITS_4135	depends on PPPOE136	help137		Select the number of bits used for hashing PPPoE interfaces.138 139		Larger sizes reduces the risk of hash collisions at the cost140		of slightly increased memory usage.141 142		This hash table is on a per outer ethernet interface.143 144config PPPOE_HASH_BITS_1145	bool "1 bit (2 buckets)"146 147config PPPOE_HASH_BITS_2148	bool "2 bits (4 buckets)"149 150config PPPOE_HASH_BITS_4151	bool "4 bits (16 buckets)"152 153config PPPOE_HASH_BITS_8154	bool "8 bits (256 buckets)"155 156endchoice157 158config PPPOE_HASH_BITS159	int160	default 1 if PPPOE_HASH_BITS_1161	default 2 if PPPOE_HASH_BITS_2162	default 4 if PPPOE_HASH_BITS_4163	default 8 if PPPOE_HASH_BITS_8164	default 4165 166config PPTP167	tristate "PPP over IPv4 (PPTP)"168	depends on PPP && NET_IPGRE_DEMUX169	help170	  Support for PPP over IPv4.(Point-to-Point Tunneling Protocol)171 172	  This driver requires pppd plugin to work in client mode or173	  modified pptpd (poptop) to work in server mode.174	  See http://accel-pptp.sourceforge.net/ for information how to175	  utilize this module.176 177config PPPOL2TP178	tristate "PPP over L2TP"179	depends on L2TP && PPP180	help181	  Support for PPP-over-L2TP socket family. L2TP is a protocol182	  used by ISPs and enterprises to tunnel PPP traffic over UDP183	  tunnels. L2TP is replacing PPTP for VPN uses.184if TTY185 186config PPP_ASYNC187	tristate "PPP support for async serial ports"188	depends on PPP189	select CRC_CCITT190	help191	  Say Y (or M) here if you want to be able to use PPP over standard192	  asynchronous serial ports, such as COM1 or COM2 on a PC.  If you use193	  a modem (not a synchronous or ISDN modem) to contact your ISP, you194	  need this option.195 196	  To compile this driver as a module, choose M here.197 198	  If unsure, say Y.199 200config PPP_SYNC_TTY201	tristate "PPP support for sync tty ports"202	depends on PPP203	help204	  Say Y (or M) here if you want to be able to use PPP over synchronous205	  (HDLC) tty devices, such as the SyncLink adapter. These devices206	  are often used for high-speed leased lines like T1/E1.207 208	  To compile this driver as a module, choose M here.209 210endif # TTY211 212endif # PPP213