aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/Config.in134
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
340if CONFIG_IP && CONFIG_IPADDR 340config 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
344endif 344 help
345if ! (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.
352endif
353
354if CONFIG_IP && CONFIG_IPLINK
355 config CONFIG_FEATURE_IP_LINK
356 default y
357 comment " link (forced enabled for iplink)"
358endif
359if !(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".
366endif
367
368if CONFIG_IP && CONFIG_IPROUTE
369 config CONFIG_FEATURE_IP_ROUTE
370 default y
371 comment " route (forced enabled for iproute)"
372endif
373if !(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".
380endif
381
382if CONFIG_IP && CONFIG_IPTUNNEL
383 config CONFIG_FEATURE_IP_TUNNEL
384 default y
385 comment " tunnel (forced enabled for iptunnel)"
386endif
387if !(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".
394endif
395 346
396config CONFIG_IPCALC 347config 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
403config CONFIG_FEATURE_IPCALC_FANCY 354config 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
410config CONFIG_IPADDR 361config 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
416config CONFIG_IPLINK 368config 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
382config CONFIG_IPADDR
383 bool
384 default y
385 depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ADDRESS
386
387config CONFIG_IPLINK
388 bool
389 default y
390 depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_LINK
421 391
422config CONFIG_IPROUTE 392config 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
428config CONFIG_IPTUNNEL 397config CONFIG_IPTUNNEL
429 bool "iptunnel" 398 bool
399 default y
400 depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL
401
402config 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
409config 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
434config CONFIG_NAMEIF 416config CONFIG_NAMEIF
435 bool "nameif" 417 bool "nameif"