Lines Matching refs:Dns4TokenEntry
1124 DNS4_TOKEN_ENTRY *Dns4TokenEntry; in ParseDnsResponse() local
1146 Dns4TokenEntry = NULL; in ParseDnsResponse()
1213 Dns4TokenEntry = (DNS4_TOKEN_ENTRY *) (Item->Key); in ParseDnsResponse()
1251 ASSERT (Dns4TokenEntry != NULL); in ParseDnsResponse()
1253 if (Dns4TokenEntry->GeneralLookUp) { in ParseDnsResponse()
1257 Dns4TokenEntry->Token->RspData.GLookupData = AllocatePool (sizeof (DNS_RESOURCE_RECORD)); in ParseDnsResponse()
1258 if (Dns4TokenEntry->Token->RspData.GLookupData == NULL) { in ParseDnsResponse()
1262 …Dns4TokenEntry->Token->RspData.GLookupData->RRList = AllocatePool (DnsHeader->AnswersNum * sizeof … in ParseDnsResponse()
1263 if (Dns4TokenEntry->Token->RspData.GLookupData->RRList == NULL) { in ParseDnsResponse()
1272 Dns4TokenEntry->Token->RspData.H2AData = AllocatePool (sizeof (DNS_HOST_TO_ADDR_DATA)); in ParseDnsResponse()
1273 if (Dns4TokenEntry->Token->RspData.H2AData == NULL) { in ParseDnsResponse()
1277 …Dns4TokenEntry->Token->RspData.H2AData->IpList = AllocatePool (DnsHeader->AnswersNum * sizeof (EFI… in ParseDnsResponse()
1278 if (Dns4TokenEntry->Token->RspData.H2AData->IpList == NULL) { in ParseDnsResponse()
1352 if (Instance->Service->IpVersion == IP_VERSION_4 && Dns4TokenEntry->GeneralLookUp) { in ParseDnsResponse()
1353 Dns4RR = Dns4TokenEntry->Token->RspData.GLookupData->RRList; in ParseDnsResponse()
1414 ASSERT (Dns4TokenEntry != NULL); in ParseDnsResponse()
1421 HostAddr4 = Dns4TokenEntry->Token->RspData.H2AData->IpList; in ParseDnsResponse()
1433 … Dns4CacheEntry->HostName = AllocateZeroPool (2 * (StrLen(Dns4TokenEntry->QueryHostName) + 1)); in ParseDnsResponse()
1438 …CopyMem (Dns4CacheEntry->HostName, Dns4TokenEntry->QueryHostName, 2 * (StrLen(Dns4TokenEntry->Quer… in ParseDnsResponse()
1550 ASSERT (Dns4TokenEntry != NULL); in ParseDnsResponse()
1552 if (Dns4TokenEntry->GeneralLookUp) { in ParseDnsResponse()
1553 Dns4TokenEntry->Token->RspData.GLookupData->RRCount = RRCount; in ParseDnsResponse()
1556 Dns4TokenEntry->Token->RspData.H2AData->IpCount = IpCount; in ParseDnsResponse()
1586 ASSERT (Dns4TokenEntry != NULL); in ParseDnsResponse()
1587 Dns4RemoveTokenEntry (&Instance->Dns4TxTokens, Dns4TokenEntry); in ParseDnsResponse()
1588 Dns4TokenEntry->Token->Status = Status; in ParseDnsResponse()
1589 if (Dns4TokenEntry->Token->Event != NULL) { in ParseDnsResponse()
1590 gBS->SignalEvent (Dns4TokenEntry->Token->Event); in ParseDnsResponse()
1688 DNS4_TOKEN_ENTRY *Dns4TokenEntry; in DnsOnPacketSent() local
1691 Dns4TokenEntry = NULL; in DnsOnPacketSent()
1701 Dns4TokenEntry = ((DNS4_TOKEN_ENTRY *)Item->Key); in DnsOnPacketSent()
1702 Dns4TokenEntry->PacketToLive = Dns4TokenEntry->Token->RetryInterval; in DnsOnPacketSent()
1919 DNS4_TOKEN_ENTRY *Dns4TokenEntry; in DnsOnTimerRetransmit() local
1922 Dns4TokenEntry = NULL; in DnsOnTimerRetransmit()
1939 Dns4TokenEntry = (DNS4_TOKEN_ENTRY *)(ItemNetMap->Key); in DnsOnTimerRetransmit()
1940 if (Dns4TokenEntry->PacketToLive == 0 || (--Dns4TokenEntry->PacketToLive > 0)) { in DnsOnTimerRetransmit()
1949 if (++Dns4TokenEntry->Token->RetryCount < Instance->MaxRetry) { in DnsOnTimerRetransmit()
1956 Dns4RemoveTokenEntry (&Instance->Dns4TxTokens, Dns4TokenEntry); in DnsOnTimerRetransmit()
1957 Dns4TokenEntry->Token->Status = EFI_TIMEOUT; in DnsOnTimerRetransmit()
1958 gBS->SignalEvent (Dns4TokenEntry->Token->Event); in DnsOnTimerRetransmit()