CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
NetMsgQueue Struct Reference

Simple intrusive FIFO of NetMessage, linked through NetMessage::next. More...

#include <net_shared.h>

Data Fields

NetMessagehead
 Oldest queued message, or NULL if empty.
 
NetMessagetail
 Newest queued message, or NULL if empty.
 

Detailed Description

Simple intrusive FIFO of NetMessage, linked through NetMessage::next.

The boundary storage between datagram filter chain stages (see NetDatagramFilter::encOut / decOut in Filters) – the message-queue analog of the byte-oriented BufRing used between NetStreamFilter stages. It needs no locking of its own: every driver pass runs under the owning flow's filter lock, so only one thread is ever inside a chain.

Definition at line 416 of file net_shared.h.


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