HMAC TLV view for type==5 (HMAC). The 'value' pointer is the TLV variable data where the first two bytes are D/reserved, followed by a 4-octet HMAC Key ID, then the HMAC bytes.
More...
#include <srv6_header.hxx>
|
| constexpr bool | valid () const noexcept |
| constexpr bool | d_bit () const noexcept |
| constexpr auto | key_id () const noexcept -> uint32_t |
| constexpr auto | hmac () const noexcept -> std::span< const uint8_t > |
HMAC TLV view for type==5 (HMAC). The 'value' pointer is the TLV variable data where the first two bytes are D/reserved, followed by a 4-octet HMAC Key ID, then the HMAC bytes.
◆ d_bit()
| bool vbvx::SRv6HmacTlvView::d_bit |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ hmac()
| auto vbvx::SRv6HmacTlvView::hmac |
( |
| ) |
const -> std::span< const uint8_t > |
|
inlineconstexprnoexcept |
◆ key_id()
| auto vbvx::SRv6HmacTlvView::key_id |
( |
| ) |
const -> uint32_t |
|
inlineconstexprnoexcept |
◆ valid()
| bool vbvx::SRv6HmacTlvView::valid |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ length
| uint8_t vbvx::SRv6HmacTlvView::length |
◆ value
| const uint8_t* vbvx::SRv6HmacTlvView::value |
The documentation for this struct was generated from the following file: