X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=src%2Fodhcp6c.h;h=aa0bc224169221e12a2300e6db1c69e64cdbc7cf;hb=4369d2f0e1ab9682d677f2f8fd876329e740fb0b;hp=16a26fec2fa2c06e626655d78047171ff4a23bb5;hpb=a300c7335c5ad78fb053e7c73b45e95e1f3c2ad1;p=odhcp6c.git diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 16a26fe..aa0bc22 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,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) &&\