ICMP header (type, code, checksum) (4 bytes).
More...
#include <icmp4.hxx>
|
| constexpr auto | type_u8 () const noexcept -> uint8_t |
| constexpr auto | code_u8 () const noexcept -> uint8_t |
| constexpr auto | checksum () const noexcept -> uint16_t |
| constexpr auto | type_known () const noexcept -> std::optional< ICMPv4Type > |
| constexpr void | set_checksum (uint16_t v) noexcept |
◆ checksum()
| auto vbvx::ICMPv4Header::checksum |
( |
| ) |
const -> uint16_t |
|
inlineconstexprnoexcept |
◆ code_u8()
| auto vbvx::ICMPv4Header::code_u8 |
( |
| ) |
const -> uint8_t |
|
inlineconstexprnoexcept |
◆ set_checksum()
| void vbvx::ICMPv4Header::set_checksum |
( |
uint16_t | v | ) |
|
|
inlineconstexprnoexcept |
◆ type_known()
| auto vbvx::ICMPv4Header::type_known |
( |
| ) |
const -> std::optional< ICMPv4Type > |
|
inlineconstexprnoexcept |
◆ type_u8()
| auto vbvx::ICMPv4Header::type_u8 |
( |
| ) |
const -> uint8_t |
|
inlineconstexprnoexcept |
◆ checksum_be
| uint16_t vbvx::ICMPv4Header::checksum_be |
◆ code
| uint8_t vbvx::ICMPv4Header::code |
◆ type
| uint8_t vbvx::ICMPv4Header::type |
The documentation for this struct was generated from the following file: