diff options
Diffstat (limited to 'net/Kconfig')
| -rw-r--r-- | net/Kconfig | 456 |
1 files changed, 22 insertions, 434 deletions
diff --git a/net/Kconfig b/net/Kconfig index 9251b28e8d5d..2684e809a649 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # Network configuration | 2 | # Network configuration |
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | menu "Networking support" | 5 | menu "Networking" |
| 6 | 6 | ||
| 7 | config NET | 7 | config NET |
| 8 | bool "Networking support" | 8 | bool "Networking support" |
| @@ -10,7 +10,9 @@ config NET | |||
| 10 | Unless you really know what you are doing, you should say Y here. | 10 | Unless you really know what you are doing, you should say Y here. |
| 11 | The reason is that some programs need kernel networking support even | 11 | The reason is that some programs need kernel networking support even |
| 12 | when running on a stand-alone machine that isn't connected to any | 12 | when running on a stand-alone machine that isn't connected to any |
| 13 | other computer. If you are upgrading from an older kernel, you | 13 | other computer. |
| 14 | |||
| 15 | If you are upgrading from an older kernel, you | ||
| 14 | should consider updating your networking tools too because changes | 16 | should consider updating your networking tools too because changes |
| 15 | in the kernel and the tools often go hand in hand. The tools are | 17 | in the kernel and the tools often go hand in hand. The tools are |
| 16 | contained in the package net-tools, the location and version number | 18 | contained in the package net-tools, the location and version number |
| @@ -20,57 +22,14 @@ config NET | |||
| 20 | recommended to read the NET-HOWTO, available from | 22 | recommended to read the NET-HOWTO, available from |
| 21 | <http://www.tldp.org/docs.html#howto>. | 23 | <http://www.tldp.org/docs.html#howto>. |
| 22 | 24 | ||
| 23 | menu "Networking options" | 25 | # Make sure that all config symbols are dependent on NET |
| 24 | depends on NET | 26 | if NET |
| 25 | |||
| 26 | config PACKET | ||
| 27 | tristate "Packet socket" | ||
| 28 | ---help--- | ||
| 29 | The Packet protocol is used by applications which communicate | ||
| 30 | directly with network devices without an intermediate network | ||
| 31 | protocol implemented in the kernel, e.g. tcpdump. If you want them | ||
| 32 | to work, choose Y. | ||
| 33 | 27 | ||
| 34 | To compile this driver as a module, choose M here: the module will | 28 | menu "Networking options" |
| 35 | be called af_packet. | ||
| 36 | |||
| 37 | If unsure, say Y. | ||
| 38 | |||
| 39 | config PACKET_MMAP | ||
| 40 | bool "Packet socket: mmapped IO" | ||
| 41 | depends on PACKET | ||
| 42 | help | ||
| 43 | If you say Y here, the Packet protocol driver will use an IO | ||
| 44 | mechanism that results in faster communication. | ||
| 45 | |||
| 46 | If unsure, say N. | ||
| 47 | |||
| 48 | config UNIX | ||
| 49 | tristate "Unix domain sockets" | ||
| 50 | ---help--- | ||
| 51 | If you say Y here, you will include support for Unix domain sockets; | ||
| 52 | sockets are the standard Unix mechanism for establishing and | ||
| 53 | accessing network connections. Many commonly used programs such as | ||
| 54 | the X Window system and syslog use these sockets even if your | ||
| 55 | machine is not connected to any network. Unless you are working on | ||
| 56 | an embedded system or something similar, you therefore definitely | ||
| 57 | want to say Y here. | ||
| 58 | |||
| 59 | To compile this driver as a module, choose M here: the module will be | ||
| 60 | called unix. Note that several important services won't work | ||
| 61 | correctly if you say M here and then neglect to load the module. | ||
| 62 | |||
| 63 | Say Y unless you know what you are doing. | ||
| 64 | |||
| 65 | config NET_KEY | ||
| 66 | tristate "PF_KEY sockets" | ||
| 67 | select XFRM | ||
| 68 | ---help--- | ||
| 69 | PF_KEYv2 socket family, compatible to KAME ones. | ||
| 70 | They are required if you are going to use IPsec tools ported | ||
| 71 | from KAME. | ||
| 72 | 29 | ||
| 73 | Say Y unless you know what you are doing. | 30 | source "net/packet/Kconfig" |
| 31 | source "net/unix/Kconfig" | ||
| 32 | source "net/xfrm/Kconfig" | ||
| 74 | 33 | ||
| 75 | config INET | 34 | config INET |
| 76 | bool "TCP/IP networking" | 35 | bool "TCP/IP networking" |
| @@ -94,30 +53,12 @@ config INET | |||
| 94 | 53 | ||
| 95 | Short answer: say Y. | 54 | Short answer: say Y. |
| 96 | 55 | ||
| 56 | if INET | ||
| 97 | source "net/ipv4/Kconfig" | 57 | source "net/ipv4/Kconfig" |
| 98 | |||
| 99 | # IPv6 as module will cause a CRASH if you try to unload it | ||
| 100 | config IPV6 | ||
| 101 | tristate "The IPv6 protocol" | ||
| 102 | depends on INET | ||
| 103 | default m | ||
| 104 | select CRYPTO if IPV6_PRIVACY | ||
| 105 | select CRYPTO_MD5 if IPV6_PRIVACY | ||
| 106 | ---help--- | ||
| 107 | This is complemental support for the IP version 6. | ||
| 108 | You will still be able to do traditional IPv4 networking as well. | ||
| 109 | |||
| 110 | For general information about IPv6, see | ||
| 111 | <http://playground.sun.com/pub/ipng/html/ipng-main.html>. | ||
| 112 | For Linux IPv6 development information, see <http://www.linux-ipv6.org>. | ||
| 113 | For specific information about IPv6 under Linux, read the HOWTO at | ||
| 114 | <http://www.bieringer.de/linux/IPv6/>. | ||
| 115 | |||
| 116 | To compile this protocol support as a module, choose M here: the | ||
| 117 | module will be called ipv6. | ||
| 118 | |||
| 119 | source "net/ipv6/Kconfig" | 58 | source "net/ipv6/Kconfig" |
| 120 | 59 | ||
| 60 | endif # if INET | ||
| 61 | |||
| 121 | menuconfig NETFILTER | 62 | menuconfig NETFILTER |
| 122 | bool "Network packet filtering (replaces ipchains)" | 63 | bool "Network packet filtering (replaces ipchains)" |
| 123 | ---help--- | 64 | ---help--- |
| @@ -206,269 +147,16 @@ source "net/bridge/netfilter/Kconfig" | |||
| 206 | 147 | ||
| 207 | endif | 148 | endif |
| 208 | 149 | ||
| 209 | config XFRM | ||
| 210 | bool | ||
| 211 | depends on NET | ||
| 212 | |||
| 213 | source "net/xfrm/Kconfig" | ||
| 214 | |||
| 215 | source "net/sctp/Kconfig" | 150 | source "net/sctp/Kconfig" |
| 216 | 151 | source "net/atm/Kconfig" | |
| 217 | config ATM | 152 | source "net/bridge/Kconfig" |
| 218 | tristate "Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)" | 153 | source "net/8021q/Kconfig" |
| 219 | depends on EXPERIMENTAL | ||
| 220 | ---help--- | ||
| 221 | ATM is a high-speed networking technology for Local Area Networks | ||
| 222 | and Wide Area Networks. It uses a fixed packet size and is | ||
| 223 | connection oriented, allowing for the negotiation of minimum | ||
| 224 | bandwidth requirements. | ||
| 225 | |||
| 226 | In order to participate in an ATM network, your Linux box needs an | ||
| 227 | ATM networking card. If you have that, say Y here and to the driver | ||
| 228 | of your ATM card below. | ||
| 229 | |||
| 230 | Note that you need a set of user-space programs to actually make use | ||
| 231 | of ATM. See the file <file:Documentation/networking/atm.txt> for | ||
| 232 | further details. | ||
| 233 | |||
| 234 | config ATM_CLIP | ||
| 235 | tristate "Classical IP over ATM (EXPERIMENTAL)" | ||
| 236 | depends on ATM && INET | ||
| 237 | help | ||
| 238 | Classical IP over ATM for PVCs and SVCs, supporting InARP and | ||
| 239 | ATMARP. If you want to communication with other IP hosts on your ATM | ||
| 240 | network, you will typically either say Y here or to "LAN Emulation | ||
| 241 | (LANE)" below. | ||
| 242 | |||
| 243 | config ATM_CLIP_NO_ICMP | ||
| 244 | bool "Do NOT send ICMP if no neighbour (EXPERIMENTAL)" | ||
| 245 | depends on ATM_CLIP | ||
| 246 | help | ||
| 247 | Normally, an "ICMP host unreachable" message is sent if a neighbour | ||
| 248 | cannot be reached because there is no VC to it in the kernel's | ||
| 249 | ATMARP table. This may cause problems when ATMARP table entries are | ||
| 250 | briefly removed during revalidation. If you say Y here, packets to | ||
| 251 | such neighbours are silently discarded instead. | ||
| 252 | |||
| 253 | config ATM_LANE | ||
| 254 | tristate "LAN Emulation (LANE) support (EXPERIMENTAL)" | ||
| 255 | depends on ATM | ||
| 256 | help | ||
| 257 | LAN Emulation emulates services of existing LANs across an ATM | ||
| 258 | network. Besides operating as a normal ATM end station client, Linux | ||
| 259 | LANE client can also act as an proxy client bridging packets between | ||
| 260 | ELAN and Ethernet segments. You need LANE if you want to try MPOA. | ||
| 261 | |||
| 262 | config ATM_MPOA | ||
| 263 | tristate "Multi-Protocol Over ATM (MPOA) support (EXPERIMENTAL)" | ||
| 264 | depends on ATM && INET && ATM_LANE!=n | ||
| 265 | help | ||
| 266 | Multi-Protocol Over ATM allows ATM edge devices such as routers, | ||
| 267 | bridges and ATM attached hosts establish direct ATM VCs across | ||
| 268 | subnetwork boundaries. These shortcut connections bypass routers | ||
| 269 | enhancing overall network performance. | ||
| 270 | |||
| 271 | config ATM_BR2684 | ||
| 272 | tristate "RFC1483/2684 Bridged protocols" | ||
| 273 | depends on ATM && INET | ||
| 274 | help | ||
| 275 | ATM PVCs can carry ethernet PDUs according to rfc2684 (formerly 1483) | ||
| 276 | This device will act like an ethernet from the kernels point of view, | ||
| 277 | with the traffic being carried by ATM PVCs (currently 1 PVC/device). | ||
| 278 | This is sometimes used over DSL lines. If in doubt, say N. | ||
| 279 | |||
| 280 | config ATM_BR2684_IPFILTER | ||
| 281 | bool "Per-VC IP filter kludge" | ||
| 282 | depends on ATM_BR2684 | ||
| 283 | help | ||
| 284 | This is an experimental mechanism for users who need to terminating a | ||
| 285 | large number of IP-only vcc's. Do not enable this unless you are sure | ||
| 286 | you know what you are doing. | ||
| 287 | |||
| 288 | config BRIDGE | ||
| 289 | tristate "802.1d Ethernet Bridging" | ||
| 290 | ---help--- | ||
| 291 | If you say Y here, then your Linux box will be able to act as an | ||
| 292 | Ethernet bridge, which means that the different Ethernet segments it | ||
| 293 | is connected to will appear as one Ethernet to the participants. | ||
| 294 | Several such bridges can work together to create even larger | ||
| 295 | networks of Ethernets using the IEEE 802.1 spanning tree algorithm. | ||
| 296 | As this is a standard, Linux bridges will cooperate properly with | ||
| 297 | other third party bridge products. | ||
| 298 | |||
| 299 | In order to use the Ethernet bridge, you'll need the bridge | ||
| 300 | configuration tools; see <file:Documentation/networking/bridge.txt> | ||
| 301 | for location. Please read the Bridge mini-HOWTO for more | ||
| 302 | information. | ||
| 303 | |||
| 304 | If you enable iptables support along with the bridge support then you | ||
| 305 | turn your bridge into a bridging IP firewall. | ||
| 306 | iptables will then see the IP packets being bridged, so you need to | ||
| 307 | take this into account when setting up your firewall rules. | ||
| 308 | Enabling arptables support when bridging will let arptables see | ||
| 309 | bridged ARP traffic in the arptables FORWARD chain. | ||
| 310 | |||
| 311 | To compile this code as a module, choose M here: the module | ||
| 312 | will be called bridge. | ||
| 313 | |||
| 314 | If unsure, say N. | ||
| 315 | |||
| 316 | config VLAN_8021Q | ||
| 317 | tristate "802.1Q VLAN Support" | ||
| 318 | ---help--- | ||
| 319 | Select this and you will be able to create 802.1Q VLAN interfaces | ||
| 320 | on your ethernet interfaces. 802.1Q VLAN supports almost | ||
| 321 | everything a regular ethernet interface does, including | ||
| 322 | firewalling, bridging, and of course IP traffic. You will need | ||
| 323 | the 'vconfig' tool from the VLAN project in order to effectively | ||
| 324 | use VLANs. See the VLAN web page for more information: | ||
| 325 | <http://www.candelatech.com/~greear/vlan.html> | ||
| 326 | |||
| 327 | To compile this code as a module, choose M here: the module | ||
| 328 | will be called 8021q. | ||
| 329 | |||
| 330 | If unsure, say N. | ||
| 331 | |||
| 332 | config DECNET | ||
| 333 | tristate "DECnet Support" | ||
| 334 | ---help--- | ||
| 335 | The DECnet networking protocol was used in many products made by | ||
| 336 | Digital (now Compaq). It provides reliable stream and sequenced | ||
| 337 | packet communications over which run a variety of services similar | ||
| 338 | to those which run over TCP/IP. | ||
| 339 | |||
| 340 | To find some tools to use with the kernel layer support, please | ||
| 341 | look at Patrick Caulfield's web site: | ||
| 342 | <http://linux-decnet.sourceforge.net/>. | ||
| 343 | |||
| 344 | More detailed documentation is available in | ||
| 345 | <file:Documentation/networking/decnet.txt>. | ||
| 346 | |||
| 347 | Be sure to say Y to "/proc file system support" and "Sysctl support" | ||
| 348 | below when using DECnet, since you will need sysctl support to aid | ||
| 349 | in configuration at run time. | ||
| 350 | |||
| 351 | The DECnet code is also available as a module ( = code which can be | ||
| 352 | inserted in and removed from the running kernel whenever you want). | ||
| 353 | The module is called decnet. | ||
| 354 | |||
| 355 | source "net/decnet/Kconfig" | 154 | source "net/decnet/Kconfig" |
| 356 | |||
| 357 | source "net/llc/Kconfig" | 155 | source "net/llc/Kconfig" |
| 358 | |||
| 359 | config IPX | ||
| 360 | tristate "The IPX protocol" | ||
| 361 | select LLC | ||
| 362 | ---help--- | ||
| 363 | This is support for the Novell networking protocol, IPX, commonly | ||
| 364 | used for local networks of Windows machines. You need it if you | ||
| 365 | want to access Novell NetWare file or print servers using the Linux | ||
| 366 | Novell client ncpfs (available from | ||
| 367 | <ftp://platan.vc.cvut.cz/pub/linux/ncpfs/>) or from | ||
| 368 | within the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, | ||
| 369 | available from <http://www.tldp.org/docs.html#howto>). In order | ||
| 370 | to do the former, you'll also have to say Y to "NCP file system | ||
| 371 | support", below. | ||
| 372 | |||
| 373 | IPX is similar in scope to IP, while SPX, which runs on top of IPX, | ||
| 374 | is similar to TCP. There is also experimental support for SPX in | ||
| 375 | Linux (see "SPX networking", below). | ||
| 376 | |||
| 377 | To turn your Linux box into a fully featured NetWare file server and | ||
| 378 | IPX router, say Y here and fetch either lwared from | ||
| 379 | <ftp://ibiblio.org/pub/Linux/system/network/daemons/> or | ||
| 380 | mars_nwe from <ftp://www.compu-art.de/mars_nwe/>. For more | ||
| 381 | information, read the IPX-HOWTO available from | ||
| 382 | <http://www.tldp.org/docs.html#howto>. | ||
| 383 | |||
| 384 | General information about how to connect Linux, Windows machines and | ||
| 385 | Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>. | ||
| 386 | |||
| 387 | The IPX driver would enlarge your kernel by about 16 KB. To compile | ||
| 388 | this driver as a module, choose M here: the module will be called ipx. | ||
| 389 | Unless you want to integrate your Linux box with a local Novell | ||
| 390 | network, say N. | ||
| 391 | |||
| 392 | source "net/ipx/Kconfig" | 156 | source "net/ipx/Kconfig" |
| 393 | |||
| 394 | config ATALK | ||
| 395 | tristate "Appletalk protocol support" | ||
| 396 | select LLC | ||
| 397 | ---help--- | ||
| 398 | AppleTalk is the protocol that Apple computers can use to communicate | ||
| 399 | on a network. If your Linux box is connected to such a network and you | ||
| 400 | wish to connect to it, say Y. You will need to use the netatalk package | ||
| 401 | so that your Linux box can act as a print and file server for Macs as | ||
| 402 | well as access AppleTalk printers. Check out | ||
| 403 | <http://www.zettabyte.net/netatalk/> on the WWW for details. | ||
| 404 | EtherTalk is the name used for AppleTalk over Ethernet and the | ||
| 405 | cheaper and slower LocalTalk is AppleTalk over a proprietary Apple | ||
| 406 | network using serial links. EtherTalk and LocalTalk are fully | ||
| 407 | supported by Linux. | ||
| 408 | |||
| 409 | General information about how to connect Linux, Windows machines and | ||
| 410 | Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>. The | ||
| 411 | NET-3-HOWTO, available from | ||
| 412 | <http://www.tldp.org/docs.html#howto>, contains valuable | ||
| 413 | information as well. | ||
| 414 | |||
| 415 | To compile this driver as a module, choose M here: the module will be | ||
| 416 | called appletalk. You almost certainly want to compile it as a | ||
| 417 | module so you can restart your AppleTalk stack without rebooting | ||
| 418 | your machine. I hear that the GNU boycott of Apple is over, so | ||
| 419 | even politically correct people are allowed to say Y here. | ||
| 420 | |||
| 421 | source "drivers/net/appletalk/Kconfig" | 157 | source "drivers/net/appletalk/Kconfig" |
| 422 | 158 | source "net/x25/Kconfig" | |
| 423 | config X25 | 159 | source "net/lapb/Kconfig" |
| 424 | tristate "CCITT X.25 Packet Layer (EXPERIMENTAL)" | ||
| 425 | depends on EXPERIMENTAL | ||
| 426 | ---help--- | ||
| 427 | X.25 is a set of standardized network protocols, similar in scope to | ||
| 428 | frame relay; the one physical line from your box to the X.25 network | ||
| 429 | entry point can carry several logical point-to-point connections | ||
| 430 | (called "virtual circuits") to other computers connected to the X.25 | ||
| 431 | network. Governments, banks, and other organizations tend to use it | ||
| 432 | to connect to each other or to form Wide Area Networks (WANs). Many | ||
| 433 | countries have public X.25 networks. X.25 consists of two | ||
| 434 | protocols: the higher level Packet Layer Protocol (PLP) (say Y here | ||
| 435 | if you want that) and the lower level data link layer protocol LAPB | ||
| 436 | (say Y to "LAPB Data Link Driver" below if you want that). | ||
| 437 | |||
| 438 | You can read more about X.25 at <http://www.sangoma.com/x25.htm> and | ||
| 439 | <http://www.cisco.com/univercd/cc/td/doc/product/software/ios11/cbook/cx25.htm>. | ||
| 440 | Information about X.25 for Linux is contained in the files | ||
| 441 | <file:Documentation/networking/x25.txt> and | ||
| 442 | <file:Documentation/networking/x25-iface.txt>. | ||
| 443 | |||
| 444 | One connects to an X.25 network either with a dedicated network card | ||
| 445 | using the X.21 protocol (not yet supported by Linux) or one can do | ||
| 446 | X.25 over a standard telephone line using an ordinary modem (say Y | ||
| 447 | to "X.25 async driver" below) or over Ethernet using an ordinary | ||
| 448 | Ethernet card and the LAPB over Ethernet (say Y to "LAPB Data Link | ||
| 449 | Driver" and "LAPB over Ethernet driver" below). | ||
| 450 | |||
| 451 | To compile this driver as a module, choose M here: the module | ||
| 452 | will be called x25. If unsure, say N. | ||
| 453 | |||
| 454 | config LAPB | ||
| 455 | tristate "LAPB Data Link Driver (EXPERIMENTAL)" | ||
| 456 | depends on EXPERIMENTAL | ||
| 457 | ---help--- | ||
| 458 | Link Access Procedure, Balanced (LAPB) is the data link layer (i.e. | ||
| 459 | the lower) part of the X.25 protocol. It offers a reliable | ||
| 460 | connection service to exchange data frames with one other host, and | ||
| 461 | it is used to transport higher level protocols (mostly X.25 Packet | ||
| 462 | Layer, the higher part of X.25, but others are possible as well). | ||
| 463 | Usually, LAPB is used with specialized X.21 network cards, but Linux | ||
| 464 | currently supports LAPB only over Ethernet connections. If you want | ||
| 465 | to use LAPB connections over Ethernet, say Y here and to "LAPB over | ||
| 466 | Ethernet driver" below. Read | ||
| 467 | <file:Documentation/networking/lapb-module.txt> for technical | ||
| 468 | details. | ||
| 469 | |||
| 470 | To compile this driver as a module, choose M here: the | ||
| 471 | module will be called lapb. If unsure, say N. | ||
| 472 | 160 | ||
| 473 | config NET_DIVERT | 161 | config NET_DIVERT |
| 474 | bool "Frame Diverter (EXPERIMENTAL)" | 162 | bool "Frame Diverter (EXPERIMENTAL)" |
| @@ -496,107 +184,10 @@ config NET_DIVERT | |||
| 496 | 184 | ||
| 497 | If unsure, say N. | 185 | If unsure, say N. |
| 498 | 186 | ||
| 499 | config ECONET | 187 | source "net/econet/Kconfig" |
| 500 | tristate "Acorn Econet/AUN protocols (EXPERIMENTAL)" | 188 | source "net/wanrouter/Kconfig" |
| 501 | depends on EXPERIMENTAL && INET | ||
| 502 | ---help--- | ||
| 503 | Econet is a fairly old and slow networking protocol mainly used by | ||
| 504 | Acorn computers to access file and print servers. It uses native | ||
| 505 | Econet network cards. AUN is an implementation of the higher level | ||
| 506 | parts of Econet that runs over ordinary Ethernet connections, on | ||
| 507 | top of the UDP packet protocol, which in turn runs on top of the | ||
| 508 | Internet protocol IP. | ||
| 509 | |||
| 510 | If you say Y here, you can choose with the next two options whether | ||
| 511 | to send Econet/AUN traffic over a UDP Ethernet connection or over | ||
| 512 | a native Econet network card. | ||
| 513 | |||
| 514 | To compile this driver as a module, choose M here: the module | ||
| 515 | will be called econet. | ||
| 516 | |||
| 517 | config ECONET_AUNUDP | ||
| 518 | bool "AUN over UDP" | ||
| 519 | depends on ECONET | ||
| 520 | help | ||
| 521 | Say Y here if you want to send Econet/AUN traffic over a UDP | ||
| 522 | connection (UDP is a packet based protocol that runs on top of the | ||
| 523 | Internet protocol IP) using an ordinary Ethernet network card. | ||
| 524 | |||
| 525 | config ECONET_NATIVE | ||
| 526 | bool "Native Econet" | ||
| 527 | depends on ECONET | ||
| 528 | help | ||
| 529 | Say Y here if you have a native Econet network card installed in | ||
| 530 | your computer. | ||
| 531 | |||
| 532 | config WAN_ROUTER | ||
| 533 | tristate "WAN router" | ||
| 534 | depends on EXPERIMENTAL | ||
| 535 | ---help--- | ||
| 536 | Wide Area Networks (WANs), such as X.25, frame relay and leased | ||
| 537 | lines, are used to interconnect Local Area Networks (LANs) over vast | ||
| 538 | distances with data transfer rates significantly higher than those | ||
| 539 | achievable with commonly used asynchronous modem connections. | ||
| 540 | Usually, a quite expensive external device called a `WAN router' is | ||
| 541 | needed to connect to a WAN. | ||
| 542 | |||
| 543 | As an alternative, WAN routing can be built into the Linux kernel. | ||
| 544 | With relatively inexpensive WAN interface cards available on the | ||
| 545 | market, a perfectly usable router can be built for less than half | ||
| 546 | the price of an external router. If you have one of those cards and | ||
| 547 | wish to use your Linux box as a WAN router, say Y here and also to | ||
| 548 | the WAN driver for your card, below. You will then need the | ||
| 549 | wan-tools package which is available from <ftp://ftp.sangoma.com/>. | ||
| 550 | Read <file:Documentation/networking/wan-router.txt> for more | ||
| 551 | information. | ||
| 552 | |||
| 553 | To compile WAN routing support as a module, choose M here: the | ||
| 554 | module will be called wanrouter. | ||
| 555 | |||
| 556 | If unsure, say N. | ||
| 557 | |||
| 558 | menu "QoS and/or fair queueing" | ||
| 559 | |||
| 560 | config NET_SCHED | ||
| 561 | bool "QoS and/or fair queueing" | ||
| 562 | ---help--- | ||
| 563 | When the kernel has several packets to send out over a network | ||
| 564 | device, it has to decide which ones to send first, which ones to | ||
| 565 | delay, and which ones to drop. This is the job of the packet | ||
| 566 | scheduler, and several different algorithms for how to do this | ||
| 567 | "fairly" have been proposed. | ||
| 568 | |||
| 569 | If you say N here, you will get the standard packet scheduler, which | ||
| 570 | is a FIFO (first come, first served). If you say Y here, you will be | ||
| 571 | able to choose from among several alternative algorithms which can | ||
| 572 | then be attached to different network devices. This is useful for | ||
| 573 | example if some of your network devices are real time devices that | ||
| 574 | need a certain minimum data flow rate, or if you need to limit the | ||
| 575 | maximum data flow rate for traffic which matches specified criteria. | ||
| 576 | This code is considered to be experimental. | ||
| 577 | |||
| 578 | To administer these schedulers, you'll need the user-level utilities | ||
| 579 | from the package iproute2+tc at <ftp://ftp.tux.org/pub/net/ip-routing/>. | ||
| 580 | That package also contains some documentation; for more, check out | ||
| 581 | <http://snafu.freedom.org/linux2.2/iproute-notes.html>. | ||
| 582 | |||
| 583 | This Quality of Service (QoS) support will enable you to use | ||
| 584 | Differentiated Services (diffserv) and Resource Reservation Protocol | ||
| 585 | (RSVP) on your Linux router if you also say Y to "QoS support", | ||
| 586 | "Packet classifier API" and to some classifiers below. Documentation | ||
| 587 | and software is at <http://diffserv.sourceforge.net/>. | ||
| 588 | |||
| 589 | If you say Y here and to "/proc file system" below, you will be able | ||
| 590 | to read status information about packet schedulers from the file | ||
| 591 | /proc/net/psched. | ||
| 592 | |||
| 593 | The available schedulers are listed in the following questions; you | ||
| 594 | can say Y to as many as you like. If unsure, say N now. | ||
| 595 | |||
| 596 | source "net/sched/Kconfig" | 189 | source "net/sched/Kconfig" |
| 597 | 190 | ||
| 598 | endmenu | ||
| 599 | |||
| 600 | menu "Network testing" | 191 | menu "Network testing" |
| 601 | 192 | ||
| 602 | config NET_PKTGEN | 193 | config NET_PKTGEN |
| @@ -635,12 +226,9 @@ config NET_POLL_CONTROLLER | |||
| 635 | def_bool NETPOLL | 226 | def_bool NETPOLL |
| 636 | 227 | ||
| 637 | source "net/ax25/Kconfig" | 228 | source "net/ax25/Kconfig" |
| 638 | |||
| 639 | source "net/irda/Kconfig" | 229 | source "net/irda/Kconfig" |
| 640 | |||
| 641 | source "net/bluetooth/Kconfig" | 230 | source "net/bluetooth/Kconfig" |
| 642 | 231 | ||
| 643 | source "drivers/net/Kconfig" | 232 | endif # if NET |
| 644 | 233 | endmenu # Networking | |
| 645 | endmenu | ||
| 646 | 234 | ||
