Lines Matching defs:CacheEntry

142   ARP_CACHE_ENTRY          *CacheEntry;
186 CacheEntry = ArpFindDeniedCacheEntry (
192 if (CacheEntry == NULL) {
196 CacheEntry = ArpFindNextCacheEntryInTable (
205 if ((CacheEntry != NULL) && !Overwrite) {
213 if ((CacheEntry == NULL) && (TargetSwAddress != NULL)) {
217 CacheEntry = ArpFindNextCacheEntryInTable (
226 if (CacheEntry != NULL) {
230 RemoveEntryList (&CacheEntry->List);
235 CacheEntry = ArpAllocCacheEntry (Instance);
237 if (CacheEntry == NULL) {
238 DEBUG ((EFI_D_ERROR, "ArpAdd: Failed to allocate pool for CacheEntry.\n"));
247 CacheEntry->DefaultDecayTime = TimeoutValue;
248 CacheEntry->DecayTime = TimeoutValue;
254 CacheEntry,
262 ArpAddressResolved (CacheEntry, NULL, NULL);
265 // Add this CacheEntry to the corresponding CacheTable.
268 InsertHeadList (&ArpService->DeniedCacheTable, &CacheEntry->List);
270 InsertHeadList (&ArpService->ResolvedCacheTable, &CacheEntry->List);
496 ARP_CACHE_ENTRY *CacheEntry;
560 CacheEntry = ArpFindDeniedCacheEntry (ArpService, &ProtocolAddress, NULL);
561 if (CacheEntry != NULL) {
569 CacheEntry = ArpFindNextCacheEntryInTable (
576 if (CacheEntry != NULL) {
582 CacheEntry->Addresses[Hardware].AddressPtr,
583 CacheEntry->Addresses[Hardware].Length
613 CacheEntry = ArpFindNextCacheEntryInTable (
620 if (CacheEntry != NULL) {
622 CacheEntry->NextRetryTime = Instance->ConfigData.RetryTimeOut;
623 CacheEntry->RetryCount = Instance->ConfigData.RetryCount;
628 CacheEntry = ArpAllocCacheEntry (Instance);
629 if (CacheEntry == NULL) {
630 DEBUG ((EFI_D_ERROR, "ArpRequest: Allocate memory for CacheEntry failed.\n"));
640 ArpFillAddressInCacheEntry (CacheEntry, &HardwareAddress, &ProtocolAddress);
645 InsertTailList (&ArpService->PendingRequestTable, &CacheEntry->List);
651 InsertHeadList (&CacheEntry->UserRequestList, &RequestContext->List);
656 ArpSendFrame (Instance, CacheEntry, ARP_OPCODE_REQUEST);