_NetContext Struct Reference

TCP/IP stack context. More...

#include <net.h>

Data Fields

bool_t running
 Operational state of the TCP/IP stack. More...
 
bool_t stop
 Stop request. More...
 
OsMutex mutex
 Mutex preventing simultaneous access to the TCP/IP stack. More...
 
OsEvent event
 Event object to receive notifications from drivers. 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...
 
NetInterfaceinterfaces
 Network interfaces. More...
 
uint_t numInterfaces
 Number of network interfaces. More...
 
NetLinkChangeCallbackEntry linkChangeCallbacks [NET_MAX_LINK_CHANGE_CALLBACKS]
 
NetTimerCallbackEntry timerCallbacks [NET_MAX_TIMER_CALLBACKS]
 
systime_t nicTickCounter
 Tick counter to handle periodic operations. More...
 
systime_t pppTickCounter
 
systime_t arpTickCounter
 
systime_t ipv4FragTickCounter
 
Ipv4RoutingTableEntry ipv4RoutingTable [IPV4_ROUTING_TABLE_SIZE]
 
systime_t igmpTickCounter
 
systime_t autoIpTickCounter
 
systime_t dhcpClientTickCounter
 
systime_t dhcpServerTickCounter
 
NatContextnatContext
 NAT context. More...
 
systime_t natTickCounter
 
void * ipsecContext
 IPsec context. More...
 
void * ikeContext
 IKE context. More...
 
systime_t ipv6FragTickCounter
 
Ipv6RoutingTableEntry ipv6RoutingTable [IPV6_ROUTING_TABLE_SIZE]
 
systime_t mldTickCounter
 
systime_t ndpTickCounter
 
systime_t ndpRouterAdvTickCounter
 
systime_t dhcpv6ClientTickCounter
 
uint16_t tcpDynamicPort
 TCP ephemeral port number. More...
 
systime_t tcpTickCounter
 
uint16_t udpDynamicPort
 UDP ephemeral port number. More...
 
systime_t dnsTickCounter
 
systime_t mdnsResponderTickCounter
 
systime_t dnsSdResponderTickCounter
 
IpSystemStats ipv4SystemStats
 System-wide IPv4 statistics. More...
 
IcmpStats icmpStats
 ICMP statistics. More...
 
IpSystemStats ipv6SystemStats
 System-wide IPv6 statistics. More...
 
IcmpStats icmpv6Stats
 ICMPv6 statistics. More...
 

Detailed Description

TCP/IP stack context.

Definition at line 377 of file net.h.

Field Documentation

◆ arpTickCounter

systime_t arpTickCounter

Definition at line 398 of file net.h.

◆ autoIpTickCounter

systime_t autoIpTickCounter

Definition at line 411 of file net.h.

◆ dhcpClientTickCounter

systime_t dhcpClientTickCounter

Definition at line 414 of file net.h.

◆ dhcpServerTickCounter

systime_t dhcpServerTickCounter

Definition at line 417 of file net.h.

◆ dhcpv6ClientTickCounter

systime_t dhcpv6ClientTickCounter

Definition at line 443 of file net.h.

◆ dnsSdResponderTickCounter

systime_t dnsSdResponderTickCounter

Definition at line 460 of file net.h.

◆ dnsTickCounter

systime_t dnsTickCounter

Definition at line 454 of file net.h.

◆ entropy

uint32_t entropy

Definition at line 385 of file net.h.

◆ event

OsEvent event

Event object to receive notifications from drivers.

Definition at line 382 of file net.h.

◆ icmpStats

IcmpStats icmpStats

ICMP statistics.

Definition at line 466 of file net.h.

◆ icmpv6Stats

IcmpStats icmpv6Stats

ICMPv6 statistics.

Definition at line 472 of file net.h.

◆ igmpTickCounter

systime_t igmpTickCounter

Definition at line 408 of file net.h.

◆ ikeContext

void* ikeContext

IKE context.

Definition at line 425 of file net.h.

◆ interfaces

NetInterface* interfaces

Network interfaces.

Definition at line 389 of file net.h.

◆ ipsecContext

void* ipsecContext

IPsec context.

Definition at line 424 of file net.h.

◆ ipv4FragTickCounter

systime_t ipv4FragTickCounter

Definition at line 401 of file net.h.

◆ ipv4RoutingTable

Definition at line 404 of file net.h.

◆ ipv4SystemStats

IpSystemStats ipv4SystemStats

System-wide IPv4 statistics.

Definition at line 463 of file net.h.

◆ ipv6FragTickCounter

systime_t ipv6FragTickCounter

Definition at line 428 of file net.h.

◆ ipv6RoutingTable

Definition at line 431 of file net.h.

◆ ipv6SystemStats

IpSystemStats ipv6SystemStats

System-wide IPv6 statistics.

Definition at line 469 of file net.h.

◆ linkChangeCallbacks

Definition at line 391 of file net.h.

◆ mdnsResponderTickCounter

systime_t mdnsResponderTickCounter

Definition at line 457 of file net.h.

◆ mldTickCounter

systime_t mldTickCounter

Definition at line 434 of file net.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to the TCP/IP stack.

Definition at line 381 of file net.h.

◆ natContext

NatContext* natContext

NAT context.

Definition at line 420 of file net.h.

◆ natTickCounter

systime_t natTickCounter

Definition at line 421 of file net.h.

◆ ndpRouterAdvTickCounter

systime_t ndpRouterAdvTickCounter

Definition at line 440 of file net.h.

◆ ndpTickCounter

systime_t ndpTickCounter

Definition at line 437 of file net.h.

◆ nicTickCounter

systime_t nicTickCounter

Tick counter to handle periodic operations.

Definition at line 393 of file net.h.

◆ numInterfaces

uint_t numInterfaces

Number of network interfaces.

Definition at line 390 of file net.h.

◆ pppTickCounter

systime_t pppTickCounter

Definition at line 395 of file net.h.

◆ randSeed

uint8_t randSeed[NET_RAND_SEED_SIZE]

Random seed.

Definition at line 387 of file net.h.

◆ randState

NetRandState randState

Pseudo-random number generator state.

Definition at line 388 of file net.h.

◆ running

bool_t running

Operational state of the TCP/IP stack.

Definition at line 379 of file net.h.

◆ stop

bool_t stop

Stop request.

Definition at line 380 of file net.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 384 of file net.h.

◆ taskParams

OsTaskParameters taskParams

Task parameters.

Definition at line 383 of file net.h.

◆ tcpDynamicPort

uint16_t tcpDynamicPort

TCP ephemeral port number.

Definition at line 446 of file net.h.

◆ tcpTickCounter

systime_t tcpTickCounter

Definition at line 447 of file net.h.

◆ timerCallbacks

Definition at line 392 of file net.h.

◆ timestamp

systime_t timestamp

Definition at line 386 of file net.h.

◆ udpDynamicPort

uint16_t udpDynamicPort

UDP ephemeral port number.

Definition at line 450 of file net.h.


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