summaryrefslogtreecommitdiff
path: root/src/odhcp6c.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-07-31 19:05:55 +0200
committerSteven Barth <steven@midlink.org>2013-07-31 19:05:55 +0200
commitb5c20853fcbc081ad950ef2083a4f5c31d6ecb54 (patch)
tree14e9c82cae40e05f95d2f26faef87146ed7bcb87 /src/odhcp6c.h
parent007ae1a6ae8092878adccde1f610ea9dd86e5aad (diff)
downloadodhcp6c-b5c20853fcbc081ad950ef2083a4f5c31d6ecb54.tar.gz
Include IAs in Request to be more compatible with some servers
Diffstat (limited to 'src/odhcp6c.h')
-rw-r--r--src/odhcp6c.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/odhcp6c.h b/src/odhcp6c.h
index 2e7107c..ac0932f 100644
--- a/src/odhcp6c.h
+++ b/src/odhcp6c.h
@@ -158,6 +158,10 @@ struct dhcpv6_server_cand {
int16_t preference;
uint8_t duid_len;
uint8_t duid[130];
+ void *ia_na;
+ void *ia_pd;
+ size_t ia_na_len;
+ size_t ia_pd_len;
};
@@ -236,6 +240,7 @@ void odhcp6c_random(void *buf, size_t len);
void odhcp6c_clear_state(enum odhcp6c_state state);
void odhcp6c_add_state(enum odhcp6c_state state, const void *data, size_t len);
size_t odhcp6c_remove_state(enum odhcp6c_state state, size_t offset, size_t len);
+void* odhcp6c_move_state(enum odhcp6c_state state, size_t *len);
void* odhcp6c_get_state(enum odhcp6c_state state, size_t *len);
// Entry manipulation