25 #ifndef _FNET_STACK_H_ 27 #define _FNET_STACK_H_ 29 #include "fnet_assert.h" 30 #include "fnet_error.h" 31 #include "fnet_stdlib.h" 32 #include "fnet_socket.h" 33 #include "fnet_inet.h" 36 #include "fnet_netif.h" 37 #include "fnet_timer.h" 38 #include "fnet_debug.h" 40 #include "fnet_wifi.h" 42 #include "fnet_netbuf.h" 44 #include "fnet_checksum.h" 82 #if FNET_CFG_MULTITHREADING || defined(__DOXYGEN__) 104 #if FNET_CFG_TIMER_ALT || defined(__DOXYGEN__) 136 #if FNET_CFG_MULTITHREADING || defined(__DOXYGEN__) 139 #if FNET_CFG_TIMER_ALT || defined(__DOXYGEN__) 144 #if defined(__cplusplus) 197 #if defined(__cplusplus) void fnet_poll(void)
General polling function.
Input parameters structure for fnet_init()
fnet_uint32_t fnet_time_t
Unsigned integer type representing time uinits. It can be seconds or milliseconds.
void fnet_release(void)
Releases the FNET TCP/IP stack.
void * netheap_ptr
Pointer to the FNET heap buffer. The FNET uses this heap buffer for the internal dynamic data alloc...
fnet_return_t fnet_init(struct fnet_init_params *init_params)
Initializes the FNET TCP/IP stack.
fnet_return_t
General return codes, used by most of API functions.
Recursive mutex API. It should be defined by application if FNET_CFG_MULTITHREADING is set...
unsigned long fnet_size_t
Unsigned integer type representing the size in bytes.
const fnet_timer_api_t * timer_api
Timer API. It is availble and must be set only when FNET_CFG_TIMER_ALT is 1.
Timer API. It must be defined by application if FNET_CFG_TIMER_ALT is set.
const fnet_mutex_api_t * mutex_api
Recursive mutex API. It is optional and availble only when FNET_CFG_MULTITHREADING is 1...
fnet_size_t netheap_size
Size of the FNET heap buffer.
void * fnet_mutex_t
Mutex type.