Searched refs:DnsCache (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
D | DnsImpl.c | 783 if (StrCmp (DnsCacheEntry.HostName, Item->DnsCache.HostName) == 0 && \ in UpdateDns4Cache() 784 … CompareMem (DnsCacheEntry.IpAddress, Item->DnsCache.IpAddress, sizeof (EFI_IPv4_ADDRESS)) == 0) { in UpdateDns4Cache() 799 Item->DnsCache.Timeout = DnsCacheEntry.Timeout; in UpdateDns4Cache() 818 NewDnsCache->DnsCache.HostName = AllocatePool (StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache() 819 if (NewDnsCache->DnsCache.HostName == NULL) { in UpdateDns4Cache() 823 …CopyMem (NewDnsCache->DnsCache.HostName, DnsCacheEntry.HostName, StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache() 825 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache() 826 if (NewDnsCache->DnsCache.IpAddress == NULL) { in UpdateDns4Cache() 830 CopyMem (NewDnsCache->DnsCache.IpAddress, DnsCacheEntry.IpAddress, sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache() 832 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 | 147 CopyMem (CacheList + Index, &CacheItem->DnsCache, sizeof (EFI_DNS4_CACHE_ENTRY)); in Dns4GetModeData() 409 if (StrCmp (HostName, Item->DnsCache.HostName) == 0) { in Dns4HostNameToIp() 435 …if ((UINT32)Index < Token->RspData.H2AData->IpCount && StrCmp (HostName, Item->DnsCache.HostName) … in Dns4HostNameToIp() 436 …CopyMem ((Token->RspData.H2AData->IpList) + Index, Item->DnsCache.IpAddress, sizeof (EFI_IPv4_ADDR… in Dns4HostNameToIp() 980 CopyMem (CacheList + Index, &CacheItem->DnsCache, sizeof (EFI_DNS6_CACHE_ENTRY)); in Dns6GetModeData() 1234 if (StrCmp (HostName, Item->DnsCache.HostName) == 0) { in Dns6HostNameToIp() 1260 …if ((UINT32)Index < Token->RspData.H2AData->IpCount && StrCmp (HostName, Item->DnsCache.HostName) … in Dns6HostNameToIp() 1261 …CopyMem ((Token->RspData.H2AData->IpList) + Index, Item->DnsCache.IpAddress, sizeof (EFI_IPv6_ADDR… in Dns6HostNameToIp()
|
D | DnsImpl.h | 99 EFI_DNS4_CACHE_ENTRY DnsCache; member 104 EFI_DNS6_CACHE_ENTRY DnsCache; member
|