The header of a UDP packet.
More...
#include <udp.h>
|
| uint16_t | source_port |
| | The port of the sender.
|
| |
| uint16_t | destination_port |
| | The port of the receiver.
|
| |
| uint16_t | length |
| | The length of the UDP header and data.
|
| |
| uint16_t | checksum |
| | The checksum of the header and data.
|
| |
The header of a UDP packet.
Definition at line 28 of file udp.h.
◆ checksum
| uint16_t MaxOS::net::UDPHeader::checksum |
The checksum of the header and data.
Definition at line 33 of file udp.h.
◆ destination_port
| uint16_t MaxOS::net::UDPHeader::destination_port |
The port of the receiver.
Definition at line 31 of file udp.h.
◆ length
| uint16_t MaxOS::net::UDPHeader::length |
The length of the UDP header and data.
Definition at line 32 of file udp.h.
◆ source_port
| uint16_t MaxOS::net::UDPHeader::source_port |
The port of the sender.
Definition at line 30 of file udp.h.
The documentation for this struct was generated from the following file:
- /home/runner/work/MaxOS/MaxOS/kernel/include/net/udp.h