summaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_common.h
diff options
context:
space:
mode:
authorDenys Vlasenko2011-11-16 20:17:12 +0100
committerDenys Vlasenko2011-11-16 20:17:12 +0100
commita092a89d8f052072e562861f2968573d89e10dd5 (patch)
tree43e7300d1825899e5c95ae9f557d0e2d1efde228 /networking/udhcp/d6_common.h
parent39b233182c0a13200be051b993da181a1db80a87 (diff)
downloadbusybox-a092a89d8f052072e562861f2968573d89e10dd5.zip
busybox-a092a89d8f052072e562861f2968573d89e10dd5.tar.gz
udhcpc6: rudimentary code to export data to script; fix IAADDR parsing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_common.h')
-rw-r--r--networking/udhcp/d6_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/networking/udhcp/d6_common.h b/networking/udhcp/d6_common.h
index 36d822f..4dd7e62 100644
--- a/networking/udhcp/d6_common.h
+++ b/networking/udhcp/d6_common.h
@@ -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)]))