friendev EtherDune TCP/IP library
Public Attributes | List of all members
UDPHeader Struct Reference

Structure to represent an UDP header. More...

#include <inet.h>

Public Attributes

nint16_t sourcePort
 Identifies the sending port. More...
 
nint16_t destinationPort
 Identifies the receiving port. More...
 
nint16_t dataLength
 Total length of payload and header. More...
 
nint16_t checksum
 The 16-bit checksum field is used for error-checking of the header and data. More...
 

Detailed Description

Structure to represent an UDP header.

Definition at line 388 of file inet.h.

Member Data Documentation

nint16_t UDPHeader::checksum

The 16-bit checksum field is used for error-checking of the header and data.

Definition at line 393 of file inet.h.

nint16_t UDPHeader::dataLength

Total length of payload and header.

Definition at line 392 of file inet.h.

nint16_t UDPHeader::destinationPort

Identifies the receiving port.

Definition at line 391 of file inet.h.

nint16_t UDPHeader::sourcePort

Identifies the sending port.

Definition at line 390 of file inet.h.


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