diff options
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index cc0abd269..e5af62874 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -319,6 +319,17 @@ void udhcp_dump_packet(struct dhcp_packet *packet) FAST_FUNC; | |||
319 | 319 | ||
320 | /* 2nd param is "uint32_t*" */ | 320 | /* 2nd param is "uint32_t*" */ |
321 | int FAST_FUNC udhcp_str2nip(const char *str, void *arg); | 321 | int FAST_FUNC udhcp_str2nip(const char *str, void *arg); |
322 | |||
323 | #if !ENABLE_UDHCPC6 | ||
324 | #define udhcp_insert_new_option(opt_list, code, buffer, length, dhcpv6) \ | ||
325 | udhcp_insert_new_option(opt_list, code, buffer, length) | ||
326 | #endif | ||
327 | void* FAST_FUNC udhcp_insert_new_option(struct option_set **opt_list, | ||
328 | unsigned code, | ||
329 | const void *buffer, | ||
330 | unsigned length, | ||
331 | bool dhcpv6); | ||
332 | |||
322 | /* 2nd param is "struct option_set**" */ | 333 | /* 2nd param is "struct option_set**" */ |
323 | #if !ENABLE_UDHCPC6 | 334 | #if !ENABLE_UDHCPC6 |
324 | #define udhcp_str2optset(str, arg, optflags, option_strings, dhcpv6) \ | 335 | #define udhcp_str2optset(str, arg, optflags, option_strings, dhcpv6) \ |