The type used to store the link layer address option data.
More...
#include <icmpv6.h>
|
typedef std::vector< uint8_t > | address_type |
|
|
uint8_t | option_code |
|
address_type | address |
|
The type used to store the link layer address option data.
Tins::ICMPv6::lladdr_type::lladdr_type |
( |
uint8_t |
option_code = 0 , |
|
|
const address_type & |
address = address_type() |
|
) |
| |
|
inline |
Constructor taking an option code and an address.
- Parameters
-
option_code | The option code. |
address | The address to be stored. |
Tins::ICMPv6::lladdr_type::lladdr_type |
( |
uint8_t |
option_code, |
|
|
const hwaddress_type & |
address |
|
) |
| |
|
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.
- Parameters
-
option_code | The option code. |
address | The address to be stored. |
The documentation for this struct was generated from the following files:
- /home/matias/Projects/libtins/code/include/tins/icmpv6.h
- /home/matias/Projects/libtins/code/src/icmpv6.cpp