|
@@ -33,7 +33,9 @@ public:
|
|
|
/// length of the fixed part of the IAADDR option
|
|
|
static const size_t OPTION6_IAADDR_LEN = 24;
|
|
|
|
|
|
- /// @brief Ctor, used for options constructed (during transmission).
|
|
|
+ /// @brief Constructor, used for options constructed (during transmission).
|
|
|
+ ///
|
|
|
+ /// @throw BadValue if specified addr is not IPv6
|
|
|
///
|
|
|
/// @param type option type
|
|
|
/// @param addr reference to an address
|
|
@@ -42,7 +44,9 @@ public:
|
|
|
Option6IAAddr(uint16_t type, const isc::asiolink::IOAddress& addr,
|
|
|
uint32_t preferred, uint32_t valid);
|
|
|
|
|
|
- /// @brief ctor, used for received options.
|
|
|
+ /// @brief Constructor, used for received options.
|
|
|
+ ///
|
|
|
+ /// @throw OutOfRange if specified option is truncated
|
|
|
///
|
|
|
/// @param type option type
|
|
|
/// @param begin iterator to first byte of option data
|