Nut/OS  5.0.5
API Reference
udphdr Struct Reference

UDP protocol header structure. More...

#include <netinet/udp.h>

Collaboration diagram for udphdr:
[legend]

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.


Field Documentation

Source port.

Referenced by NutUdpOutput(), and NutUdpReceiveFrom().

Destination port.

Referenced by NutUdpInput(), and NutUdpOutput().

UDP length.

Referenced by NutUdpOutput().

UDP checksum.

Referenced by NutUdpOutput().


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