Loading...
Searching...
No Matches
udp_hdr_t Struct Reference

UDP header. More...

Detailed Description

UDP header.

Definition at line 35 of file udp.h.

#include <udp.h>

Data Fields

network_uint16_t src_port
 source port
 
network_uint16_t dst_port
 destination port
 
network_uint16_t length
 payload length (including the header)
 
network_uint16_t checksum
 checksum
 

Field Documentation

◆ checksum

network_uint16_t udp_hdr_t::checksum

checksum

Definition at line 39 of file udp.h.

◆ dst_port

network_uint16_t udp_hdr_t::dst_port

destination port

Definition at line 37 of file udp.h.

◆ length

network_uint16_t udp_hdr_t::length

payload length (including the header)

Definition at line 38 of file udp.h.

◆ src_port

network_uint16_t udp_hdr_t::src_port

source port

Definition at line 36 of file udp.h.


The documentation for this struct was generated from the following file: