Searched refs:DnsCache (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
D | DnsImpl.c | 759 if (StrCmp (DnsCacheEntry.HostName, Item->DnsCache.HostName) == 0 && \ in UpdateDns4Cache() 760 … CompareMem (DnsCacheEntry.IpAddress, Item->DnsCache.IpAddress, sizeof (EFI_IPv4_ADDRESS)) == 0) { in UpdateDns4Cache() 775 Item->DnsCache.Timeout = DnsCacheEntry.Timeout; in UpdateDns4Cache() 794 NewDnsCache->DnsCache.HostName = AllocatePool (StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache() 795 if (NewDnsCache->DnsCache.HostName == NULL) { in UpdateDns4Cache() 799 …CopyMem (NewDnsCache->DnsCache.HostName, DnsCacheEntry.HostName, StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache() 801 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache() 802 if (NewDnsCache->DnsCache.IpAddress == NULL) { in UpdateDns4Cache() 806 CopyMem (NewDnsCache->DnsCache.IpAddress, DnsCacheEntry.IpAddress, sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache() 808 NewDnsCache->DnsCache.Timeout = DnsCacheEntry.Timeout; in UpdateDns4Cache() [all …]
|
D | DnsDriver.c | 382 if (ItemCache4->DnsCache.HostName != NULL) { in DnsUnload() 383 FreePool (ItemCache4->DnsCache.HostName); in DnsUnload() 385 if (ItemCache4->DnsCache.IpAddress != NULL) { in DnsUnload() 386 FreePool (ItemCache4->DnsCache.IpAddress); in DnsUnload() 400 if (ItemCache6->DnsCache.HostName != NULL) { in DnsUnload() 401 FreePool (ItemCache6->DnsCache.HostName); in DnsUnload() 403 if (ItemCache6->DnsCache.IpAddress != NULL) { in DnsUnload() 404 FreePool (ItemCache6->DnsCache.IpAddress); in DnsUnload()
|
D | DnsProtocol.c | 135 CopyMem (CacheList + Index, &CacheItem->DnsCache, sizeof (EFI_DNS4_CACHE_ENTRY)); in Dns4GetModeData() 387 if (StrCmp (HostName, Item->DnsCache.HostName) == 0) { in Dns4HostNameToIp() 413 …if ((UINT32)Index < Token->RspData.H2AData->IpCount && StrCmp (HostName, Item->DnsCache.HostName) … in Dns4HostNameToIp() 414 …CopyMem ((Token->RspData.H2AData->IpList) + Index, Item->DnsCache.IpAddress, sizeof (EFI_IPv4_ADDR… in Dns4HostNameToIp() 914 CopyMem (CacheList + Index, &CacheItem->DnsCache, sizeof (EFI_DNS6_CACHE_ENTRY)); in Dns6GetModeData() 1159 if (StrCmp (HostName, Item->DnsCache.HostName) == 0) { in Dns6HostNameToIp() 1185 …if ((UINT32)Index < Token->RspData.H2AData->IpCount && StrCmp (HostName, Item->DnsCache.HostName) … in Dns6HostNameToIp() 1186 …CopyMem ((Token->RspData.H2AData->IpList) + Index, Item->DnsCache.IpAddress, sizeof (EFI_IPv6_ADDR… in Dns6HostNameToIp()
|
D | DnsImpl.h | 100 EFI_DNS4_CACHE_ENTRY DnsCache; member 105 EFI_DNS6_CACHE_ENTRY DnsCache; member
|