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...
 
OsTaskId taskId
 Task identifier. More...
 
OsTaskTcb taskTcb
 Task control block. More...
 
OsStackType taskStack [NET_TASK_STACK_SIZE]
 Task stack. 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]
 

Detailed Description

TCP/IP stack context.

Definition at line 302 of file net.h.

Field Documentation

◆ entropy

uint32_t entropy

Definition at line 312 of file net.h.

◆ event

OsEvent event

Event object to receive notifications from drivers.

Definition at line 305 of file net.h.

◆ interfaces

Network interfaces.

Definition at line 316 of file net.h.

◆ linkChangeCallbacks

Definition at line 317 of file net.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to the TCP/IP stack.

Definition at line 304 of file net.h.

◆ randSeed

uint8_t randSeed[NET_RAND_SEED_SIZE]

Random seed.

Definition at line 314 of file net.h.

◆ randState

NetRandState randState

Pseudo-random number generator state.

Definition at line 315 of file net.h.

◆ running

bool_t running

The TCP/IP stack is currently running.

Definition at line 306 of file net.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 307 of file net.h.

◆ taskStack

Task stack.

Definition at line 310 of file net.h.

◆ taskTcb

OsTaskTcb taskTcb

Task control block.

Definition at line 309 of file net.h.

◆ timerCallbacks

Definition at line 318 of file net.h.

◆ timestamp

systime_t timestamp

Definition at line 313 of file net.h.


The documentation for this struct was generated from the following file: