diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-10-19 22:40:35 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-10-19 22:40:35 +0200 |
commit | 1f56e51ca1d96b70635eb1b9df1d1ab0edd98a72 (patch) | |
tree | ec991d04a4708e2bc2ac32b251e0ecd853a781cd /include | |
parent | 2ea73b513dfa831e75a297dd602576b40d38be3f (diff) | |
download | busybox-w32-1f56e51ca1d96b70635eb1b9df1d1ab0edd98a72.tar.gz busybox-w32-1f56e51ca1d96b70635eb1b9df1d1ab0edd98a72.tar.bz2 busybox-w32-1f56e51ca1d96b70635eb1b9df1d1ab0edd98a72.zip |
udhcpc: add support for DHCP option 212 (RFC 5969)
The patch is from OpenWRT people.
function old new delta
xmalloc_optname_optval 637 874 +237
dhcp_option_strings 237 243 +6
dhcp_optflags 68 70 +2
len_of_option_as_string 12 13 +1
dhcp_option_lengths 12 13 +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 247/0) Total: 247 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index f79b69365..f0f54ef82 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -814,9 +814,9 @@ void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_F | |||
814 | const char *make_human_readable_str(unsigned long long size, | 814 | const char *make_human_readable_str(unsigned long long size, |
815 | unsigned long block_size, unsigned long display_unit) FAST_FUNC; | 815 | unsigned long block_size, unsigned long display_unit) FAST_FUNC; |
816 | /* Put a string of hex bytes ("1b2e66fe"...), return advanced pointer */ | 816 | /* Put a string of hex bytes ("1b2e66fe"...), return advanced pointer */ |
817 | char *bin2hex(char *buf, const char *cp, int count) FAST_FUNC; | 817 | char *bin2hex(char *dst, const char *src, int count) FAST_FUNC; |
818 | /* Reverse */ | 818 | /* Reverse */ |
819 | char* hex2bin(char *dst, const char *str, int count) FAST_FUNC; | 819 | char* hex2bin(char *dst, const char *src, int count) FAST_FUNC; |
820 | 820 | ||
821 | /* Generate a UUID */ | 821 | /* Generate a UUID */ |
822 | void generate_uuid(uint8_t *buf) FAST_FUNC; | 822 | void generate_uuid(uint8_t *buf) FAST_FUNC; |