Lines Matching refs:Cache
20 as the index of the route cache bucket according to the prefix of two IPv6 addresses.
161 Allocate and initialize a IP6 route cache entry.
166 @param[in] Tag The tag from the caller. This marks all the cache entries
169 @return NULL if failed to allocate memory for the cache. Otherwise, point
170 to the created route cache entry.
200 Free the route cache entry. It is reference counted.
202 @param[in, out] RtCacheEntry The route cache entry to free.
218 Find a route cache with the destination and source address. This is
221 @param[in] RtTable The route table to search the cache for.
226 to the correct route cache entry.
242 NET_LIST_FOR_EACH (Entry, &RtTable->Cache.CacheBucket[Index]) {
327 Create an empty route table. This includes its internal route cache.
354 InitializeListHead (&RtTable->Cache.CacheBucket[Index]);
355 RtTable->Cache.CacheNum[Index] = 0;
362 Free the route table and its associated route cache. Route
386 // Free all the route table entry and its route cache.
397 NET_LIST_FOR_EACH_SAFE (Entry, Next, &RtTable->Cache.CacheBucket[Index]) {
408 Remove all the cache entries bearing the Tag. When a route cache
410 from which it is spawned. When a route entry is deleted, the cache
413 @param[in] RtCache Route cache to remove the entries from.
540 Ip6PurgeRouteCache (&RtTable->Cache, (UINTN) Route);
553 cache if there is a route to the destination.
559 @return NULL if it failed to route the packet. Otherwise, a route cache
582 // Search the destination cache in IP6_ROUTE_TABLE.
585 ListHead = &RtTable->Cache.CacheBucket[Index];
590 // If found, promote the cache entry to the head of the hash bucket.
621 // Create a route cache entry, and tag it as spawned from this route entry
631 RtTable->Cache.CacheNum[Index]++;