UDP header (8 bytes).
More...
#include <udp_header.hxx>
|
| constexpr auto | src_port () const noexcept -> uint16_t |
| constexpr auto | dst_port () const noexcept -> uint16_t |
| constexpr auto | length () const noexcept -> uint16_t |
| constexpr auto | checksum () const noexcept -> uint16_t |
| constexpr void | set_src_port (uint16_t v) noexcept |
| constexpr void | set_dst_port (uint16_t v) noexcept |
| constexpr void | set_length (uint16_t v) noexcept |
| constexpr void | set_checksum (uint16_t v) noexcept |
◆ checksum()
| auto vbvx::UDPHeader::checksum |
( |
| ) |
const -> uint16_t |
|
inlineconstexprnoexcept |
◆ dst_port()
| auto vbvx::UDPHeader::dst_port |
( |
| ) |
const -> uint16_t |
|
inlineconstexprnoexcept |
◆ length()
| auto vbvx::UDPHeader::length |
( |
| ) |
const -> uint16_t |
|
inlineconstexprnoexcept |
◆ set_checksum()
| void vbvx::UDPHeader::set_checksum |
( |
uint16_t | v | ) |
|
|
inlineconstexprnoexcept |
◆ set_dst_port()
| void vbvx::UDPHeader::set_dst_port |
( |
uint16_t | v | ) |
|
|
inlineconstexprnoexcept |
◆ set_length()
| void vbvx::UDPHeader::set_length |
( |
uint16_t | v | ) |
|
|
inlineconstexprnoexcept |
◆ set_src_port()
| void vbvx::UDPHeader::set_src_port |
( |
uint16_t | v | ) |
|
|
inlineconstexprnoexcept |
◆ src_port()
| auto vbvx::UDPHeader::src_port |
( |
| ) |
const -> uint16_t |
|
inlineconstexprnoexcept |
◆ checksum_be
| uint16_t vbvx::UDPHeader::checksum_be |
◆ dst_port_be
| uint16_t vbvx::UDPHeader::dst_port_be |
◆ length_be
| uint16_t vbvx::UDPHeader::length_be |
◆ src_port_be
| uint16_t vbvx::UDPHeader::src_port_be |
The documentation for this struct was generated from the following file: