X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=src%2Fodhcp6c.h;h=fd3b07a8cf93fe5b9ae753df532ec188689dd533;hb=39c6f57c1cc7702fd6382232c9dc6d30b274cdf0;hp=16a26fec2fa2c06e626655d78047171ff4a23bb5;hpb=a300c7335c5ad78fb053e7c73b45e95e1f3c2ad1;p=odhcp6c.git diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 16a26fe..fd3b07a 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -51,6 +51,7 @@ enum dhcvp6_opt { DHCPV6_OPT_NTP_SERVER = 56, DHCPV6_OPT_SIP_SERVER_D = 21, DHCPV6_OPT_SIP_SERVER_A = 22, + DHCPV6_OPT_PD_EXCLUDE = 67, }; enum dhcpv6_opt_npt { @@ -131,6 +132,17 @@ 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 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) &&\