[dnssd-server] remove unused private method (#10024)

This commit is contained in:
Abtin Keshavarzian
2024-04-11 22:23:50 -07:00
committed by GitHub
parent f72f27f0f7
commit d0f6d17860
2 changed files with 4 additions and 10 deletions
-5
View File
@@ -666,11 +666,6 @@ void Server::Response::IncResourceRecordCount(void)
}
}
uint8_t Server::GetNameLength(const char *aName)
{
return static_cast<uint8_t>(StringLength(aName, Name::kMaxNameLength));
}
#if OT_SHOULD_LOG_AT(OT_LOG_LEVEL_INFO)
void Server::Response::Log(void) const
{
+4 -5
View File
@@ -397,11 +397,10 @@ private:
NameOffsets mOffsets;
};
bool IsRunning(void) const { return mSocket.IsBound(); }
static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo);
void HandleUdpReceive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo);
void ProcessQuery(Request &aRequest);
static uint8_t GetNameLength(const char *aName);
bool IsRunning(void) const { return mSocket.IsBound(); }
static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo);
void HandleUdpReceive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo);
void ProcessQuery(Request &aRequest);
void ResolveByProxy(Response &aResponse, const Ip6::MessageInfo &aMessageInfo);
void RemoveQueryAndPrepareResponse(ProxyQuery &aQuery, const ProxyQueryInfo &aInfo, Response &aResponse);