diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 02:21:10 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 02:21:10 +0100 |
commit | 4662de0511487b4da965c4b2158bae318f3d80a8 (patch) | |
tree | 05647d5e10ec8ba1a0f50dbe396d2c04bda0c977 /networking | |
parent | 8656676a2199e2701e7e5656ef3d2092dedd9ba5 (diff) | |
download | busybox-w32-4662de0511487b4da965c4b2158bae318f3d80a8.tar.gz busybox-w32-4662de0511487b4da965c4b2158bae318f3d80a8.tar.bz2 busybox-w32-4662de0511487b4da965c4b2158bae318f3d80a8.zip |
replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/Config.in | 2 | ||||
-rw-r--r-- | networking/ifupdown.c | 4 | ||||
-rw-r--r-- | networking/udhcp/Config.in | 28 | ||||
-rw-r--r-- | networking/udhcp/Kbuild | 12 |
4 files changed, 23 insertions, 23 deletions
diff --git a/networking/Config.in b/networking/Config.in index 668823784..5222b78d4 100644 --- a/networking/Config.in +++ b/networking/Config.in | |||
@@ -923,7 +923,7 @@ source networking/udhcp/Config.in | |||
923 | config IFUPDOWN_UDHCPC_CMD_OPTIONS | 923 | config IFUPDOWN_UDHCPC_CMD_OPTIONS |
924 | string "ifup udhcpc command line options" | 924 | string "ifup udhcpc command line options" |
925 | default "-R -n" | 925 | default "-R -n" |
926 | depends on IFUPDOWN && APP_UDHCPC | 926 | depends on IFUPDOWN && UDHCPC |
927 | help | 927 | help |
928 | Command line options to pass to udhcpc from ifup. | 928 | Command line options to pass to udhcpc from ifup. |
929 | Intended to alter options not available in /etc/network/interfaces. | 929 | Intended to alter options not available in /etc/network/interfaces. |
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index b16186ec7..d28c0b867 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -522,7 +522,7 @@ static int FAST_FUNC dhcp_up(struct interface_defn_t *ifd, execfn *exec) | |||
522 | bb_error_msg("no dhcp clients found"); | 522 | bb_error_msg("no dhcp clients found"); |
523 | return 0; | 523 | return 0; |
524 | } | 524 | } |
525 | #elif ENABLE_APP_UDHCPC | 525 | #elif ENABLE_UDHCPC |
526 | static int FAST_FUNC dhcp_up(struct interface_defn_t *ifd, execfn *exec) | 526 | static int FAST_FUNC dhcp_up(struct interface_defn_t *ifd, execfn *exec) |
527 | { | 527 | { |
528 | #if ENABLE_FEATURE_IFUPDOWN_IP | 528 | #if ENABLE_FEATURE_IFUPDOWN_IP |
@@ -569,7 +569,7 @@ static int FAST_FUNC dhcp_down(struct interface_defn_t *ifd, execfn *exec) | |||
569 | result += static_down(ifd, exec); | 569 | result += static_down(ifd, exec); |
570 | return ((result == 3) ? 3 : 0); | 570 | return ((result == 3) ? 3 : 0); |
571 | } | 571 | } |
572 | #elif ENABLE_APP_UDHCPC | 572 | #elif ENABLE_UDHCPC |
573 | static int FAST_FUNC dhcp_down(struct interface_defn_t *ifd, execfn *exec) | 573 | static int FAST_FUNC dhcp_down(struct interface_defn_t *ifd, execfn *exec) |
574 | { | 574 | { |
575 | int result; | 575 | int result; |
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in index 5f76dd8d4..fd2a61cc0 100644 --- a/networking/udhcp/Config.in +++ b/networking/udhcp/Config.in | |||
@@ -3,26 +3,26 @@ | |||
3 | # see scripts/kbuild/config-language.txt. | 3 | # see scripts/kbuild/config-language.txt. |
4 | # | 4 | # |
5 | 5 | ||
6 | config APP_UDHCPD | 6 | config UDHCPD |
7 | bool "udhcp server (udhcpd)" | 7 | bool "udhcp server (udhcpd)" |
8 | default n | 8 | default n |
9 | help | 9 | help |
10 | udhcpd is a DHCP server geared primarily toward embedded systems, | 10 | udhcpd is a DHCP server geared primarily toward embedded systems, |
11 | while striving to be fully functional and RFC compliant. | 11 | while striving to be fully functional and RFC compliant. |
12 | 12 | ||
13 | config APP_DHCPRELAY | 13 | config DHCPRELAY |
14 | bool "dhcprelay" | 14 | bool "dhcprelay" |
15 | default n | 15 | default n |
16 | depends on APP_UDHCPD | 16 | depends on UDHCPD |
17 | help | 17 | help |
18 | dhcprelay listens for dhcp requests on one or more interfaces | 18 | dhcprelay listens for dhcp requests on one or more interfaces |
19 | and forwards these requests to a different interface or dhcp | 19 | and forwards these requests to a different interface or dhcp |
20 | server. | 20 | server. |
21 | 21 | ||
22 | config APP_DUMPLEASES | 22 | config DUMPLEASES |
23 | bool "Lease display utility (dumpleases)" | 23 | bool "Lease display utility (dumpleases)" |
24 | default n | 24 | default n |
25 | depends on APP_UDHCPD | 25 | depends on UDHCPD |
26 | help | 26 | help |
27 | dumpleases displays the leases written out by the udhcpd server. | 27 | dumpleases displays the leases written out by the udhcpd server. |
28 | Lease times are stored in the file by time remaining in lease, or | 28 | Lease times are stored in the file by time remaining in lease, or |
@@ -31,7 +31,7 @@ config APP_DUMPLEASES | |||
31 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY | 31 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY |
32 | bool "Rewrite the lease file at every new acknowledge" | 32 | bool "Rewrite the lease file at every new acknowledge" |
33 | default n | 33 | default n |
34 | depends on APP_UDHCPD | 34 | depends on UDHCPD |
35 | help | 35 | help |
36 | If selected, udhcpd will write a new file with leases every | 36 | If selected, udhcpd will write a new file with leases every |
37 | time a new lease has been accepted, thus eliminating the need | 37 | time a new lease has been accepted, thus eliminating the need |
@@ -41,12 +41,12 @@ config FEATURE_UDHCPD_WRITE_LEASES_EARLY | |||
41 | config DHCPD_LEASES_FILE | 41 | config DHCPD_LEASES_FILE |
42 | string "Absolute path to lease file" | 42 | string "Absolute path to lease file" |
43 | default "/var/lib/misc/udhcpd.leases" | 43 | default "/var/lib/misc/udhcpd.leases" |
44 | depends on APP_UDHCPD | 44 | depends on UDHCPD |
45 | help | 45 | help |
46 | udhcpd stores addresses in a lease file. This is the absolute path | 46 | udhcpd stores addresses in a lease file. This is the absolute path |
47 | of the file. Normally it is safe to leave it untouched. | 47 | of the file. Normally it is safe to leave it untouched. |
48 | 48 | ||
49 | config APP_UDHCPC | 49 | config UDHCPC |
50 | bool "udhcp client (udhcpc)" | 50 | bool "udhcp client (udhcpc)" |
51 | default n | 51 | default n |
52 | help | 52 | help |
@@ -59,7 +59,7 @@ config APP_UDHCPC | |||
59 | config FEATURE_UDHCPC_ARPING | 59 | config FEATURE_UDHCPC_ARPING |
60 | bool "Verify that the offered address is free, using ARP ping" | 60 | bool "Verify that the offered address is free, using ARP ping" |
61 | default y | 61 | default y |
62 | depends on APP_UDHCPC | 62 | depends on UDHCPC |
63 | help | 63 | help |
64 | If selected, udhcpc will send ARP probes and make sure | 64 | If selected, udhcpc will send ARP probes and make sure |
65 | the offered address is really not in use by anyone. The client | 65 | the offered address is really not in use by anyone. The client |
@@ -69,7 +69,7 @@ config FEATURE_UDHCPC_ARPING | |||
69 | config FEATURE_UDHCP_PORT | 69 | config FEATURE_UDHCP_PORT |
70 | bool "Enable '-P port' option for udhcpd and udhcpc" | 70 | bool "Enable '-P port' option for udhcpd and udhcpc" |
71 | default n | 71 | default n |
72 | depends on APP_UDHCPD || APP_UDHCPC | 72 | depends on UDHCPD || UDHCPC |
73 | help | 73 | help |
74 | At the cost of ~300 bytes, enables -P port option. | 74 | At the cost of ~300 bytes, enables -P port option. |
75 | This feature is typically not needed. | 75 | This feature is typically not needed. |
@@ -78,7 +78,7 @@ config UDHCP_DEBUG | |||
78 | int "Maximum verbosity level for udhcp applets (0..9)" | 78 | int "Maximum verbosity level for udhcp applets (0..9)" |
79 | default 0 | 79 | default 0 |
80 | range 0 9 | 80 | range 0 9 |
81 | depends on APP_UDHCPD || APP_UDHCPC || APP_DHCPRELAY | 81 | depends on UDHCPD || UDHCPC || DHCPRELAY |
82 | help | 82 | help |
83 | Verbosity can be increased with multiple -v options. | 83 | Verbosity can be increased with multiple -v options. |
84 | This options controls how high it can be cranked up. | 84 | This options controls how high it can be cranked up. |
@@ -89,7 +89,7 @@ config UDHCP_DEBUG | |||
89 | config FEATURE_UDHCP_RFC3397 | 89 | config FEATURE_UDHCP_RFC3397 |
90 | bool "Support for RFC3397 domain search (experimental)" | 90 | bool "Support for RFC3397 domain search (experimental)" |
91 | default n | 91 | default n |
92 | depends on APP_UDHCPD || APP_UDHCPC | 92 | depends on UDHCPD || UDHCPC |
93 | help | 93 | help |
94 | If selected, both client and server will support passing of domain | 94 | If selected, both client and server will support passing of domain |
95 | search lists via option 119, specified in RFC3397. | 95 | search lists via option 119, specified in RFC3397. |
@@ -97,7 +97,7 @@ config FEATURE_UDHCP_RFC3397 | |||
97 | config UDHCPC_DEFAULT_SCRIPT | 97 | config UDHCPC_DEFAULT_SCRIPT |
98 | string "Absolute path to config script" | 98 | string "Absolute path to config script" |
99 | default "/usr/share/udhcpc/default.script" | 99 | default "/usr/share/udhcpc/default.script" |
100 | depends on APP_UDHCPC | 100 | depends on UDHCPC |
101 | help | 101 | help |
102 | This script is called after udhcpc receives an answer. See | 102 | This script is called after udhcpc receives an answer. See |
103 | examples/udhcp for a working example. Normally it is safe | 103 | examples/udhcp for a working example. Normally it is safe |
@@ -107,7 +107,7 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS | |||
107 | int "DHCP options slack buffer size" | 107 | int "DHCP options slack buffer size" |
108 | default 80 | 108 | default 80 |
109 | range 0 924 | 109 | range 0 924 |
110 | depends on APP_UDHCPD || APP_UDHCPC | 110 | depends on UDHCPD || UDHCPC |
111 | help | 111 | help |
112 | Some buggy DHCP servers send DHCP offer packets with option | 112 | Some buggy DHCP servers send DHCP offer packets with option |
113 | field larger than we expect (which might also be considered a | 113 | field larger than we expect (which might also be considered a |
diff --git a/networking/udhcp/Kbuild b/networking/udhcp/Kbuild index e938076f7..d1d35670f 100644 --- a/networking/udhcp/Kbuild +++ b/networking/udhcp/Kbuild | |||
@@ -6,20 +6,20 @@ | |||
6 | # | 6 | # |
7 | 7 | ||
8 | lib-y:= | 8 | lib-y:= |
9 | lib-$(CONFIG_APP_UDHCPC) += common.o options.o packet.o \ | 9 | lib-$(CONFIG_UDHCPC) += common.o options.o packet.o \ |
10 | signalpipe.o socket.o | 10 | signalpipe.o socket.o |
11 | lib-$(CONFIG_APP_UDHCPD) += common.o options.o packet.o \ | 11 | lib-$(CONFIG_UDHCPD) += common.o options.o packet.o \ |
12 | signalpipe.o socket.o | 12 | signalpipe.o socket.o |
13 | 13 | ||
14 | lib-$(CONFIG_APP_UDHCPC) += dhcpc.o clientpacket.o clientsocket.o \ | 14 | lib-$(CONFIG_UDHCPC) += dhcpc.o clientpacket.o clientsocket.o \ |
15 | script.o | 15 | script.o |
16 | 16 | ||
17 | UDHCPC_NEEDS_ARPING-$(CONFIG_FEATURE_UDHCPC_ARPING) = y | 17 | UDHCPC_NEEDS_ARPING-$(CONFIG_FEATURE_UDHCPC_ARPING) = y |
18 | lib-$(UDHCPC_NEEDS_ARPING-y) += arpping.o | 18 | lib-$(UDHCPC_NEEDS_ARPING-y) += arpping.o |
19 | 19 | ||
20 | lib-$(CONFIG_APP_UDHCPD) += dhcpd.o arpping.o files.o leases.o \ | 20 | lib-$(CONFIG_UDHCPD) += dhcpd.o arpping.o files.o leases.o \ |
21 | serverpacket.o static_leases.o | 21 | serverpacket.o static_leases.o |
22 | 22 | ||
23 | lib-$(CONFIG_APP_DUMPLEASES) += dumpleases.o | 23 | lib-$(CONFIG_DUMPLEASES) += dumpleases.o |
24 | lib-$(CONFIG_APP_DHCPRELAY) += dhcprelay.o | 24 | lib-$(CONFIG_DHCPRELAY) += dhcprelay.o |
25 | lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o | 25 | lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o |