[netdiag] rename namespace NetworkDiagnostic to NetDiag (#13154)

This commit renames the `NetworkDiagnostic` namespace in `src/core/thread/`
and its related types to `NetDiag` for brevity. It updates the
corresponding filenames and header guards as well.
This commit is contained in:
Abtin Keshavarzian
2026-05-26 20:19:48 -07:00
committed by GitHub
parent 337d424d4f
commit 3ce616d835
26 changed files with 159 additions and 173 deletions
+4 -4
View File
@@ -131,12 +131,12 @@ bool Agent::HandleResource(const char *aUriPath, Msg &aMsg)
Case(kUriAnycastLocate, AnycastLocator);
#endif
Case(kUriDiagnosticGetRequest, NetworkDiagnostic::Server);
Case(kUriDiagnosticGetQuery, NetworkDiagnostic::Server);
Case(kUriDiagnosticReset, NetworkDiagnostic::Server);
Case(kUriDiagnosticGetRequest, NetDiag::Server);
Case(kUriDiagnosticGetQuery, NetDiag::Server);
Case(kUriDiagnosticReset, NetDiag::Server);
#if OPENTHREAD_CONFIG_TMF_NETDIAG_CLIENT_ENABLE
Case(kUriDiagnosticGetAnswer, NetworkDiagnostic::Client);
Case(kUriDiagnosticGetAnswer, NetDiag::Client);
#endif
#if OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE && OPENTHREAD_CONFIG_HISTORY_TRACKER_SERVER_ENABLE