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]
 
void * ipsecContext
 IPsec context. More...
 
void * ikeContext
 IKE context. More...
 

Detailed Description

TCP/IP stack context.

Definition at line 318 of file net.h.

Field Documentation

◆ entropy

uint32_t entropy

Definition at line 325 of file net.h.

◆ event

OsEvent event

Event object to receive notifications from drivers.

Definition at line 321 of file net.h.

◆ ikeContext

void* ikeContext

IKE context.

Definition at line 334 of file net.h.

◆ interfaces

Network interfaces.

Definition at line 329 of file net.h.

◆ ipsecContext

void* ipsecContext

IPsec context.

Definition at line 333 of file net.h.

◆ linkChangeCallbacks

Definition at line 330 of file net.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to the TCP/IP stack.

Definition at line 320 of file net.h.

◆ randSeed

uint8_t randSeed[NET_RAND_SEED_SIZE]

Random seed.

Definition at line 327 of file net.h.

◆ randState

NetRandState randState

Pseudo-random number generator state.

Definition at line 328 of file net.h.

◆ running

bool_t running

The TCP/IP stack is currently running.

Definition at line 322 of file net.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 324 of file net.h.

◆ taskParams

OsTaskParameters taskParams

Task parameters.

Definition at line 323 of file net.h.

◆ timerCallbacks

Definition at line 331 of file net.h.

◆ timestamp

systime_t timestamp

Definition at line 326 of file net.h.


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