The type used to store the link layer address option data.
More...
#include <icmpv6.h>
|
typedef std::vector< uint8_t > | address_type |
|
|
| 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.
|
|
|
uint8_t | option_code |
|
address_type | address |
|
The type used to store the link layer address option data.
◆ lladdr_type() [1/2]
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. |
◆ lladdr_type() [2/2]
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:
- /builddir/build/BUILD/libtins-4.5-build/libtins-4.5/include/tins/icmpv6.h
- /builddir/build/BUILD/libtins-4.5-build/libtins-4.5/src/icmpv6.cpp