libtins 4.5
|
The type used to store the link layer address option data. More...
#include <icmpv6.h>
Public Types | |
typedef std::vector< uint8_t > | address_type |
Public Member Functions | |
lladdr_type (uint8_t option_code=0, const address_type &address=address_type()) | |
lladdr_type (uint8_t option_code, const hwaddress_type &address) | |
Constructor taking an option code and hwaddress_type. | |
Static Public Member Functions | |
static lladdr_type | from_option (const option &opt) |
Public Attributes | |
uint8_t | option_code |
address_type | address |
The type used to store the link layer address option data.
|
inline |
Constructor taking an option code and an address.
option_code | The option code. |
address | The address to be stored. |
|
inline |
Constructor taking an option code and hwaddress_type.
This is a helper constructor, since it'll be common to use hwaddress_type as the link layer address.
option_code | The option code. |
address | The address to be stored. |