aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-10 07:03:38 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-10 07:03:38 +0000
commit191836845e4551fe6191dc0d43b45a0232bff8be (patch)
treee6fd859b756304842334d0e0603856be2a5948e6 /networking/udhcp/dhcpc.h
parent75aa615bef478622cd0695b95adcf182fbbc3d95 (diff)
downloadbusybox-191836845e4551fe6191dc0d43b45a0232bff8be.tar.gz
udhcpc: support for -O <option>.
Two important notes: * nissrv and nisdomain are not requested by default anymore! * inconsistency between "XXXsvr" and "XXsrv" in option names resolved, all are "XXXsrv" now. function old new delta udhcpc_main 2494 2600 +106 packed_usage 23023 23067 +44 add_requests 91 119 +28 static.udhcpc_longopts 209 226 +17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 195/0) Total: 195 bytes
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r--networking/udhcp/dhcpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index c0172a84f..e818896c9 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -30,6 +30,7 @@ struct client_config_t {
uint8_t *fqdn; /* Optional fully qualified domain name to use */
int ifindex; /* Index number of the interface to use */
uint8_t arp[6]; /* Our arp address */
+ uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */
};
#define client_config (*(struct client_config_t*)&bb_common_bufsiz1)