diff options
author | Denys Vlasenko | 2009-07-03 18:14:03 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-03 18:14:03 +0200 |
commit | 97ef65483a40f8622aaa73408dc0909f01ebd118 (patch) | |
tree | e5ea5c626bedf51c271c480eedbea0b827b1f5ed /networking/udhcp/options.h | |
parent | 7895b91743702497efc179a4fe30808e49c67977 (diff) | |
download | busybox-97ef65483a40f8622aaa73408dc0909f01ebd118.zip busybox-97ef65483a40f8622aaa73408dc0909f01ebd118.tar.gz |
udhcpc: support option 0x79 (static routes) (part of bug 341)
function old new delta
xmalloc_optname_optval - 583 +583
dhcp_option_strings 258 266 +8
dhcp_options 70 72 +2
len_of_option_as_string 11 12 +1
dhcp_option_lengths 11 12 +1
udhcp_run_script 1187 669 -518
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/1 up/down: 595/-518) Total: 77 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r-- | networking/udhcp/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 9e62431..aeed369 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h @@ -20,6 +20,7 @@ enum { OPTION_S16, OPTION_U32, OPTION_S32, + OPTION_STATIC_ROUTES, }; /* Client requests this option by default */ @@ -68,6 +69,7 @@ enum { #define DHCP_VENDOR 0x3c #define DHCP_CLIENT_ID 0x3d #define DHCP_FQDN 0x51 +#define DHCP_STATIC_ROUTES 0x79 #define DHCP_END 0xFF /* Offsets in option byte sequence */ #define OPT_CODE 0 |