diff options
| author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-07-31 05:38:19 -0400 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-27 03:58:26 -0400 |
| commit | 224cf5ad14c038b13c119dff29422f178a306f54 (patch) | |
| tree | 89bf411ea743e9d7bbd3c609eeb7220270a97fc5 /drivers/net | |
| parent | aab3ac26108642eaa06efa4697dab595c7de2bbd (diff) | |
ppp: Move the PPP drivers
Move the PPP drivers into drivers/net/ppp/ and make the
necessary Kconfig and Makefile changes.
CC: Paul Mackerras <paulus@samba.org>
CC: Frank Cusack <fcusack@fcusack.com>
CC: Michal Ostrowski <mostrows@speakeasy.net>
CC: Michal Ostrowski <mostrows@earthlink.net>
CC: Dmitry Kozlov <xeb@mail.ru>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
| -rw-r--r-- | drivers/net/Kconfig | 170 | ||||
| -rw-r--r-- | drivers/net/Makefile | 18 | ||||
| -rw-r--r-- | drivers/net/ppp/Kconfig | 175 | ||||
| -rw-r--r-- | drivers/net/ppp/Makefile | 13 | ||||
| -rw-r--r-- | drivers/net/ppp/bsd_comp.c (renamed from drivers/net/bsd_comp.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/ppp_async.c (renamed from drivers/net/ppp_async.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/ppp_deflate.c (renamed from drivers/net/ppp_deflate.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/ppp_generic.c (renamed from drivers/net/ppp_generic.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/ppp_mppe.c (renamed from drivers/net/ppp_mppe.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/ppp_mppe.h (renamed from drivers/net/ppp_mppe.h) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/ppp_synctty.c (renamed from drivers/net/ppp_synctty.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/pppoe.c (renamed from drivers/net/pppoe.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/pppox.c (renamed from drivers/net/pppox.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ppp/pptp.c (renamed from drivers/net/pptp.c) | 0 |
14 files changed, 199 insertions, 177 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 7bdc22b59856..c5e2a3871dc5 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
| @@ -207,6 +207,8 @@ source "drivers/net/usb/Kconfig" | |||
| 207 | 207 | ||
| 208 | source "drivers/net/pcmcia/Kconfig" | 208 | source "drivers/net/pcmcia/Kconfig" |
| 209 | 209 | ||
| 210 | source "drivers/net/ppp/Kconfig" | ||
| 211 | |||
| 210 | source "drivers/net/wan/Kconfig" | 212 | source "drivers/net/wan/Kconfig" |
| 211 | 213 | ||
| 212 | source "drivers/atm/Kconfig" | 214 | source "drivers/atm/Kconfig" |
| @@ -337,174 +339,6 @@ config PLIP | |||
| 337 | will be called plip. If unsure, say Y or M, in case you buy | 339 | will be called plip. If unsure, say Y or M, in case you buy |
| 338 | a laptop later. | 340 | a laptop later. |
| 339 | 341 | ||
| 340 | config PPP | ||
| 341 | tristate "PPP (point-to-point protocol) support" | ||
| 342 | select SLHC | ||
| 343 | ---help--- | ||
| 344 | PPP (Point to Point Protocol) is a newer and better SLIP. It serves | ||
| 345 | the same purpose: sending Internet traffic over telephone (and other | ||
| 346 | serial) lines. Ask your access provider if they support it, because | ||
| 347 | otherwise you can't use it; most Internet access providers these | ||
| 348 | days support PPP rather than SLIP. | ||
| 349 | |||
| 350 | To use PPP, you need an additional program called pppd as described | ||
| 351 | in the PPP-HOWTO, available at | ||
| 352 | <http://www.tldp.org/docs.html#howto>. Make sure that you have | ||
| 353 | the version of pppd recommended in <file:Documentation/Changes>. | ||
| 354 | The PPP option enlarges your kernel by about 16 KB. | ||
| 355 | |||
| 356 | There are actually two versions of PPP: the traditional PPP for | ||
| 357 | asynchronous lines, such as regular analog phone lines, and | ||
| 358 | synchronous PPP which can be used over digital ISDN lines for | ||
| 359 | example. If you want to use PPP over phone lines or other | ||
| 360 | asynchronous serial lines, you need to say Y (or M) here and also to | ||
| 361 | the next option, "PPP support for async serial ports". For PPP over | ||
| 362 | synchronous lines, you should say Y (or M) here and to "Support | ||
| 363 | synchronous PPP", below. | ||
| 364 | |||
| 365 | If you said Y to "Version information on all symbols" above, then | ||
| 366 | you cannot compile the PPP driver into the kernel; you can then only | ||
| 367 | compile it as a module. To compile this driver as a module, choose M | ||
| 368 | here. The module will be called ppp_generic. | ||
| 369 | |||
| 370 | config PPP_MULTILINK | ||
| 371 | bool "PPP multilink support (EXPERIMENTAL)" | ||
| 372 | depends on PPP && EXPERIMENTAL | ||
| 373 | help | ||
| 374 | PPP multilink is a protocol (defined in RFC 1990) which allows you | ||
| 375 | to combine several (logical or physical) lines into one logical PPP | ||
| 376 | connection, so that you can utilize your full bandwidth. | ||
| 377 | |||
| 378 | This has to be supported at the other end as well and you need a | ||
| 379 | version of the pppd daemon which understands the multilink protocol. | ||
| 380 | |||
| 381 | If unsure, say N. | ||
| 382 | |||
| 383 | config PPP_FILTER | ||
| 384 | bool "PPP filtering" | ||
| 385 | depends on PPP | ||
| 386 | help | ||
| 387 | Say Y here if you want to be able to filter the packets passing over | ||
| 388 | PPP interfaces. This allows you to control which packets count as | ||
| 389 | activity (i.e. which packets will reset the idle timer or bring up | ||
| 390 | a demand-dialed link) and which packets are to be dropped entirely. | ||
| 391 | You need to say Y here if you wish to use the pass-filter and | ||
| 392 | active-filter options to pppd. | ||
| 393 | |||
| 394 | If unsure, say N. | ||
| 395 | |||
| 396 | config PPP_ASYNC | ||
| 397 | tristate "PPP support for async serial ports" | ||
| 398 | depends on PPP | ||
| 399 | select CRC_CCITT | ||
| 400 | ---help--- | ||
| 401 | Say Y (or M) here if you want to be able to use PPP over standard | ||
| 402 | asynchronous serial ports, such as COM1 or COM2 on a PC. If you use | ||
| 403 | a modem (not a synchronous or ISDN modem) to contact your ISP, you | ||
| 404 | need this option. | ||
| 405 | |||
| 406 | To compile this driver as a module, choose M here. | ||
| 407 | |||
| 408 | If unsure, say Y. | ||
| 409 | |||
| 410 | config PPP_SYNC_TTY | ||
| 411 | tristate "PPP support for sync tty ports" | ||
| 412 | depends on PPP | ||
| 413 | help | ||
| 414 | Say Y (or M) here if you want to be able to use PPP over synchronous | ||
| 415 | (HDLC) tty devices, such as the SyncLink adapter. These devices | ||
| 416 | are often used for high-speed leased lines like T1/E1. | ||
| 417 | |||
| 418 | To compile this driver as a module, choose M here. | ||
| 419 | |||
| 420 | config PPP_DEFLATE | ||
| 421 | tristate "PPP Deflate compression" | ||
| 422 | depends on PPP | ||
| 423 | select ZLIB_INFLATE | ||
| 424 | select ZLIB_DEFLATE | ||
| 425 | ---help--- | ||
| 426 | Support for the Deflate compression method for PPP, which uses the | ||
| 427 | Deflate algorithm (the same algorithm that gzip uses) to compress | ||
| 428 | each PPP packet before it is sent over the wire. The machine at the | ||
| 429 | other end of the PPP link (usually your ISP) has to support the | ||
| 430 | Deflate compression method as well for this to be useful. Even if | ||
| 431 | they don't support it, it is safe to say Y here. | ||
| 432 | |||
| 433 | To compile this driver as a module, choose M here. | ||
| 434 | |||
| 435 | config PPP_BSDCOMP | ||
| 436 | tristate "PPP BSD-Compress compression" | ||
| 437 | depends on PPP | ||
| 438 | ---help--- | ||
| 439 | Support for the BSD-Compress compression method for PPP, which uses | ||
| 440 | the LZW compression method to compress each PPP packet before it is | ||
| 441 | sent over the wire. The machine at the other end of the PPP link | ||
| 442 | (usually your ISP) has to support the BSD-Compress compression | ||
| 443 | method as well for this to be useful. Even if they don't support it, | ||
| 444 | it is safe to say Y here. | ||
| 445 | |||
| 446 | The PPP Deflate compression method ("PPP Deflate compression", | ||
| 447 | above) is preferable to BSD-Compress, because it compresses better | ||
| 448 | and is patent-free. | ||
| 449 | |||
| 450 | Note that the BSD compression code will always be compiled as a | ||
| 451 | module; it is called bsd_comp and will show up in the directory | ||
| 452 | modules once you have said "make modules". If unsure, say N. | ||
| 453 | |||
| 454 | config PPP_MPPE | ||
| 455 | tristate "PPP MPPE compression (encryption) (EXPERIMENTAL)" | ||
| 456 | depends on PPP && EXPERIMENTAL | ||
| 457 | select CRYPTO | ||
| 458 | select CRYPTO_SHA1 | ||
| 459 | select CRYPTO_ARC4 | ||
| 460 | select CRYPTO_ECB | ||
| 461 | ---help--- | ||
| 462 | Support for the MPPE Encryption protocol, as employed by the | ||
| 463 | Microsoft Point-to-Point Tunneling Protocol. | ||
| 464 | |||
| 465 | See http://pptpclient.sourceforge.net/ for information on | ||
| 466 | configuring PPTP clients and servers to utilize this method. | ||
| 467 | |||
| 468 | config PPPOE | ||
| 469 | tristate "PPP over Ethernet (EXPERIMENTAL)" | ||
| 470 | depends on EXPERIMENTAL && PPP | ||
| 471 | help | ||
| 472 | Support for PPP over Ethernet. | ||
| 473 | |||
| 474 | This driver requires the latest version of pppd from the CVS | ||
| 475 | repository at cvs.samba.org. Alternatively, see the | ||
| 476 | RoaringPenguin package (<http://www.roaringpenguin.com/pppoe>) | ||
| 477 | which contains instruction on how to use this driver (under | ||
| 478 | the heading "Kernel mode PPPoE"). | ||
| 479 | |||
| 480 | config PPTP | ||
| 481 | tristate "PPP over IPv4 (PPTP) (EXPERIMENTAL)" | ||
| 482 | depends on EXPERIMENTAL && PPP && NET_IPGRE_DEMUX | ||
| 483 | help | ||
| 484 | Support for PPP over IPv4.(Point-to-Point Tunneling Protocol) | ||
| 485 | |||
| 486 | This driver requires pppd plugin to work in client mode or | ||
| 487 | modified pptpd (poptop) to work in server mode. | ||
| 488 | See http://accel-pptp.sourceforge.net/ for information how to | ||
| 489 | utilize this module. | ||
| 490 | |||
| 491 | config PPPOATM | ||
| 492 | tristate "PPP over ATM" | ||
| 493 | depends on ATM && PPP | ||
| 494 | help | ||
| 495 | Support PPP (Point to Point Protocol) encapsulated in ATM frames. | ||
| 496 | This implementation does not yet comply with section 8 of RFC2364, | ||
| 497 | which can lead to bad results if the ATM peer loses state and | ||
| 498 | changes its encapsulation unilaterally. | ||
| 499 | |||
| 500 | config PPPOL2TP | ||
| 501 | tristate "PPP over L2TP (EXPERIMENTAL)" | ||
| 502 | depends on EXPERIMENTAL && L2TP && PPP | ||
| 503 | help | ||
| 504 | Support for PPP-over-L2TP socket family. L2TP is a protocol | ||
| 505 | used by ISPs and enterprises to tunnel PPP traffic over UDP | ||
| 506 | tunnels. L2TP is replacing PPTP for VPN uses. | ||
| 507 | |||
| 508 | config SLIP | 342 | config SLIP |
| 509 | tristate "SLIP (serial line) support" | 343 | tristate "SLIP (serial line) support" |
| 510 | ---help--- | 344 | ---help--- |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 3087b27c7841..a397f1e43ef1 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
| @@ -22,15 +22,6 @@ obj-$(CONFIG_RIONET) += rionet.o | |||
| 22 | 22 | ||
| 23 | obj-$(CONFIG_NET) += Space.o loopback.o | 23 | obj-$(CONFIG_NET) += Space.o loopback.o |
| 24 | obj-$(CONFIG_NET_SB1000) += sb1000.o | 24 | obj-$(CONFIG_NET_SB1000) += sb1000.o |
| 25 | obj-$(CONFIG_PPP) += ppp_generic.o | ||
| 26 | obj-$(CONFIG_PPP_ASYNC) += ppp_async.o | ||
| 27 | obj-$(CONFIG_PPP_SYNC_TTY) += ppp_synctty.o | ||
| 28 | obj-$(CONFIG_PPP_DEFLATE) += ppp_deflate.o | ||
| 29 | obj-$(CONFIG_PPP_BSDCOMP) += bsd_comp.o | ||
| 30 | obj-$(CONFIG_PPP_MPPE) += ppp_mppe.o | ||
| 31 | obj-$(CONFIG_PPPOE) += pppox.o pppoe.o | ||
| 32 | obj-$(CONFIG_PPPOL2TP) += pppox.o | ||
| 33 | obj-$(CONFIG_PPTP) += pppox.o pptp.o | ||
| 34 | obj-$(CONFIG_SLIP) += slip.o | 25 | obj-$(CONFIG_SLIP) += slip.o |
| 35 | obj-$(CONFIG_SLHC) += slhc.o | 26 | obj-$(CONFIG_SLHC) += slhc.o |
| 36 | 27 | ||
| @@ -48,6 +39,15 @@ obj-$(CONFIG_VETH) += veth.o | |||
| 48 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ | 39 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ |
| 49 | obj-$(CONFIG_ETHERNET) += ethernet/ | 40 | obj-$(CONFIG_ETHERNET) += ethernet/ |
| 50 | obj-$(CONFIG_FDDI) += fddi/ | 41 | obj-$(CONFIG_FDDI) += fddi/ |
| 42 | onj-$(CONFIG_PPP) += ppp/ | ||
| 43 | obj-$(CONFIG_PPP_ASYNC) += ppp/ | ||
| 44 | obj-$(CONFIG_PPP_BSDCOMP) += ppp/ | ||
| 45 | obj-$(CONFIG_PPP_DEFLATE) += ppp/ | ||
| 46 | obj-$(CONFIG_PPP_MPPE) += ppp/ | ||
| 47 | obj-$(CONFIG_PPP_SYNC_TTY) += ppp/ | ||
| 48 | obj-$(CONFIG_PPPOE) += ppp/ | ||
| 49 | obj-$(CONFIG_PPPOL2TP) += ppp/ | ||
| 50 | obj-$(CONFIG_PPTP) += ppp/ | ||
| 51 | obj-$(CONFIG_TR) += tokenring/ | 51 | obj-$(CONFIG_TR) += tokenring/ |
| 52 | obj-$(CONFIG_WAN) += wan/ | 52 | obj-$(CONFIG_WAN) += wan/ |
| 53 | obj-$(CONFIG_ARCNET) += arcnet/ | 53 | obj-$(CONFIG_ARCNET) += arcnet/ |
diff --git a/drivers/net/ppp/Kconfig b/drivers/net/ppp/Kconfig new file mode 100644 index 000000000000..872df3ef07a6 --- /dev/null +++ b/drivers/net/ppp/Kconfig | |||
| @@ -0,0 +1,175 @@ | |||
| 1 | # | ||
| 2 | # PPP network device configuration | ||
| 3 | # | ||
| 4 | |||
| 5 | config 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 | |||
| 35 | if PPP | ||
| 36 | |||
| 37 | config 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 | |||
| 56 | config 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 | |||
| 71 | config 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 | |||
| 84 | config PPP_MPPE | ||
| 85 | tristate "PPP MPPE compression (encryption) (EXPERIMENTAL)" | ||
| 86 | depends on PPP && EXPERIMENTAL | ||
| 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 | |||
| 98 | config PPP_MULTILINK | ||
| 99 | bool "PPP multilink support (EXPERIMENTAL)" | ||
| 100 | depends on PPP && EXPERIMENTAL | ||
| 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 | |||
| 111 | config 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 | |||
| 120 | config PPPOE | ||
| 121 | tristate "PPP over Ethernet (EXPERIMENTAL)" | ||
| 122 | depends on EXPERIMENTAL && 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 | |||
| 132 | config PPTP | ||
| 133 | tristate "PPP over IPv4 (PPTP) (EXPERIMENTAL)" | ||
| 134 | depends on EXPERIMENTAL && 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 | |||
| 143 | config PPPOL2TP | ||
| 144 | tristate "PPP over L2TP (EXPERIMENTAL)" | ||
| 145 | depends on EXPERIMENTAL && 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. | ||
| 150 | |||
| 151 | config PPP_ASYNC | ||
| 152 | tristate "PPP support for async serial ports" | ||
| 153 | depends on PPP | ||
| 154 | select CRC_CCITT | ||
| 155 | ---help--- | ||
| 156 | Say Y (or M) here if you want to be able to use PPP over standard | ||
| 157 | asynchronous serial ports, such as COM1 or COM2 on a PC. If you use | ||
| 158 | a modem (not a synchronous or ISDN modem) to contact your ISP, you | ||
| 159 | need this option. | ||
| 160 | |||
| 161 | To compile this driver as a module, choose M here. | ||
| 162 | |||
| 163 | If unsure, say Y. | ||
| 164 | |||
| 165 | config PPP_SYNC_TTY | ||
| 166 | tristate "PPP support for sync tty ports" | ||
| 167 | depends on PPP | ||
| 168 | ---help--- | ||
| 169 | Say Y (or M) here if you want to be able to use PPP over synchronous | ||
| 170 | (HDLC) tty devices, such as the SyncLink adapter. These devices | ||
| 171 | are often used for high-speed leased lines like T1/E1. | ||
| 172 | |||
| 173 | To compile this driver as a module, choose M here. | ||
| 174 | |||
| 175 | endif # PPP | ||
diff --git a/drivers/net/ppp/Makefile b/drivers/net/ppp/Makefile new file mode 100644 index 000000000000..a6b6297b0066 --- /dev/null +++ b/drivers/net/ppp/Makefile | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # | ||
| 2 | # Makefile for the Linux PPP network device drivers. | ||
| 3 | # | ||
| 4 | |||
| 5 | obj-$(CONFIG_PPP) += ppp_generic.o | ||
| 6 | obj-$(CONFIG_PPP_ASYNC) += ppp_async.o | ||
| 7 | obj-$(CONFIG_PPP_BSDCOMP) += bsd_comp.o | ||
| 8 | obj-$(CONFIG_PPP_DEFLATE) += ppp_deflate.o | ||
| 9 | obj-$(CONFIG_PPP_MPPE) += ppp_mppe.o | ||
| 10 | obj-$(CONFIG_PPP_SYNC_TTY) += ppp_synctty.o | ||
| 11 | obj-$(CONFIG_PPPOE) += pppox.o pppoe.o | ||
| 12 | obj-$(CONFIG_PPPOL2TP) += pppox.o | ||
| 13 | obj-$(CONFIG_PPTP) += pppox.o pptp.o | ||
diff --git a/drivers/net/bsd_comp.c b/drivers/net/ppp/bsd_comp.c index a9b759add187..a9b759add187 100644 --- a/drivers/net/bsd_comp.c +++ b/drivers/net/ppp/bsd_comp.c | |||
diff --git a/drivers/net/ppp_async.c b/drivers/net/ppp/ppp_async.c index c6ba64380829..c6ba64380829 100644 --- a/drivers/net/ppp_async.c +++ b/drivers/net/ppp/ppp_async.c | |||
diff --git a/drivers/net/ppp_deflate.c b/drivers/net/ppp/ppp_deflate.c index 1dbdf82a6dfd..1dbdf82a6dfd 100644 --- a/drivers/net/ppp_deflate.c +++ b/drivers/net/ppp/ppp_deflate.c | |||
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp/ppp_generic.c index 10e5d985afa3..10e5d985afa3 100644 --- a/drivers/net/ppp_generic.c +++ b/drivers/net/ppp/ppp_generic.c | |||
diff --git a/drivers/net/ppp_mppe.c b/drivers/net/ppp/ppp_mppe.c index 9a1849a83e2a..9a1849a83e2a 100644 --- a/drivers/net/ppp_mppe.c +++ b/drivers/net/ppp/ppp_mppe.c | |||
diff --git a/drivers/net/ppp_mppe.h b/drivers/net/ppp/ppp_mppe.h index 7a14e058c668..7a14e058c668 100644 --- a/drivers/net/ppp_mppe.h +++ b/drivers/net/ppp/ppp_mppe.h | |||
diff --git a/drivers/net/ppp_synctty.c b/drivers/net/ppp/ppp_synctty.c index 736a39ee05bb..736a39ee05bb 100644 --- a/drivers/net/ppp_synctty.c +++ b/drivers/net/ppp/ppp_synctty.c | |||
diff --git a/drivers/net/pppoe.c b/drivers/net/ppp/pppoe.c index bc9a4bb31980..bc9a4bb31980 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/ppp/pppoe.c | |||
diff --git a/drivers/net/pppox.c b/drivers/net/ppp/pppox.c index 8c0d170dabcd..8c0d170dabcd 100644 --- a/drivers/net/pppox.c +++ b/drivers/net/ppp/pppox.c | |||
diff --git a/drivers/net/pptp.c b/drivers/net/ppp/pptp.c index eae542a7e987..eae542a7e987 100644 --- a/drivers/net/pptp.c +++ b/drivers/net/ppp/pptp.c | |||
