TUNNEL structure (ntifs.h)

The TUNNEL structure is a tunnel cache structure.

Syntax

typedef struct {
  FAST_MUTEX       Mutex;
  PRTL_SPLAY_LINKS Cache;
  LIST_ENTRY       TimerQueue;
  USHORT           NumEntries;
} TUNNEL, *PTUNNEL;

Members

Mutex

A FAST_MUTEX structure that contains the mutex for cache manipulation.

Cache

Pointer to a RTL_SPLAY_LINKS structure that contains the splay tree of tunneled information keyed by DirKey ## Name.

TimerQueue

A LIST_ENTRY structure that contains the timer queue used to age entries out of the main cache.

NumEntries

Number of entries in the cache. NumEntries is used to track the number of entries in the cache to prevent excessive use of memory.

Requirements

Requirement Value
Minimum supported client Windows Server 2022
Header ntifs.h