aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-07-19 00:44:56 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-07-19 00:44:56 +0200
commit1d7266d3b59be361763dab61f680103bbb70f3e9 (patch)
tree631f533af2f9ceb9ba8d5cfcc978a3c33a0393cc /networking
parentb175462422f02a159a14dc5561d8bef6f84b2b66 (diff)
downloadbusybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.gz
busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.bz2
busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.zip
mark Linux-specific configuration options
PLATFORM_LINUX is used as a dependency for applets or features which require Linux-specific interfaces. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/Config.src23
-rw-r--r--networking/udhcp/Config.src2
2 files changed, 24 insertions, 1 deletions
diff --git a/networking/Config.src b/networking/Config.src
index 449436247..26c59e7c1 100644
--- a/networking/Config.src
+++ b/networking/Config.src
@@ -43,6 +43,7 @@ config FEATURE_PREFER_IPV4_ADDRESS
43config VERBOSE_RESOLUTION_ERRORS 43config VERBOSE_RESOLUTION_ERRORS
44 bool "Verbose resolution errors" 44 bool "Verbose resolution errors"
45 default n 45 default n
46 depends on PLATFORM_LINUX #because of xsocket() in libbb/xfuncs_prinf.c
46 help 47 help
47 Enable if you are not satisfied with simplistic 48 Enable if you are not satisfied with simplistic
48 "can't resolve 'hostname.com'" and want to know more. 49 "can't resolve 'hostname.com'" and want to know more.
@@ -51,18 +52,21 @@ config VERBOSE_RESOLUTION_ERRORS
51config ARP 52config ARP
52 bool "arp" 53 bool "arp"
53 default y 54 default y
55 depends on PLATFORM_LINUX
54 help 56 help
55 Manipulate the system ARP cache. 57 Manipulate the system ARP cache.
56 58
57config ARPING 59config ARPING
58 bool "arping" 60 bool "arping"
59 default y 61 default y
62 depends on PLATFORM_LINUX
60 help 63 help
61 Ping hosts by ARP packets. 64 Ping hosts by ARP packets.
62 65
63config BRCTL 66config BRCTL
64 bool "brctl" 67 bool "brctl"
65 default y 68 default y
69 depends on PLATFORM_LINUX
66 help 70 help
67 Manage ethernet bridges. 71 Manage ethernet bridges.
68 Supports addbr/delbr and addif/delif. 72 Supports addbr/delbr and addif/delif.
@@ -95,6 +99,7 @@ config DNSD
95config ETHER_WAKE 99config ETHER_WAKE
96 bool "ether-wake" 100 bool "ether-wake"
97 default y 101 default y
102 depends on PLATFORM_LINUX
98 help 103 help
99 Send a magic packet to wake up sleeping machines. 104 Send a magic packet to wake up sleeping machines.
100 105
@@ -269,6 +274,7 @@ config FEATURE_HTTPD_PROXY
269config IFCONFIG 274config IFCONFIG
270 bool "ifconfig" 275 bool "ifconfig"
271 default y 276 default y
277 depends on PLATFORM_LINUX
272 help 278 help
273 Ifconfig is used to configure the kernel-resident network interfaces. 279 Ifconfig is used to configure the kernel-resident network interfaces.
274 280
@@ -316,6 +322,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS
316config IFENSLAVE 322config IFENSLAVE
317 bool "ifenslave" 323 bool "ifenslave"
318 default y 324 default y
325 depends on PLATFORM_LINUX
319 help 326 help
320 Userspace application to bind several interfaces 327 Userspace application to bind several interfaces
321 to a logical interface (use with kernel bonding driver). 328 to a logical interface (use with kernel bonding driver).
@@ -323,6 +330,7 @@ config IFENSLAVE
323config IFPLUGD 330config IFPLUGD
324 bool "ifplugd" 331 bool "ifplugd"
325 default y 332 default y
333 depends on PLATFORM_LINUX
326 help 334 help
327 Network interface plug detection daemon. 335 Network interface plug detection daemon.
328 336
@@ -364,7 +372,7 @@ config FEATURE_IFUPDOWN_IP
364config FEATURE_IFUPDOWN_IP_BUILTIN 372config FEATURE_IFUPDOWN_IP_BUILTIN
365 bool "Use busybox ip applet" 373 bool "Use busybox ip applet"
366 default y 374 default y
367 depends on FEATURE_IFUPDOWN_IP 375 depends on FEATURE_IFUPDOWN_IP && PLATFORM_LINUX
368 select IP 376 select IP
369 select FEATURE_IP_ADDRESS 377 select FEATURE_IP_ADDRESS
370 select FEATURE_IP_LINK 378 select FEATURE_IP_LINK
@@ -483,6 +491,7 @@ config FEATURE_INETD_RPC
483config IP 491config IP
484 bool "ip" 492 bool "ip"
485 default y 493 default y
494 depends on PLATFORM_LINUX
486 help 495 help
487 The "ip" applet is a TCP/IP interface configuration and routing 496 The "ip" applet is a TCP/IP interface configuration and routing
488 utility. You generally don't need "ip" to use busybox with 497 utility. You generally don't need "ip" to use busybox with
@@ -598,6 +607,7 @@ config FEATURE_IPCALC_LONG_OPTIONS
598config NAMEIF 607config NAMEIF
599 bool "nameif" 608 bool "nameif"
600 default y 609 default y
610 depends on PLATFORM_LINUX
601 select FEATURE_SYSLOG 611 select FEATURE_SYSLOG
602 help 612 help
603 nameif is used to rename network interface by its MAC address. 613 nameif is used to rename network interface by its MAC address.
@@ -626,6 +636,7 @@ config FEATURE_NAMEIF_EXTENDED
626config NETSTAT 636config NETSTAT
627 bool "netstat" 637 bool "netstat"
628 default y 638 default y
639 depends on PLATFORM_LINUX
629 help 640 help
630 netstat prints information about the Linux networking subsystem. 641 netstat prints information about the Linux networking subsystem.
631 642
@@ -654,6 +665,7 @@ config NSLOOKUP
654config NTPD 665config NTPD
655 bool "ntpd" 666 bool "ntpd"
656 default y 667 default y
668 depends on PLATFORM_LINUX
657 help 669 help
658 The NTP client/server daemon. 670 The NTP client/server daemon.
659 671
@@ -668,6 +680,7 @@ config FEATURE_NTPD_SERVER
668config PING 680config PING
669 bool "ping" 681 bool "ping"
670 default y 682 default y
683 depends on PLATFORM_LINUX
671 help 684 help
672 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to 685 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
673 elicit an ICMP ECHO_RESPONSE from a host or gateway. 686 elicit an ICMP ECHO_RESPONSE from a host or gateway.
@@ -696,12 +709,14 @@ config PSCAN
696config ROUTE 709config ROUTE
697 bool "route" 710 bool "route"
698 default y 711 default y
712 depends on PLATFORM_LINUX
699 help 713 help
700 Route displays or manipulates the kernel's IP routing tables. 714 Route displays or manipulates the kernel's IP routing tables.
701 715
702config SLATTACH 716config SLATTACH
703 bool "slattach" 717 bool "slattach"
704 default y 718 default y
719 depends on PLATFORM_LINUX
705 help 720 help
706 slattach is a small utility to attach network interfaces to serial 721 slattach is a small utility to attach network interfaces to serial
707 lines. 722 lines.
@@ -719,6 +734,7 @@ config SLATTACH
719config TCPSVD 734config TCPSVD
720 bool "tcpsvd" 735 bool "tcpsvd"
721 default y 736 default y
737 depends on PLATFORM_LINUX
722 help 738 help
723 tcpsvd listens on a TCP port and runs a program for each new 739 tcpsvd listens on a TCP port and runs a program for each new
724 connection. 740 connection.
@@ -888,6 +904,7 @@ config TFTP_DEBUG
888config TRACEROUTE 904config TRACEROUTE
889 bool "traceroute" 905 bool "traceroute"
890 default y 906 default y
907 depends on PLATFORM_LINUX
891 help 908 help
892 Utility to trace the route of IP packets. 909 Utility to trace the route of IP packets.
893 910
@@ -924,6 +941,7 @@ config FEATURE_TRACEROUTE_USE_ICMP
924config TUNCTL 941config TUNCTL
925 bool "tunctl" 942 bool "tunctl"
926 default y 943 default y
944 depends on PLATFORM_LINUX
927 help 945 help
928 tunctl creates or deletes tun devices. 946 tunctl creates or deletes tun devices.
929 947
@@ -949,6 +967,7 @@ config IFUPDOWN_UDHCPC_CMD_OPTIONS
949config UDPSVD 967config UDPSVD
950 bool "udpsvd" 968 bool "udpsvd"
951 default y 969 default y
970 depends on PLATFORM_LINUX
952 help 971 help
953 udpsvd listens on an UDP port and runs a program for each new 972 udpsvd listens on an UDP port and runs a program for each new
954 connection. 973 connection.
@@ -956,6 +975,7 @@ config UDPSVD
956config VCONFIG 975config VCONFIG
957 bool "vconfig" 976 bool "vconfig"
958 default y 977 default y
978 depends on PLATFORM_LINUX
959 help 979 help
960 Creates, removes, and configures VLAN interfaces 980 Creates, removes, and configures VLAN interfaces
961 981
@@ -990,6 +1010,7 @@ config FEATURE_WGET_LONG_OPTIONS
990config ZCIP 1010config ZCIP
991 bool "zcip" 1011 bool "zcip"
992 default y 1012 default y
1013 depends on PLATFORM_LINUX
993 select FEATURE_SYSLOG 1014 select FEATURE_SYSLOG
994 help 1015 help
995 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. 1016 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
index aac88569b..331dffc2e 100644
--- a/networking/udhcp/Config.src
+++ b/networking/udhcp/Config.src
@@ -8,6 +8,7 @@ INSERT
8config UDHCPD 8config UDHCPD
9 bool "udhcp server (udhcpd)" 9 bool "udhcp server (udhcpd)"
10 default y 10 default y
11 depends on PLATFORM_LINUX
11 help 12 help
12 udhcpd is a DHCP server geared primarily toward embedded systems, 13 udhcpd is a DHCP server geared primarily toward embedded systems,
13 while striving to be fully functional and RFC compliant. 14 while striving to be fully functional and RFC compliant.
@@ -51,6 +52,7 @@ config DHCPD_LEASES_FILE
51config UDHCPC 52config UDHCPC
52 bool "udhcp client (udhcpc)" 53 bool "udhcp client (udhcpc)"
53 default y 54 default y
55 depends on PLATFORM_LINUX
54 help 56 help
55 udhcpc is a DHCP client geared primarily toward embedded systems, 57 udhcpc is a DHCP client geared primarily toward embedded systems,
56 while striving to be fully functional and RFC compliant. 58 while striving to be fully functional and RFC compliant.