VLAN Tag Control Information (TCI) helpers and layout.
More...
#include <ether.hxx>
|
| constexpr auto | pcp () const noexcept -> VlanPcp |
| constexpr bool | dei () const noexcept |
| constexpr auto | vid () const noexcept -> uint16_t |
| constexpr void | set_pcp (VlanPcp v) noexcept |
| constexpr void | set_dei (bool v) noexcept |
| constexpr void | set_vid (uint16_t v) noexcept |
◆ dei()
| bool vbvx::VlanTci::dei |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ pcp()
| auto vbvx::VlanTci::pcp |
( |
| ) |
const -> VlanPcp |
|
inlineconstexprnoexcept |
◆ set_dei()
| void vbvx::VlanTci::set_dei |
( |
bool | v | ) |
|
|
inlineconstexprnoexcept |
◆ set_pcp()
| void vbvx::VlanTci::set_pcp |
( |
VlanPcp | v | ) |
|
|
inlineconstexprnoexcept |
◆ set_vid()
| void vbvx::VlanTci::set_vid |
( |
uint16_t | v | ) |
|
|
inlineconstexprnoexcept |
◆ vid()
| auto vbvx::VlanTci::vid |
( |
| ) |
const -> uint16_t |
|
inlineconstexprnoexcept |
◆ raw
| uint16_t vbvx::VlanTci::raw {} |
The documentation for this struct was generated from the following file: