Nut/OS  4.10.3
API Reference
udphdr Struct Reference

UDP protocol header structure. More...

#include <netinet/udp.h>

Collaboration diagram for udphdr:

Data Fields

uint16_t uh_sport
 Source port.
uint16_t uh_dport
 Destination port.
uint16_t uh_ulen
 UDP length.
uint16_t uh_sum
 UDP checksum.

Detailed Description

UDP protocol header structure.

Definition at line 118 of file udp.h.


Field Documentation

Source port.

Definition at line 119 of file udp.h.

Referenced by NutUdpOutput(), and NutUdpReceiveFrom().

Destination port.

Definition at line 120 of file udp.h.

Referenced by NutUdpInput(), and NutUdpOutput().

UDP length.

Definition at line 121 of file udp.h.

Referenced by NutUdpOutput().

UDP checksum.

Definition at line 122 of file udp.h.

Referenced by NutUdpOutput().


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