RxNameCacheExpireEntry function (namcache.h)

RxNameCacheExpireEntry puts a NAME_CACHE entry on the free list for recycling.

Syntax

void RxNameCacheExpireEntry(
  [in] IN PNAME_CACHE_CONTROL NameCacheCtl,
  [in] IN PNAME_CACHE         NameCache
);

Parameters

[in] NameCacheCtl

A pointer to the NAME_CACHE_CONTROL structure on which to expire the entry.

[in] NameCache

A pointer to the NAME_CACHE structure to expire.

Return value

None

Remarks

The RxNameCacheExpireEntry routine assumes that the name cache entry is not on the active or free list. This routine inserts the NameCache entry at the head of the free list and subtracts one from the NumberActivates member of the NAME_CACHE_CONTROL structure pointed to by NameCacheCtl to update statistics.

Requirements

Requirement Value
Target Platform Desktop
Header namcache.h (include Namcache.h)
IRQL <= APC_LEVEL

See also

RxNameCacheActivateEntry

RxNameCacheCheckEntry

RxNameCacheCreateEntry

RxNameCacheExpireEntryWithShortName

RxNameCacheFetchEntry

RxNameCacheFinalize

RxNameCacheFreeEntry

RxNameCacheInitialize