diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-29 19:33:26 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-29 19:33:26 +0000 |
commit | dfc0740b044cad91100bae35fa060b31a88f40ce (patch) | |
tree | 3a9f63ba36ec3b0a1ae248fb759caafa55f1480c /networking/Config.in | |
parent | 15ca51e3e2a31efc275b616106244d8ec3f8f773 (diff) | |
download | busybox-w32-dfc0740b044cad91100bae35fa060b31a88f40ce.tar.gz busybox-w32-dfc0740b044cad91100bae35fa060b31a88f40ce.tar.bz2 busybox-w32-dfc0740b044cad91100bae35fa060b31a88f40ce.zip |
ll_types.c: optimize link type table, make it conditional
on FEATURE_IP_RARE_PROTOCOLS
function old new delta
static.arphrd_name - 373 +373
static.arphrd_type - 124 +124
ll_type_n2a 58 78 +20
static.arphrd_names 496 - -496
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/0 up/down: 517/-496) Total: 21 bytes
text data bss dec hex filename
776880 974 9420 787274 c034a busybox_old
776594 974 9420 786988 c022c busybox_unstripped
Diffstat (limited to 'networking/Config.in')
-rw-r--r-- | networking/Config.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/networking/Config.in b/networking/Config.in index bd6c6ef7a..7dbad30b3 100644 --- a/networking/Config.in +++ b/networking/Config.in | |||
@@ -463,6 +463,16 @@ config FEATURE_IP_SHORT_FORMS | |||
463 | Say N unless you desparately need the short form of the ip | 463 | Say N unless you desparately need the short form of the ip |
464 | object commands. | 464 | object commands. |
465 | 465 | ||
466 | config FEATURE_IP_RARE_PROTOCOLS | ||
467 | bool "Suport display of rarely-used link types." | ||
468 | default n | ||
469 | depends on IP | ||
470 | help | ||
471 | If you are not going to use links of type "frad", "econet", | ||
472 | "bif" etc, you probably don't need to enable this. | ||
473 | Ethernet, wireless, infrared, ppp/slip, ip tunnelling | ||
474 | link types are supported without this option selected. | ||
475 | |||
466 | config IPADDR | 476 | config IPADDR |
467 | bool | 477 | bool |
468 | default y | 478 | default y |