#include <DSPNetStack.h>
Public Attributes | |
int | max_threads |
int | mbx_queue_entries |
int | tcpip_priority |
NetAssertCB | nacb_func |
This structure describes lwIP stack parameters that can be modified at runtime via the MityDSP DSPNetStackInit routine. Generally, users initialize this structure using the DSPGetNetStackDefaults routine, modify it accord to their application needs, then calling DSPNetStackInit.
int tsDSPNetStackInit::max_threads |
Max threads which may access the network stack, default 5
int tsDSPNetStackInit::mbx_queue_entries |
Number of entries in mbox
int tsDSPNetStackInit::tcpip_priority |
Priority of the TCP/IP stack, default TCPIP_THREAD_PRIO.
Should be less than your network driver RX thread. The TCPIP stack priority MUST BE HIGHER than any thread using the TCP/IP stack.
NetAssertCB tsDSPNetStackInit::nacb_func |
Pointer to an application supplied error function.
This callback function will be called in debug builds iff the TCP/IP stack is preparing to assert. The msg string is a human readable text string describing the location and reason for the assertion.