Home | History | Annotate | Download | only in Ip6Dxe

Lines Matching refs:Entry

44   Allocate a route entry then initialize it with the Destination/PrefixLength

53 @return NULL if failed to allocate memeory; otherwise, the newly created route entry.
87 Free the route table entry. It is reference counted.
89 @param[in, out] RtEntry The route entry to free.
111 2. The local route entries have precedence over the default route entry.
130 LIST_ENTRY *Entry;
139 NET_LIST_FOR_EACH (Entry, &RtTable->RouteArea[Index]) {
140 RtEntry = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_ENTRY, Link);
161 Allocate and initialize a IP6 route cache entry.
167 spawned from one route table entry.
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.
225 @return NULL if no route entry to the (Dest, Src). Otherwise, the pointer
226 to the correct route cache entry.
236 LIST_ENTRY *Entry;
242 NET_LIST_FOR_EACH (Entry, &RtTable->Cache.CacheBucket[Index]) {
243 RtCacheEntry = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_CACHE_ENTRY, Link);
261 If NULL, only the route entry count is returned.
274 LIST_ENTRY *Entry;
299 // Copy the route entry to EFI route table.
305 NET_LIST_FOR_EACH (Entry, &(RouteTable->RouteArea[Index])) {
306 RtEntry = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_ENTRY, Link);
373 LIST_ENTRY *Entry;
386 // Free all the route table entry and its route cache.
389 NET_LIST_FOR_EACH_SAFE (Entry, Next, &RtTable->RouteArea[Index]) {
390 RtEntry = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_ENTRY, Link);
391 RemoveEntryList (Entry);
397 NET_LIST_FOR_EACH_SAFE (Entry, Next, &RtTable->Cache.CacheBucket[Index]) {
398 RtCacheEntry = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_CACHE_ENTRY, Link);
399 RemoveEntryList (Entry);
409 entry is created, it is tagged with the address of route entry
410 from which it is spawned. When a route entry is deleted, the cache
423 LIST_ENTRY *Entry;
429 NET_LIST_FOR_EACH_SAFE (Entry, Next, &RtCache->CacheBucket[Index]) {
431 RtCacheEntry = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_CACHE_ENTRY, Link);
434 RemoveEntryList (Entry);
442 Add a route entry to the route table. It is the help function for EfiIp6Routes.
450 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory for the entry.
463 LIST_ENTRY *Entry;
471 NET_LIST_FOR_EACH (Entry, ListHead) {
472 Route = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_ENTRY, Link);
481 // Create a route entry and insert it to the route area.
500 Remove a route entry and all the route caches spawn from it.
508 @retval EFI_SUCCESS The route entry was successfully removed.
509 @retval EFI_NOT_FOUND There is no route entry in the table with that
522 LIST_ENTRY *Entry;
530 NET_LIST_FOR_EACH_SAFE (Entry, Next, ListHead) {
531 Route = NET_LIST_USER_STRUCT (Entry, IP6_ROUTE_ENTRY, Link);
541 RemoveEntryList (Entry);
560 entry that can be used to route packets.
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