Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. #
  2. # Layer Two Tunneling Protocol (L2TP)
  3. #
  4. menuconfig L2TP
  5. tristate "Layer Two Tunneling Protocol (L2TP)"
  6. depends on (IPV6 || IPV6=n)
  7. depends on INET
  8. ---help---
  9. Layer Two Tunneling Protocol
  10. From RFC 2661 <http://www.ietf.org/rfc/rfc2661.txt>.
  11. L2TP facilitates the tunneling of packets across an
  12. intervening network in a way that is as transparent as
  13. possible to both end-users and applications.
  14. L2TP is often used to tunnel PPP traffic over IP
  15. tunnels. One IP tunnel may carry thousands of individual PPP
  16. connections. L2TP is also used as a VPN protocol, popular
  17. with home workers to connect to their offices.
  18. L2TPv3 allows other protocols as well as PPP to be carried
  19. over L2TP tunnels. L2TPv3 is defined in RFC 3931
  20. <http://www.ietf.org/rfc/rfc3931.txt>.
  21. The kernel component handles only L2TP data packets: a
  22. userland daemon handles L2TP the control protocol (tunnel
  23. and session setup). One such daemon is OpenL2TP
  24. (http://openl2tp.org/).
  25. If you don't need L2TP, say N. To compile all L2TP code as
  26. modules, choose M here.
  27. config L2TP_DEBUGFS
  28. tristate "L2TP debugfs support"
  29. depends on L2TP && DEBUG_FS
  30. help
  31. Support for l2tp directory in debugfs filesystem. This may be
  32. used to dump internal state of the l2tp drivers for problem
  33. analysis.
  34. If unsure, say 'Y'.
  35. To compile this driver as a module, choose M here. The module
  36. will be called l2tp_debugfs.
  37. config L2TP_V3
  38. bool "L2TPv3 support"
  39. depends on L2TP
  40. help
  41. Layer Two Tunneling Protocol Version 3
  42. From RFC 3931 <http://www.ietf.org/rfc/rfc3931.txt>.
  43. The Layer Two Tunneling Protocol (L2TP) provides a dynamic
  44. mechanism for tunneling Layer 2 (L2) "circuits" across a
  45. packet-oriented data network (e.g., over IP). L2TP, as
  46. originally defined in RFC 2661, is a standard method for
  47. tunneling Point-to-Point Protocol (PPP) [RFC1661] sessions.
  48. L2TP has since been adopted for tunneling a number of other
  49. L2 protocols, including ATM, Frame Relay, HDLC and even raw
  50. ethernet frames.
  51. If you are connecting to L2TPv3 equipment, or you want to
  52. tunnel raw ethernet frames using L2TP, say Y here. If
  53. unsure, say N.
  54. config L2TP_IP
  55. tristate "L2TP IP encapsulation for L2TPv3"
  56. depends on L2TP_V3
  57. help
  58. Support for L2TP-over-IP socket family.
  59. The L2TPv3 protocol defines two possible encapsulations for
  60. L2TP frames, namely UDP and plain IP (without UDP). This
  61. driver provides a new L2TPIP socket family with which
  62. userspace L2TPv3 daemons may create L2TP/IP tunnel sockets
  63. when UDP encapsulation is not required. When L2TP is carried
  64. in IP packets, it used IP protocol number 115, so this port
  65. must be enabled in firewalls.
  66. To compile this driver as a module, choose M here. The module
  67. will be called l2tp_ip.
  68. config L2TP_ETH
  69. tristate "L2TP ethernet pseudowire support for L2TPv3"
  70. depends on L2TP_V3
  71. help
  72. Support for carrying raw ethernet frames over L2TPv3.
  73. From RFC 4719 <http://www.ietf.org/rfc/rfc4719.txt>.
  74. The Layer 2 Tunneling Protocol, Version 3 (L2TPv3) can be
  75. used as a control protocol and for data encapsulation to set
  76. up Pseudowires for transporting layer 2 Packet Data Units
  77. across an IP network [RFC3931].
  78. This driver provides an ethernet virtual interface for each
  79. L2TP ethernet pseudowire instance. Standard Linux tools may
  80. be used to assign an IP address to the local virtual
  81. interface, or add the interface to a bridge.
  82. If you are using L2TPv3, you will almost certainly want to
  83. enable this option.
  84. To compile this driver as a module, choose M here. The module
  85. will be called l2tp_eth.