NetContext Struct Reference
TCP/IP stack context. More...
#include <net.h>
Data Fields | |
| OsMutex | mutex |
| Mutex preventing simultaneous access to the TCP/IP stack. More... | |
| OsEvent | event |
| Event object to receive notifications from drivers. More... | |
| bool_t | running |
| The TCP/IP stack is currently running. More... | |
| OsTaskParameters | taskParams |
| Task parameters. More... | |
| OsTaskId | taskId |
| Task identifier. More... | |
| uint32_t | entropy |
| systime_t | timestamp |
| uint8_t | randSeed [NET_RAND_SEED_SIZE] |
| Random seed. More... | |
| NetRandState | randState |
| Pseudo-random number generator state. More... | |
| NetInterface | interfaces [NET_INTERFACE_COUNT] |
| Network interfaces. More... | |
| NetLinkChangeCallbackEntry | linkChangeCallbacks [NET_MAX_LINK_CHANGE_CALLBACKS] |
| NetTimerCallbackEntry | timerCallbacks [NET_MAX_TIMER_CALLBACKS] |
| NatContext * | natContext |
| NAT context. More... | |
| void * | ipsecContext |
| IPsec context. More... | |
| void * | ikeContext |
| IKE context. More... | |
Detailed Description
Field Documentation
◆ entropy
◆ event
| OsEvent event |
◆ ikeContext
◆ interfaces
| NetInterface interfaces[NET_INTERFACE_COUNT] |
◆ ipsecContext
◆ linkChangeCallbacks
| NetLinkChangeCallbackEntry linkChangeCallbacks[NET_MAX_LINK_CHANGE_CALLBACKS] |
◆ mutex
| OsMutex mutex |
◆ natContext
| NatContext* natContext |
◆ randSeed
| uint8_t randSeed[NET_RAND_SEED_SIZE] |
◆ randState
| NetRandState randState |
◆ running
◆ taskId
◆ taskParams
| OsTaskParameters taskParams |
◆ timerCallbacks
| NetTimerCallbackEntry timerCallbacks[NET_MAX_TIMER_CALLBACKS] |
◆ timestamp
The documentation for this struct was generated from the following file:
- cyclone_tcp/core/net.h
