OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UDPHeader Struct Reference

Representing the needed information for the UDP header. More...

#include <udp_protocol.h>

Data Fields

uint16_t checksum
 
uint16_t destination_port
 
uint16_t packet_length
 
uint16_t source_port
 

Detailed Description

Representing the needed information for the UDP header.

This struct represents the UDP header information

Definition at line 33 of file udp_protocol.h.

Field Documentation

uint16_t UDPHeader::checksum

UDP checksum

Definition at line 37 of file udp_protocol.h.

Referenced by UDPHeaderGetChecksum(), and UDPHeaderSetChecksum().

uint16_t UDPHeader::destination_port

UDP destination port

Definition at line 35 of file udp_protocol.h.

Referenced by UDPHeaderGetDestinationPort(), and UDPHeaderSetDestinationPort().

uint16_t UDPHeader::packet_length

UDP packet length (data + header)

Definition at line 36 of file udp_protocol.h.

Referenced by UDPHeaderGetPacketLength(), and UDPHeaderSetPacketLength().

uint16_t UDPHeader::source_port

UDP source port

Definition at line 34 of file udp_protocol.h.

Referenced by SendUdpData(), UDPHeaderGetSourcePort(), and UDPHeaderSetSourcePort().


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