Struct SYN_UdpHeader¶
UDP packet header structure (8 bytes).
#include <syn_udp.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | checksum |
| uint16_t | dst_port |
| uint16_t | length |
| uint16_t | src_port |
Public Attributes Documentation¶
variable checksum¶
Checksum over pseudo-header and payload.
variable dst_port¶
Destination port number.
variable length¶
Length of UDP header + payload in bytes.
variable src_port¶
Source port number.
The documentation for this class was generated from the following file src/syntropic/net/syn_udp.h