udhcpc: tweak help text
[oweals/busybox.git] / networking / udhcp / d6_common.h
index 36d822f7e06ee039b680a66911c4a11b8823bf0c..eb211ea0f14517994c93e9c91a2ac3e0d35bf066 100644 (file)
@@ -81,11 +81,16 @@ struct d6_option {
 #define D6_OPT_RECONF_MSG    19
 #define D6_OPT_RECONF_ACCEPT 20
 
+#define D6_OPT_IA_PD         25
+#define D6_OPT_IAPREFIX      26
+
 /*** Other shared functions ***/
 
 struct client6_data_t {
        struct d6_option *server_id;
        struct d6_option *ia_na;
+       char **env_ptr;
+       unsigned env_idx;
 };
 
 #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)]))
@@ -110,7 +115,11 @@ int FAST_FUNC d6_send_kernel_packet(
                struct in6_addr *dst_ipv6, int dest_port
 );
 
+#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 2
 void FAST_FUNC d6_dump_packet(struct d6_packet *packet);
+#else
+# define d6_dump_packet(packet) ((void)0)
+#endif
 
 
 POP_SAVED_FUNCTION_VISIBILITY