From 068b5cd749191a093eae938bdb5875b1367224a5 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 23 Apr 2011 15:34:37 +0000 Subject: [PATCH] Add definitions for the different types of event that need processing by the TCP/IP stack. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1382 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/Common/ethernet/FreeTCPIP/net/uip.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Demo/Common/ethernet/FreeTCPIP/net/uip.h b/Demo/Common/ethernet/FreeTCPIP/net/uip.h index 88d8645a4..00ae035a6 100644 --- a/Demo/Common/ethernet/FreeTCPIP/net/uip.h +++ b/Demo/Common/ethernet/FreeTCPIP/net/uip.h @@ -2165,6 +2165,16 @@ u16_t uip_udpchksum( void ); * \return The ICMP checksum of the ICMP packet in uip_buf */ u16_t uip_icmp6chksum( void ); + +/* Events that can get posted to the uIP event queue. These are events +originating from the Ethernet interface or from a timer. */ +#define uipETHERNET_RX_EVENT 0x01UL +#define uipETHERNET_TX_EVENT 0x02UL +#define uipARP_TIMER_EVENT 0x04UL +#define uipPERIODIC_TIMER_EVENT 0x08UL +#define uipAPPLICATION_SEND_EVENT 0x10UL + + #endif /* __UIP_H__ */ /** @} */ -- 2.39.2