Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

udp_frame Struct Reference


Detailed Description

This structures' fields are used to hold information about the headers of the received UDP packet.

In addition to standard UDP header fields, buf_index field has been added allowing applications to re-read the received data many times by reinitializing reading based on the address stored in this field.

Definition at line 488 of file tcp_ip.h.

Data Fields

UINT16 sport
UINT16 dport
UINT16 tlen
UINT16 checksum
UINT16 buf_index


Field Documentation

UINT16 udp_frame::sport
 

Source port

Definition at line 490 of file tcp_ip.h.

Referenced by process_udp_in().

UINT16 udp_frame::dport
 

Destination port

Definition at line 491 of file tcp_ip.h.

Referenced by process_udp_in().

UINT16 udp_frame::tlen
 

total len (UDP part)

Definition at line 492 of file tcp_ip.h.

Referenced by process_udp_in().

UINT16 udp_frame::checksum
 

UDP checksum

Definition at line 493 of file tcp_ip.h.

Referenced by process_udp_in().

UINT16 udp_frame::buf_index
 

Data offsett from the start of network buffer

Definition at line 494 of file tcp_ip.h.

Referenced by process_udp_in().


The documentation for this struct was generated from the following file:
Generated on Sun Aug 3 20:33:01 2003 for OpenTCP by doxygen1.2.18