BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ethernetudp.h
Go to the documentation of this file.
1 #ifndef ETHERNETUDP_H
2 #define ETHERNETUDP_H
3 
4 //******
5 // ETHERNET USER DATAGRAM PROTOCOL (UDP)
6 //******
7 typedef struct {
8  volatile INT16U Source;
9  volatile INT16U Destination;
10  volatile INT16U Length;
11  volatile INT16U Check;
12 }UDP_HEAD;
13 typedef struct{
24 
25 extern UDP_CONTROL UdpCtrl;
26 
27 extern void F_EthernetUdpInit(void);
29 extern INT8U F_EthernetUdpPacketSend(ETHBUFFER *pBuffer,INT8U *pIpAddress,INT16U Source,INT16U Destination);
32 
33 #endif