Home | History | Annotate | Download | only in Ip4Dxe

Lines Matching defs:Entry

18   Allocate a route entry then initialize it with the Dest/Netmaks

26 route entry.
57 Free the route table entry. It is reference counted.
59 @param RtEntry The route entry to free.
76 Allocate and initialize an IP4 route cache entry.
82 entries spawned from one route table entry.
85 to the created route cache entry.
117 Free the route cache entry. It is reference counted.
119 @param RtCacheEntry The route cache entry to free.
166 LIST_ENTRY *Entry;
172 NET_LIST_FOR_EACH_SAFE (Entry, Next, &(RtCache->CacheBucket[Index])) {
173 RtCacheEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_CACHE_ENTRY, Link);
175 RemoveEntryList (Entry);
230 LIST_ENTRY *Entry;
242 // Free all the route table entry and its route cache.
245 NET_LIST_FOR_EACH_SAFE (Entry, Next, &(RtTable->RouteArea[Index])) {
246 RtEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_ENTRY, Link);
248 RemoveEntryList (Entry);
262 entry is created, it is tagged with the address of route entry
263 from which it is spawned. When a route entry is deleted, the cache
276 LIST_ENTRY *Entry;
282 NET_LIST_FOR_EACH_SAFE (Entry, Next, &RtCache->CacheBucket[Index]) {
284 RtCacheEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_CACHE_ENTRY, Link);
287 RemoveEntryList (Entry);
296 Add a route entry to the route table. All the IP4_ADDRs are in
305 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory for the entry
318 LIST_ENTRY *Entry;
330 NET_LIST_FOR_EACH (Entry, Head) {
331 RtEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_ENTRY, Link);
339 // Create a route entry and insert it to the route area.
359 Remove a route entry and all the route caches spawn from it.
366 @retval EFI_SUCCESS The route entry is successfully removed
367 @retval EFI_NOT_FOUND There is no route entry in the table with that
380 LIST_ENTRY *Entry;
386 NET_LIST_FOR_EACH_SAFE (Entry, Next, Head) {
387 RtEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_ENTRY, Link);
391 RemoveEntryList (Entry);
413 @return NULL if no route entry to the (Dest, Src). Otherwise the point
414 to the correct route cache entry.
424 LIST_ENTRY *Entry;
430 NET_LIST_FOR_EACH (Entry, &RtTable->Cache.CacheBucket[Index]) {
431 RtCacheEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_CACHE_ENTRY, Link);
450 2. The local route entries have precedence over the default route entry.
465 LIST_ENTRY *Entry;
474 NET_LIST_FOR_EACH (Entry, &Table->RouteArea[Index]) {
475 RtEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_ENTRY, Link);
499 entry that can be used to route packet.
510 LIST_ENTRY *Entry;
524 // If found, promote the cache entry to the head of the hash bucket. LRU
556 // Create a route cache entry, and tag it as spawned from this route entry
573 NET_LIST_FOR_EACH_SAFE (Entry, Next, Head) {
578 Cache = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_CACHE_ENTRY, Link);
580 RemoveEntryList (Entry);
604 LIST_ENTRY *Entry;
637 // Copy the route entry to EFI route table. Keep the order of
638 // route entry copied from most specific to default route. That
639 // is, interlevel the route entry from the instance's route area
646 NET_LIST_FOR_EACH (Entry, &(RtTable->RouteArea[Index])) {
647 RtEntry = NET_LIST_USER_STRUCT (Entry, IP4_ROUTE_ENTRY, Link);