diff options
-rw-r--r-- | networking/Config.in | 134 |
1 files changed, 58 insertions, 76 deletions
diff --git a/networking/Config.in b/networking/Config.in index 03b8d7bde..e44005394 100644 --- a/networking/Config.in +++ b/networking/Config.in | |||
@@ -337,99 +337,81 @@ config CONFIG_IP | |||
337 | utility. You generally don't need "ip" to use busybox with | 337 | utility. You generally don't need "ip" to use busybox with |
338 | TCP/IP. | 338 | TCP/IP. |
339 | 339 | ||
340 | if CONFIG_IP && CONFIG_IPADDR | 340 | config CONFIG_FEATURE_IP_ADDRESS |
341 | config CONFIG_FEATURE_IP_ADDRESS | 341 | bool "ip address" |
342 | default y | 342 | default y |
343 | comment " address (forced enabled for ipaddr)" | 343 | depends on CONFIG_IP |
344 | endif | 344 | help |
345 | if ! (CONFIG_IP && CONFIG_IPADDR) | 345 | Address manipulation support for the "ip" applet. |
346 | config CONFIG_FEATURE_IP_ADDRESS | ||
347 | bool " address" | ||
348 | default y | ||
349 | depends on CONFIG_IP | ||
350 | help | ||
351 | Address manipulation support for the "ip" applet. | ||
352 | endif | ||
353 | |||
354 | if CONFIG_IP && CONFIG_IPLINK | ||
355 | config CONFIG_FEATURE_IP_LINK | ||
356 | default y | ||
357 | comment " link (forced enabled for iplink)" | ||
358 | endif | ||
359 | if !(CONFIG_IP && CONFIG_IPLINK) | ||
360 | config CONFIG_FEATURE_IP_LINK | ||
361 | bool " link" | ||
362 | default y | ||
363 | depends on CONFIG_IP | ||
364 | help | ||
365 | Configure network devices with "ip". | ||
366 | endif | ||
367 | |||
368 | if CONFIG_IP && CONFIG_IPROUTE | ||
369 | config CONFIG_FEATURE_IP_ROUTE | ||
370 | default y | ||
371 | comment " route (forced enabled for iproute)" | ||
372 | endif | ||
373 | if !(CONFIG_IP && CONFIG_IPROUTE) | ||
374 | config CONFIG_FEATURE_IP_ROUTE | ||
375 | bool " route" | ||
376 | default y | ||
377 | depends on CONFIG_IP | ||
378 | help | ||
379 | Add support for routing table management to "ip". | ||
380 | endif | ||
381 | |||
382 | if CONFIG_IP && CONFIG_IPTUNNEL | ||
383 | config CONFIG_FEATURE_IP_TUNNEL | ||
384 | default y | ||
385 | comment " tunnel (forced enabled for iptunnel)" | ||
386 | endif | ||
387 | if !(CONFIG_IP && CONFIG_IPTUNNEL) | ||
388 | config CONFIG_FEATURE_IP_TUNNEL | ||
389 | bool " tunnel" | ||
390 | default n | ||
391 | depends on CONFIG_IP | ||
392 | help | ||
393 | Add support for tunneling commands to "ip". | ||
394 | endif | ||
395 | 346 | ||
396 | config CONFIG_IPCALC | 347 | config CONFIG_FEATURE_IP_LINK |
397 | bool "ipcalc" | 348 | bool "ip link" |
398 | default n | 349 | default y |
350 | depends on CONFIG_IP | ||
399 | help | 351 | help |
400 | ipcalc takes an IP address and netmask and calculates the | 352 | Configure network devices with "ip". |
401 | resulting broadcast, network, and host range. | ||
402 | 353 | ||
403 | config CONFIG_FEATURE_IPCALC_FANCY | 354 | config CONFIG_FEATURE_IP_ROUTE |
404 | bool " Fancy IPCALC, more options, adds 1 kbyte" | 355 | bool "ip route" |
405 | default y | 356 | default y |
406 | depends on CONFIG_IPCALC | 357 | depends on CONFIG_IP |
407 | help | 358 | help |
408 | Adds the options hostname, prefix and silent to the output of "ipcalc". | 359 | Add support for routing table management to "ip". |
409 | 360 | ||
410 | config CONFIG_IPADDR | 361 | config CONFIG_FEATURE_IP_TUNNEL |
411 | bool "ipaddr" | 362 | bool "ip tunnel" |
412 | default n | 363 | default n |
364 | depends on CONFIG_IP | ||
413 | help | 365 | help |
414 | Equivalent to selecting address support to "ip", above. | 366 | Add support for tunneling commands to "ip". |
415 | 367 | ||
416 | config CONFIG_IPLINK | 368 | config CONFIG_FEATURE_IP_SHORT_FORMS |
417 | bool "iplink" | 369 | bool "Support short forms of ip commands." |
418 | default n | 370 | default n |
371 | depends on CONFIG_IP | ||
419 | help | 372 | help |
420 | Equivalent to selecting link support to "ip", above. | 373 | Also support short-form of ip <OBJECT> commands: |
374 | ip addr -> ipaddr | ||
375 | ip link -> iplink | ||
376 | ip route -> iproute | ||
377 | ip tunnel -> iptunnel | ||
378 | |||
379 | Say N unless you desparately need the short form of the ip | ||
380 | object commands. | ||
381 | |||
382 | config CONFIG_IPADDR | ||
383 | bool | ||
384 | default y | ||
385 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ADDRESS | ||
386 | |||
387 | config CONFIG_IPLINK | ||
388 | bool | ||
389 | default y | ||
390 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_LINK | ||
421 | 391 | ||
422 | config CONFIG_IPROUTE | 392 | config CONFIG_IPROUTE |
423 | bool "iproute" | 393 | bool |
424 | default n | 394 | default y |
425 | help | 395 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ROUTE |
426 | Equivalent to selecting route support to "ip", above. | ||
427 | 396 | ||
428 | config CONFIG_IPTUNNEL | 397 | config CONFIG_IPTUNNEL |
429 | bool "iptunnel" | 398 | bool |
399 | default y | ||
400 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL | ||
401 | |||
402 | config CONFIG_IPCALC | ||
403 | bool "ipcalc" | ||
430 | default n | 404 | default n |
431 | help | 405 | help |
432 | Equivalent to selecting tunnel support to "ip", above. | 406 | ipcalc takes an IP address and netmask and calculates the |
407 | resulting broadcast, network, and host range. | ||
408 | |||
409 | config CONFIG_FEATURE_IPCALC_FANCY | ||
410 | bool " Fancy IPCALC, more options, adds 1 kbyte" | ||
411 | default y | ||
412 | depends on CONFIG_IPCALC | ||
413 | help | ||
414 | Adds the options hostname, prefix and silent to the output of "ipcalc". | ||
433 | 415 | ||
434 | config CONFIG_NAMEIF | 416 | config CONFIG_NAMEIF |
435 | bool "nameif" | 417 | bool "nameif" |