![]() |
EVE 1.0
|
![]() |
Macros | |
#define | UIP_APPCALL tcpip_uipcall |
Typedefs | |
typedef struct tcpip_uipstate | uip_tcp_appstate_t |
typedef struct tcpip_uipstate | uip_udp_appstate_t |
An uIP application is implemented using a single application function that is called by uIP whenever a TCP/IP event occurs. The name of this function must be registered with uIP at compile time using the UIP_APPCALL definition.
uIP applications can store the application state within the uip_conn structure by specifying the type of the application structure by typedef:ing the type uip_tcp_appstate_t and uip_udp_appstate_t.
The file containing the definitions must be included in the uipopt.h file.
The following example illustrates how this can look.
define UIP_APPCALL tcpip_uipcall |
The name of the application function that uIP should call in response to TCP/IP events.
Definition at line 79 of file tcpip.h.
Referenced by uip_process().
typedef uip_tcp_appstate_t |
typedef uip_udp_appstate_t |