diff options
author | Steven Barth <steven@midlink.org> | 2013-04-08 08:58:58 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-04-08 08:58:58 +0200 |
commit | 4369d2f0e1ab9682d677f2f8fd876329e740fb0b (patch) | |
tree | 4eefc2f455b59fde0b77f3202aadf89df35448ac /src/odhcp6c.h | |
parent | afe1e5d900c7c1fa66485b70be4691fcf5c58339 (diff) | |
download | odhcp6c-4369d2f0e1ab9682d677f2f8fd876329e740fb0b.tar.gz |
Add reconfigure authentication
Diffstat (limited to 'src/odhcp6c.h')
-rw-r--r-- | src/odhcp6c.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/odhcp6c.h b/src/odhcp6c.h index b487b52..aa0bc22 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -132,6 +132,18 @@ struct dhcpv6_duid { uint8_t data[128]; } _packed; +struct dhcpv6_auth_reconfigure { + uint16_t type; + uint16_t len; + uint8_t protocol; + uint8_t algorithm; + uint8_t rdm; + uint64_t replay; + uint8_t auth; + uint8_t reconf_type; + uint8_t key[16]; +} _packed; + #define dhcpv6_for_each_option(start, end, otype, olen, odata)\ for (uint8_t *_o = (uint8_t*)(start); _o + 4 <= (uint8_t*)(end) &&\ |