xref: /openbmc/linux/drivers/net/ppp/Kconfig (revision 293d5b43)
1#
2# PPP network device configuration
3#
4
5config PPP
6	tristate "PPP (point-to-point protocol) support"
7	select SLHC
8	---help---
9	  PPP (Point to Point Protocol) is a newer and better SLIP.  It serves
10	  the same purpose: sending Internet traffic over telephone (and other
11	  serial) lines.  Ask your access provider if they support it, because
12	  otherwise you can't use it; most Internet access providers these
13	  days support PPP rather than SLIP.
14
15	  To use PPP, you need an additional program called pppd as described
16	  in the PPP-HOWTO, available at
17	  <http://www.tldp.org/docs.html#howto>.  Make sure that you have
18	  the version of pppd recommended in <file:Documentation/Changes>.
19	  The PPP option enlarges your kernel by about 16 KB.
20
21	  There are actually two versions of PPP: the traditional PPP for
22	  asynchronous lines, such as regular analog phone lines, and
23	  synchronous PPP which can be used over digital ISDN lines for
24	  example.  If you want to use PPP over phone lines or other
25	  asynchronous serial lines, you need to say Y (or M) here and also to
26	  the next option, "PPP support for async serial ports".  For PPP over
27	  synchronous lines, you should say Y (or M) here and to "Support
28	  synchronous PPP", below.
29
30	  If you said Y to "Version information on all symbols" above, then
31	  you cannot compile the PPP driver into the kernel; you can then only
32	  compile it as a module. To compile this driver as a module, choose M
33	  here. The module will be called ppp_generic.
34
35if PPP
36
37config PPP_BSDCOMP
38	tristate "PPP BSD-Compress compression"
39	depends on PPP
40	---help---
41	  Support for the BSD-Compress compression method for PPP, which uses
42	  the LZW compression method to compress each PPP packet before it is
43	  sent over the wire. The machine at the other end of the PPP link
44	  (usually your ISP) has to support the BSD-Compress compression
45	  method as well for this to be useful. Even if they don't support it,
46	  it is safe to say Y here.
47
48	  The PPP Deflate compression method ("PPP Deflate compression",
49	  above) is preferable to BSD-Compress, because it compresses better
50	  and is patent-free.
51
52	  Note that the BSD compression code will always be compiled as a
53	  module; it is called bsd_comp and will show up in the directory
54	  modules once you have said "make modules". If unsure, say N.
55
56config PPP_DEFLATE
57	tristate "PPP Deflate compression"
58	depends on PPP
59	select ZLIB_INFLATE
60	select ZLIB_DEFLATE
61	---help---
62	  Support for the Deflate compression method for PPP, which uses the
63	  Deflate algorithm (the same algorithm that gzip uses) to compress
64	  each PPP packet before it is sent over the wire.  The machine at the
65	  other end of the PPP link (usually your ISP) has to support the
66	  Deflate compression method as well for this to be useful.  Even if
67	  they don't support it, it is safe to say Y here.
68
69	  To compile this driver as a module, choose M here.
70
71config PPP_FILTER
72	bool "PPP filtering"
73	depends on PPP
74	---help---
75	  Say Y here if you want to be able to filter the packets passing over
76	  PPP interfaces.  This allows you to control which packets count as
77	  activity (i.e. which packets will reset the idle timer or bring up
78	  a demand-dialed link) and which packets are to be dropped entirely.
79	  You need to say Y here if you wish to use the pass-filter and
80	  active-filter options to pppd.
81
82	  If unsure, say N.
83
84config PPP_MPPE
85	tristate "PPP MPPE compression (encryption)"
86	depends on PPP
87	select CRYPTO
88	select CRYPTO_SHA1
89	select CRYPTO_ARC4
90	select CRYPTO_ECB
91	---help---
92	  Support for the MPPE Encryption protocol, as employed by the
93	  Microsoft Point-to-Point Tunneling Protocol.
94
95	  See http://pptpclient.sourceforge.net/ for information on
96	  configuring PPTP clients and servers to utilize this method.
97
98config PPP_MULTILINK
99	bool "PPP multilink support"
100	depends on PPP
101	---help---
102	  PPP multilink is a protocol (defined in RFC 1990) which allows you
103	  to combine several (logical or physical) lines into one logical PPP
104	  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 a
107	  version of the pppd daemon which understands the multilink protocol.
108
109	  If unsure, say N.
110
111config PPPOATM
112	tristate "PPP over ATM"
113	depends on ATM && PPP
114	---help---
115	  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 and
118	  changes its encapsulation unilaterally.
119
120config PPPOE
121	tristate "PPP over Ethernet"
122	depends on PPP
123	---help---
124	  Support for PPP over Ethernet.
125
126	  This driver requires the latest version of pppd from the CVS
127	  repository at cvs.samba.org.  Alternatively, see the
128	  RoaringPenguin package (<http://www.roaringpenguin.com/pppoe>)
129	  which contains instruction on how to use this driver (under
130	  the heading "Kernel mode PPPoE").
131
132config PPTP
133	tristate "PPP over IPv4 (PPTP)"
134	depends on PPP && NET_IPGRE_DEMUX
135	---help---
136	  Support for PPP over IPv4.(Point-to-Point Tunneling Protocol)
137
138	  This driver requires pppd plugin to work in client mode or
139	  modified pptpd (poptop) to work in server mode.
140	  See http://accel-pptp.sourceforge.net/ for information how to
141	  utilize this module.
142
143config PPPOL2TP
144	tristate "PPP over L2TP"
145	depends on L2TP && PPP
146	---help---
147	  Support for PPP-over-L2TP socket family. L2TP is a protocol
148	  used by ISPs and enterprises to tunnel PPP traffic over UDP
149	  tunnels. L2TP is replacing PPTP for VPN uses.
150if TTY
151
152config PPP_ASYNC
153	tristate "PPP support for async serial ports"
154	depends on PPP
155	select CRC_CCITT
156	---help---
157	  Say Y (or M) here if you want to be able to use PPP over standard
158	  asynchronous serial ports, such as COM1 or COM2 on a PC.  If you use
159	  a modem (not a synchronous or ISDN modem) to contact your ISP, you
160	  need this option.
161
162	  To compile this driver as a module, choose M here.
163
164	  If unsure, say Y.
165
166config PPP_SYNC_TTY
167	tristate "PPP support for sync tty ports"
168	depends on PPP
169	---help---
170	  Say Y (or M) here if you want to be able to use PPP over synchronous
171	  (HDLC) tty devices, such as the SyncLink adapter. These devices
172	  are often used for high-speed leased lines like T1/E1.
173
174	  To compile this driver as a module, choose M here.
175
176endif # TTY
177
178endif # PPP
179