Skip to content

Struct SYN_UdpHeader

ClassList > 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

uint16_t SYN_UdpHeader::checksum;

Checksum over pseudo-header and payload.


variable dst_port

uint16_t SYN_UdpHeader::dst_port;

Destination port number.


variable length

uint16_t SYN_UdpHeader::length;

Length of UDP header + payload in bytes.


variable src_port

uint16_t SYN_UdpHeader::src_port;

Source port number.



The documentation for this class was generated from the following file src/syntropic/net/syn_udp.h