diff --git a/src/core/BUILD.gn b/src/core/BUILD.gn index 0e0ca6563..45346e097 100644 --- a/src/core/BUILD.gn +++ b/src/core/BUILD.gn @@ -376,8 +376,8 @@ openthread_core_files = [ "common/instance.hpp", "common/iterator_utils.hpp", "common/linked_list.hpp", - "common/locator-getters.hpp", "common/locator.hpp", + "common/locator_getters.hpp", "common/logging.cpp", "common/logging.hpp", "common/message.cpp", diff --git a/src/core/Makefile.am b/src/core/Makefile.am index f3dc07456..97924a99a 100644 --- a/src/core/Makefile.am +++ b/src/core/Makefile.am @@ -384,8 +384,8 @@ HEADERS_COMMON = \ common/instance.hpp \ common/iterator_utils.hpp \ common/linked_list.hpp \ - common/locator-getters.hpp \ common/locator.hpp \ + common/locator_getters.hpp \ common/logging.hpp \ common/message.hpp \ common/new.hpp \ diff --git a/src/core/api/border_agent_api.cpp b/src/core/api/border_agent_api.cpp index 3ec414fcc..d84fa0282 100644 --- a/src/core/api/border_agent_api.cpp +++ b/src/core/api/border_agent_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/channel_manager_api.cpp b/src/core/api/channel_manager_api.cpp index 90f8f9c97..35b67ea87 100644 --- a/src/core/api/channel_manager_api.cpp +++ b/src/core/api/channel_manager_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "utils/channel_manager.hpp" using namespace ot; diff --git a/src/core/api/channel_monitor_api.cpp b/src/core/api/channel_monitor_api.cpp index b61ddec02..9208dd7bf 100644 --- a/src/core/api/channel_monitor_api.cpp +++ b/src/core/api/channel_monitor_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/child_supervision_api.cpp b/src/core/api/child_supervision_api.cpp index a85ae6b2f..8f6f0b54f 100644 --- a/src/core/api/child_supervision_api.cpp +++ b/src/core/api/child_supervision_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/coap_api.cpp b/src/core/api/coap_api.cpp index 47a17defd..1c4d150b9 100644 --- a/src/core/api/coap_api.cpp +++ b/src/core/api/coap_api.cpp @@ -39,7 +39,7 @@ #include "coap/coap_message.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/coap_secure_api.cpp b/src/core/api/coap_secure_api.cpp index 6ba531150..0159df65f 100644 --- a/src/core/api/coap_secure_api.cpp +++ b/src/core/api/coap_secure_api.cpp @@ -41,7 +41,7 @@ #include "coap/coap_message.hpp" #include "coap/coap_secure.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/commissioner_api.cpp b/src/core/api/commissioner_api.cpp index 58a61e7f8..eec4f7d0f 100644 --- a/src/core/api/commissioner_api.cpp +++ b/src/core/api/commissioner_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/crypto_api.cpp b/src/core/api/crypto_api.cpp index a48be7613..73195dd61 100644 --- a/src/core/api/crypto_api.cpp +++ b/src/core/api/crypto_api.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "crypto/aes_ccm.hpp" #include "crypto/ecdsa.hpp" #include "crypto/hmac_sha256.hpp" diff --git a/src/core/api/dataset_api.cpp b/src/core/api/dataset_api.cpp index 237ec23a8..e9ab9aaf7 100644 --- a/src/core/api/dataset_api.cpp +++ b/src/core/api/dataset_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "meshcop/dataset_manager.hpp" #include "meshcop/meshcop.hpp" diff --git a/src/core/api/dataset_ftd_api.cpp b/src/core/api/dataset_ftd_api.cpp index 589814902..aa548546e 100644 --- a/src/core/api/dataset_ftd_api.cpp +++ b/src/core/api/dataset_ftd_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/dataset_updater_api.cpp b/src/core/api/dataset_updater_api.cpp index 73211e188..b45601a2f 100644 --- a/src/core/api/dataset_updater_api.cpp +++ b/src/core/api/dataset_updater_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "meshcop/dataset_updater.hpp" using namespace ot; diff --git a/src/core/api/diags_api.cpp b/src/core/api/diags_api.cpp index c1922d8e9..5dd9d256f 100644 --- a/src/core/api/diags_api.cpp +++ b/src/core/api/diags_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/dns_api.cpp b/src/core/api/dns_api.cpp index d92c68234..b7e64a800 100644 --- a/src/core/api/dns_api.cpp +++ b/src/core/api/dns_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "net/dns_client.hpp" #include "net/dns_types.hpp" diff --git a/src/core/api/icmp6_api.cpp b/src/core/api/icmp6_api.cpp index aaa810042..a7305b493 100644 --- a/src/core/api/icmp6_api.cpp +++ b/src/core/api/icmp6_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/instance_api.cpp b/src/core/api/instance_api.cpp index e6482d581..051cafb22 100644 --- a/src/core/api/instance_api.cpp +++ b/src/core/api/instance_api.cpp @@ -37,7 +37,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/new.hpp" #include "radio/radio.hpp" diff --git a/src/core/api/ip6_api.cpp b/src/core/api/ip6_api.cpp index 74392651f..4debf7098 100644 --- a/src/core/api/ip6_api.cpp +++ b/src/core/api/ip6_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #if OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE #include "utils/slaac_address.hpp" diff --git a/src/core/api/jam_detection_api.cpp b/src/core/api/jam_detection_api.cpp index c50f1ba18..4c23cd31b 100644 --- a/src/core/api/jam_detection_api.cpp +++ b/src/core/api/jam_detection_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/joiner_api.cpp b/src/core/api/joiner_api.cpp index 99e90c5fd..7e5fc52d0 100644 --- a/src/core/api/joiner_api.cpp +++ b/src/core/api/joiner_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/link_api.cpp b/src/core/api/link_api.cpp index 7db89344c..67d019a53 100644 --- a/src/core/api/link_api.cpp +++ b/src/core/api/link_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "mac/mac.hpp" #include "radio/radio.hpp" diff --git a/src/core/api/link_raw_api.cpp b/src/core/api/link_raw_api.cpp index edea5e72b..19bf5a37a 100644 --- a/src/core/api/link_raw_api.cpp +++ b/src/core/api/link_raw_api.cpp @@ -43,7 +43,7 @@ #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/random.hpp" #include "mac/mac_frame.hpp" diff --git a/src/core/api/logging_api.cpp b/src/core/api/logging_api.cpp index c3851c3c9..3aff8aa17 100644 --- a/src/core/api/logging_api.cpp +++ b/src/core/api/logging_api.cpp @@ -35,7 +35,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/message_api.cpp b/src/core/api/message_api.cpp index 79f11210c..777c3df5f 100644 --- a/src/core/api/message_api.cpp +++ b/src/core/api/message_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/multi_radio_api.cpp b/src/core/api/multi_radio_api.cpp index d69dd2cf9..6995148a3 100644 --- a/src/core/api/multi_radio_api.cpp +++ b/src/core/api/multi_radio_api.cpp @@ -40,7 +40,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "thread/radio_selector.hpp" using namespace ot; diff --git a/src/core/api/netdata_api.cpp b/src/core/api/netdata_api.cpp index 17d79b2d9..8033e955d 100644 --- a/src/core/api/netdata_api.cpp +++ b/src/core/api/netdata_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/network_time_api.cpp b/src/core/api/network_time_api.cpp index eef1c922e..2b9853ea5 100644 --- a/src/core/api/network_time_api.cpp +++ b/src/core/api/network_time_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/ping_sender_api.cpp b/src/core/api/ping_sender_api.cpp index 13bb45b8a..dc307b327 100644 --- a/src/core/api/ping_sender_api.cpp +++ b/src/core/api/ping_sender_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/server_api.cpp b/src/core/api/server_api.cpp index 1db358ab2..ed8f22fc4 100644 --- a/src/core/api/server_api.cpp +++ b/src/core/api/server_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/sntp_api.cpp b/src/core/api/sntp_api.cpp index 862a98fea..cbe634124 100644 --- a/src/core/api/sntp_api.cpp +++ b/src/core/api/sntp_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/srp_client_api.cpp b/src/core/api/srp_client_api.cpp index e97865283..99befb526 100644 --- a/src/core/api/srp_client_api.cpp +++ b/src/core/api/srp_client_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "net/srp_client.hpp" using namespace ot; diff --git a/src/core/api/srp_client_buffers_api.cpp b/src/core/api/srp_client_buffers_api.cpp index f701d9299..7c71378a7 100644 --- a/src/core/api/srp_client_buffers_api.cpp +++ b/src/core/api/srp_client_buffers_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "utils/srp_client_buffers.hpp" using namespace ot; diff --git a/src/core/api/srp_server_api.cpp b/src/core/api/srp_server_api.cpp index eae5f9dbc..a7c0993b6 100644 --- a/src/core/api/srp_server_api.cpp +++ b/src/core/api/srp_server_api.cpp @@ -38,7 +38,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" using namespace ot; diff --git a/src/core/api/tasklet_api.cpp b/src/core/api/tasklet_api.cpp index 12f63a176..5f80c6422 100644 --- a/src/core/api/tasklet_api.cpp +++ b/src/core/api/tasklet_api.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" using namespace ot; diff --git a/src/core/api/thread_api.cpp b/src/core/api/thread_api.cpp index 7f57efc94..7c304e8b6 100644 --- a/src/core/api/thread_api.cpp +++ b/src/core/api/thread_api.cpp @@ -39,7 +39,7 @@ #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/settings.hpp" using namespace ot; diff --git a/src/core/api/thread_ftd_api.cpp b/src/core/api/thread_ftd_api.cpp index 221ddda7b..93ccfa02f 100644 --- a/src/core/api/thread_ftd_api.cpp +++ b/src/core/api/thread_ftd_api.cpp @@ -39,7 +39,7 @@ #include "backbone_router/bbr_manager.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "thread/mle_types.hpp" #include "thread/topology.hpp" diff --git a/src/core/api/udp_api.cpp b/src/core/api/udp_api.cpp index 7bd961b28..43d45ddb5 100644 --- a/src/core/api/udp_api.cpp +++ b/src/core/api/udp_api.cpp @@ -36,7 +36,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/new.hpp" #include "net/udp6.hpp" diff --git a/src/core/backbone_router/backbone_tmf.cpp b/src/core/backbone_router/backbone_tmf.cpp index ebc0f2316..cde9d4696 100644 --- a/src/core/backbone_router/backbone_tmf.cpp +++ b/src/core/backbone_router/backbone_tmf.cpp @@ -35,7 +35,7 @@ #if OPENTHREAD_FTD && OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/backbone_router/bbr_leader.cpp b/src/core/backbone_router/bbr_leader.cpp index 1ccfa4699..282073a06 100644 --- a/src/core/backbone_router/bbr_leader.cpp +++ b/src/core/backbone_router/bbr_leader.cpp @@ -36,7 +36,7 @@ #if (OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2) #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/backbone_router/bbr_local.cpp b/src/core/backbone_router/bbr_local.cpp index 6a0d9bd02..1c7f5e2cc 100644 --- a/src/core/backbone_router/bbr_local.cpp +++ b/src/core/backbone_router/bbr_local.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "thread/mle_types.hpp" diff --git a/src/core/backbone_router/bbr_manager.cpp b/src/core/backbone_router/bbr_manager.cpp index e300a6983..4247459b9 100644 --- a/src/core/backbone_router/bbr_manager.cpp +++ b/src/core/backbone_router/bbr_manager.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "thread/mle_types.hpp" diff --git a/src/core/backbone_router/multicast_listeners_table.cpp b/src/core/backbone_router/multicast_listeners_table.cpp index 6eaf3fffb..bf9b51e3c 100644 --- a/src/core/backbone_router/multicast_listeners_table.cpp +++ b/src/core/backbone_router/multicast_listeners_table.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "thread/mle_types.hpp" diff --git a/src/core/backbone_router/ndproxy_table.cpp b/src/core/backbone_router/ndproxy_table.cpp index d2630be2d..f680daa0e 100644 --- a/src/core/backbone_router/ndproxy_table.cpp +++ b/src/core/backbone_router/ndproxy_table.cpp @@ -35,7 +35,7 @@ #if OPENTHREAD_FTD && OPENTHREAD_CONFIG_BACKBONE_ROUTER_DUA_NDPROXYING_ENABLE -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/border_router/routing_manager.cpp b/src/core/border_router/routing_manager.cpp index aeae0ca10..3bb82d05a 100644 --- a/src/core/border_router/routing_manager.cpp +++ b/src/core/border_router/routing_manager.cpp @@ -43,7 +43,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/settings.hpp" diff --git a/src/core/coap/coap.cpp b/src/core/coap/coap.cpp index 976194068..e19261b59 100644 --- a/src/core/coap/coap.cpp +++ b/src/core/coap/coap.cpp @@ -31,7 +31,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "net/ip6.hpp" diff --git a/src/core/coap/coap_secure.cpp b/src/core/coap/coap_secure.cpp index afc12ee89..743518d31 100644 --- a/src/core/coap/coap_secure.cpp +++ b/src/core/coap/coap_secure.cpp @@ -31,7 +31,7 @@ #if OPENTHREAD_CONFIG_DTLS_ENABLE #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/new.hpp" #include "meshcop/dtls.hpp" diff --git a/src/core/common/locator.hpp b/src/core/common/locator.hpp index 30350c31f..927e1d880 100644 --- a/src/core/common/locator.hpp +++ b/src/core/common/locator.hpp @@ -97,7 +97,7 @@ public: * @returns A reference to the `Type` object of the instance. * */ - template inline Type &Get(void) const; // Implemented in `locator-getters.hpp`. + template inline Type &Get(void) const; // Implemented in `locator_getters.hpp`. protected: /** diff --git a/src/core/common/locator-getters.hpp b/src/core/common/locator_getters.hpp similarity index 100% rename from src/core/common/locator-getters.hpp rename to src/core/common/locator_getters.hpp diff --git a/src/core/common/message.cpp b/src/core/common/message.cpp index 4c195743e..8b8366fc7 100644 --- a/src/core/common/message.cpp +++ b/src/core/common/message.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "net/checksum.hpp" #include "net/ip6.hpp" diff --git a/src/core/common/notifier.cpp b/src/core/common/notifier.cpp index 34b647299..610331b3e 100644 --- a/src/core/common/notifier.cpp +++ b/src/core/common/notifier.cpp @@ -36,7 +36,7 @@ #include "border_router/routing_manager.hpp" #include "common/code_utils.hpp" #include "common/debug.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/common/settings.cpp b/src/core/common/settings.cpp index 70cd79973..77f64ef68 100644 --- a/src/core/common/settings.cpp +++ b/src/core/common/settings.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/dataset.hpp" #include "thread/mle.hpp" diff --git a/src/core/common/tasklet.cpp b/src/core/common/tasklet.cpp index 68ff27e91..81dd84ff2 100644 --- a/src/core/common/tasklet.cpp +++ b/src/core/common/tasklet.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "net/ip6.hpp" namespace ot { diff --git a/src/core/common/time_ticker.cpp b/src/core/common/time_ticker.cpp index 28834b98c..c770275e5 100644 --- a/src/core/common/time_ticker.cpp +++ b/src/core/common/time_ticker.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/random.hpp" #include "thread/mle_router.hpp" diff --git a/src/core/common/timer.cpp b/src/core/common/timer.cpp index bcc758c18..ea6bdc22e 100644 --- a/src/core/common/timer.cpp +++ b/src/core/common/timer.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/diags/factory_diags.cpp b/src/core/diags/factory_diags.cpp index 248c0584f..feb3ce4c6 100644 --- a/src/core/diags/factory_diags.cpp +++ b/src/core/diags/factory_diags.cpp @@ -43,7 +43,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "radio/radio.hpp" #include "utils/parse_cmdline.hpp" diff --git a/src/core/mac/data_poll_handler.cpp b/src/core/mac/data_poll_handler.cpp index bb0f33037..9e4e1b53f 100644 --- a/src/core/mac/data_poll_handler.cpp +++ b/src/core/mac/data_poll_handler.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/mac/data_poll_sender.cpp b/src/core/mac/data_poll_sender.cpp index 1a5fd7f6e..b1f3176db 100644 --- a/src/core/mac/data_poll_sender.cpp +++ b/src/core/mac/data_poll_sender.cpp @@ -35,7 +35,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/message.hpp" #include "net/ip6.hpp" diff --git a/src/core/mac/link_raw.cpp b/src/core/mac/link_raw.cpp index 7ca2fa139..400842694 100644 --- a/src/core/mac/link_raw.cpp +++ b/src/core/mac/link_raw.cpp @@ -41,7 +41,7 @@ #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "mac/mac_frame.hpp" diff --git a/src/core/mac/mac.cpp b/src/core/mac/mac.cpp index 6a1d6d443..6176258ed 100644 --- a/src/core/mac/mac.cpp +++ b/src/core/mac/mac.cpp @@ -39,7 +39,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/string.hpp" diff --git a/src/core/mac/mac_links.cpp b/src/core/mac/mac_links.cpp index 156d48d6c..bdad29bbc 100644 --- a/src/core/mac/mac_links.cpp +++ b/src/core/mac/mac_links.cpp @@ -35,7 +35,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" namespace ot { namespace Mac { diff --git a/src/core/mac/sub_mac.cpp b/src/core/mac/sub_mac.cpp index 40fd47cc4..e77adfb41 100644 --- a/src/core/mac/sub_mac.cpp +++ b/src/core/mac/sub_mac.cpp @@ -41,7 +41,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/time.hpp" diff --git a/src/core/mac/sub_mac_callbacks.cpp b/src/core/mac/sub_mac_callbacks.cpp index 6f070ec1a..35bb64ddc 100644 --- a/src/core/mac/sub_mac_callbacks.cpp +++ b/src/core/mac/sub_mac_callbacks.cpp @@ -35,7 +35,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #if OPENTHREAD_FTD || OPENTHREAD_MTD #include "mac/mac.hpp" diff --git a/src/core/meshcop/announce_begin_client.cpp b/src/core/meshcop/announce_begin_client.cpp index 425c538df..af11ee870 100644 --- a/src/core/meshcop/announce_begin_client.cpp +++ b/src/core/meshcop/announce_begin_client.cpp @@ -39,7 +39,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/meshcop/border_agent.cpp b/src/core/meshcop/border_agent.cpp index 897de42c2..42ce6625d 100644 --- a/src/core/meshcop/border_agent.cpp +++ b/src/core/meshcop/border_agent.cpp @@ -37,7 +37,7 @@ #include "coap/coap_message.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/meshcop/commissioner.cpp b/src/core/meshcop/commissioner.cpp index 6b9ea33bf..0b7a06aa1 100644 --- a/src/core/meshcop/commissioner.cpp +++ b/src/core/meshcop/commissioner.cpp @@ -40,7 +40,7 @@ #include "coap/coap_message.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/string.hpp" #include "meshcop/joiner.hpp" diff --git a/src/core/meshcop/dataset.cpp b/src/core/meshcop/dataset.cpp index e9216e2c6..118b1ca5f 100644 --- a/src/core/meshcop/dataset.cpp +++ b/src/core/meshcop/dataset.cpp @@ -39,7 +39,7 @@ #include "common/code_utils.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "mac/mac_types.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/meshcop/dataset_local.cpp b/src/core/meshcop/dataset_local.cpp index f6391e6d0..1e84d85b8 100644 --- a/src/core/meshcop/dataset_local.cpp +++ b/src/core/meshcop/dataset_local.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/settings.hpp" #include "meshcop/dataset.hpp" diff --git a/src/core/meshcop/dataset_manager.cpp b/src/core/meshcop/dataset_manager.cpp index 18d982022..3383f644a 100644 --- a/src/core/meshcop/dataset_manager.cpp +++ b/src/core/meshcop/dataset_manager.cpp @@ -37,7 +37,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/notifier.hpp" #include "meshcop/meshcop.hpp" diff --git a/src/core/meshcop/dataset_manager_ftd.cpp b/src/core/meshcop/dataset_manager_ftd.cpp index 98647c018..a612dda99 100644 --- a/src/core/meshcop/dataset_manager_ftd.cpp +++ b/src/core/meshcop/dataset_manager_ftd.cpp @@ -44,7 +44,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/timer.hpp" diff --git a/src/core/meshcop/dataset_updater.cpp b/src/core/meshcop/dataset_updater.cpp index 6b86f4e0f..cd7392a7e 100644 --- a/src/core/meshcop/dataset_updater.cpp +++ b/src/core/meshcop/dataset_updater.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" diff --git a/src/core/meshcop/dtls.cpp b/src/core/meshcop/dtls.cpp index 57ab274e2..f145a3eb3 100644 --- a/src/core/meshcop/dtls.cpp +++ b/src/core/meshcop/dtls.cpp @@ -43,7 +43,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/timer.hpp" #include "crypto/mbedtls.hpp" diff --git a/src/core/meshcop/energy_scan_client.cpp b/src/core/meshcop/energy_scan_client.cpp index 763468f3c..e55e7b3e2 100644 --- a/src/core/meshcop/energy_scan_client.cpp +++ b/src/core/meshcop/energy_scan_client.cpp @@ -40,7 +40,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/meshcop/joiner.cpp b/src/core/meshcop/joiner.cpp index a9905f97b..917f77830 100644 --- a/src/core/meshcop/joiner.cpp +++ b/src/core/meshcop/joiner.cpp @@ -41,7 +41,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/string.hpp" #include "meshcop/meshcop.hpp" diff --git a/src/core/meshcop/joiner_router.cpp b/src/core/meshcop/joiner_router.cpp index a410cb6dc..8b1d5585d 100644 --- a/src/core/meshcop/joiner_router.cpp +++ b/src/core/meshcop/joiner_router.cpp @@ -40,7 +40,7 @@ #include "common/code_utils.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/meshcop/meshcop.cpp b/src/core/meshcop/meshcop.cpp index 4866e967c..b0120db57 100644 --- a/src/core/meshcop/meshcop.cpp +++ b/src/core/meshcop/meshcop.cpp @@ -35,7 +35,7 @@ #include "common/crc16.hpp" #include "common/debug.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/string.hpp" #include "crypto/pbkdf2_cmac.hpp" diff --git a/src/core/meshcop/meshcop_leader.cpp b/src/core/meshcop/meshcop_leader.cpp index 808e1ad34..02e5266ed 100644 --- a/src/core/meshcop/meshcop_leader.cpp +++ b/src/core/meshcop/meshcop_leader.cpp @@ -40,7 +40,7 @@ #include "coap/coap_message.hpp" #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "meshcop/meshcop.hpp" diff --git a/src/core/meshcop/panid_query_client.cpp b/src/core/meshcop/panid_query_client.cpp index 1efa55e31..bdfd66827 100644 --- a/src/core/meshcop/panid_query_client.cpp +++ b/src/core/meshcop/panid_query_client.cpp @@ -39,7 +39,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/net/dhcp6_client.cpp b/src/core/net/dhcp6_client.cpp index 13ab59a9a..4da6b5417 100644 --- a/src/core/net/dhcp6_client.cpp +++ b/src/core/net/dhcp6_client.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "mac/mac.hpp" #include "net/dhcp6.hpp" diff --git a/src/core/net/dhcp6_server.cpp b/src/core/net/dhcp6_server.cpp index 4aea287b9..751d186e6 100644 --- a/src/core/net/dhcp6_server.cpp +++ b/src/core/net/dhcp6_server.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "thread/mle.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/net/dns_client.cpp b/src/core/net/dns_client.cpp index 401a336c1..6e5e8d11b 100644 --- a/src/core/net/dns_client.cpp +++ b/src/core/net/dns_client.cpp @@ -33,7 +33,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "net/udp6.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/net/dnssd_server.cpp b/src/core/net/dnssd_server.cpp index 2c4c42d68..c46a43359 100644 --- a/src/core/net/dnssd_server.cpp +++ b/src/core/net/dnssd_server.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "net/srp_server.hpp" #include "net/udp6.hpp" diff --git a/src/core/net/icmp6.cpp b/src/core/net/icmp6.cpp index 0fd4bce9b..6861e7c67 100644 --- a/src/core/net/icmp6.cpp +++ b/src/core/net/icmp6.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/message.hpp" #include "net/checksum.hpp" diff --git a/src/core/net/ip6.cpp b/src/core/net/ip6.cpp index d2f237f9e..12ae8a910 100644 --- a/src/core/net/ip6.cpp +++ b/src/core/net/ip6.cpp @@ -39,7 +39,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/message.hpp" #include "common/random.hpp" diff --git a/src/core/net/ip6_mpl.cpp b/src/core/net/ip6_mpl.cpp index b4b3bbdcf..d1b5cee2e 100644 --- a/src/core/net/ip6_mpl.cpp +++ b/src/core/net/ip6_mpl.cpp @@ -35,7 +35,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/message.hpp" #include "common/random.hpp" #include "net/ip6.hpp" diff --git a/src/core/net/netif.cpp b/src/core/net/netif.cpp index 4dc6b66d7..9a0a608ec 100644 --- a/src/core/net/netif.cpp +++ b/src/core/net/netif.cpp @@ -35,7 +35,7 @@ #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/message.hpp" #include "net/ip6.hpp" diff --git a/src/core/net/sntp_client.cpp b/src/core/net/sntp_client.cpp index f4c15a273..f3b40704e 100644 --- a/src/core/net/sntp_client.cpp +++ b/src/core/net/sntp_client.cpp @@ -34,7 +34,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "net/udp6.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/net/srp_client.cpp b/src/core/net/srp_client.cpp index 7e38f57f8..7cb990948 100644 --- a/src/core/net/srp_client.cpp +++ b/src/core/net/srp_client.cpp @@ -33,7 +33,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/settings.hpp" diff --git a/src/core/net/srp_server.cpp b/src/core/net/srp_server.cpp index 652b993fa..6151fc1e1 100644 --- a/src/core/net/srp_server.cpp +++ b/src/core/net/srp_server.cpp @@ -36,7 +36,7 @@ #if OPENTHREAD_CONFIG_SRP_SERVER_ENABLE #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/new.hpp" #include "common/random.hpp" diff --git a/src/core/net/udp6.cpp b/src/core/net/udp6.cpp index 8594f2331..bd2584ebc 100644 --- a/src/core/net/udp6.cpp +++ b/src/core/net/udp6.cpp @@ -40,7 +40,7 @@ #include "common/code_utils.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "net/checksum.hpp" #include "net/ip6.hpp" diff --git a/src/core/radio/radio.cpp b/src/core/radio/radio.cpp index b519e5420..c62d91712 100644 --- a/src/core/radio/radio.cpp +++ b/src/core/radio/radio.cpp @@ -28,7 +28,7 @@ #include "radio.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "utils/otns.hpp" namespace ot { diff --git a/src/core/radio/radio_callbacks.cpp b/src/core/radio/radio_callbacks.cpp index 55b231ba0..d91865923 100644 --- a/src/core/radio/radio_callbacks.cpp +++ b/src/core/radio/radio_callbacks.cpp @@ -34,7 +34,7 @@ #include "radio.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" namespace ot { diff --git a/src/core/radio/trel_interface.cpp b/src/core/radio/trel_interface.cpp index 03b43ad64..9e602ab54 100644 --- a/src/core/radio/trel_interface.cpp +++ b/src/core/radio/trel_interface.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/radio/trel_link.cpp b/src/core/radio/trel_link.cpp index 776a65965..5e6d1ca55 100644 --- a/src/core/radio/trel_link.cpp +++ b/src/core/radio/trel_link.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/radio/trel_packet.cpp b/src/core/radio/trel_packet.cpp index 71471323e..e60f1bfc2 100644 --- a/src/core/radio/trel_packet.cpp +++ b/src/core/radio/trel_packet.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/thread/address_resolver.cpp b/src/core/thread/address_resolver.cpp index a4af93266..b96105025 100644 --- a/src/core/thread/address_resolver.cpp +++ b/src/core/thread/address_resolver.cpp @@ -40,7 +40,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/time.hpp" #include "mac/mac_types.hpp" diff --git a/src/core/thread/announce_begin_server.cpp b/src/core/thread/announce_begin_server.cpp index 102398041..abf3fa593 100644 --- a/src/core/thread/announce_begin_server.cpp +++ b/src/core/thread/announce_begin_server.cpp @@ -39,7 +39,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop_tlvs.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/thread/announce_sender.cpp b/src/core/thread/announce_sender.cpp index b9787dd93..08d47f417 100644 --- a/src/core/thread/announce_sender.cpp +++ b/src/core/thread/announce_sender.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "meshcop/meshcop.hpp" diff --git a/src/core/thread/child_table.cpp b/src/core/thread/child_table.cpp index 9b8c8090e..7e3e9e513 100644 --- a/src/core/thread/child_table.cpp +++ b/src/core/thread/child_table.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" namespace ot { diff --git a/src/core/thread/csl_tx_scheduler.cpp b/src/core/thread/csl_tx_scheduler.cpp index 9b72a532f..b70a895f0 100644 --- a/src/core/thread/csl_tx_scheduler.cpp +++ b/src/core/thread/csl_tx_scheduler.cpp @@ -30,7 +30,7 @@ #if OPENTHREAD_FTD && OPENTHREAD_CONFIG_MAC_CSL_TRANSMITTER_ENABLE -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/time.hpp" #include "mac/mac.hpp" diff --git a/src/core/thread/discover_scanner.cpp b/src/core/thread/discover_scanner.cpp index 072e9d1b3..7c0fa8574 100644 --- a/src/core/thread/discover_scanner.cpp +++ b/src/core/thread/discover_scanner.cpp @@ -35,7 +35,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "thread/mesh_forwarder.hpp" #include "thread/mle.hpp" diff --git a/src/core/thread/dua_manager.cpp b/src/core/thread/dua_manager.cpp index 7bc809faf..724728ff4 100644 --- a/src/core/thread/dua_manager.cpp +++ b/src/core/thread/dua_manager.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/settings.hpp" #include "net/ip6_address.hpp" diff --git a/src/core/thread/energy_scan_server.cpp b/src/core/thread/energy_scan_server.cpp index dbf85980f..b83bfb661 100644 --- a/src/core/thread/energy_scan_server.cpp +++ b/src/core/thread/energy_scan_server.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/thread/indirect_sender.cpp b/src/core/thread/indirect_sender.cpp index b2d239074..393efd69e 100644 --- a/src/core/thread/indirect_sender.cpp +++ b/src/core/thread/indirect_sender.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/message.hpp" #include "thread/mesh_forwarder.hpp" diff --git a/src/core/thread/key_manager.cpp b/src/core/thread/key_manager.cpp index ce8a19ade..fdbe80655 100644 --- a/src/core/thread/key_manager.cpp +++ b/src/core/thread/key_manager.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/timer.hpp" #include "crypto/hkdf_sha256.hpp" #include "thread/mle_router.hpp" diff --git a/src/core/thread/link_metrics.cpp b/src/core/thread/link_metrics.cpp index fa6aa69fb..87826f02e 100644 --- a/src/core/thread/link_metrics.cpp +++ b/src/core/thread/link_metrics.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "thread/link_metrics_tlvs.hpp" #include "thread/neighbor_table.hpp" diff --git a/src/core/thread/link_quality.cpp b/src/core/thread/link_quality.cpp index 0dc65a6a5..7f94f6777 100644 --- a/src/core/thread/link_quality.cpp +++ b/src/core/thread/link_quality.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" namespace ot { diff --git a/src/core/thread/lowpan.cpp b/src/core/thread/lowpan.cpp index a617d2b36..3b280788c 100644 --- a/src/core/thread/lowpan.cpp +++ b/src/core/thread/lowpan.cpp @@ -37,7 +37,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "net/ip6.hpp" #include "net/udp6.hpp" #include "thread/network_data_leader.hpp" diff --git a/src/core/thread/mesh_forwarder.cpp b/src/core/thread/mesh_forwarder.cpp index 09505cc1c..f56b1ad0c 100644 --- a/src/core/thread/mesh_forwarder.cpp +++ b/src/core/thread/mesh_forwarder.cpp @@ -37,7 +37,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/message.hpp" #include "common/random.hpp" diff --git a/src/core/thread/mesh_forwarder_ftd.cpp b/src/core/thread/mesh_forwarder_ftd.cpp index 9f43fb966..3bbf8389f 100644 --- a/src/core/thread/mesh_forwarder_ftd.cpp +++ b/src/core/thread/mesh_forwarder_ftd.cpp @@ -35,7 +35,7 @@ #if OPENTHREAD_FTD -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "net/ip6.hpp" diff --git a/src/core/thread/mle.cpp b/src/core/thread/mle.cpp index d696a079e..66394717d 100644 --- a/src/core/thread/mle.cpp +++ b/src/core/thread/mle.cpp @@ -40,7 +40,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/settings.hpp" diff --git a/src/core/thread/mle_router.cpp b/src/core/thread/mle_router.cpp index 0ebe627a5..d6fe84b18 100644 --- a/src/core/thread/mle_router.cpp +++ b/src/core/thread/mle_router.cpp @@ -38,7 +38,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/settings.hpp" diff --git a/src/core/thread/mlr_manager.cpp b/src/core/thread/mlr_manager.cpp index e66766ae1..d95a3177b 100644 --- a/src/core/thread/mlr_manager.cpp +++ b/src/core/thread/mlr_manager.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "net/ip6_address.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/thread/neighbor_table.cpp b/src/core/thread/neighbor_table.cpp index cbf58b07e..eb3e8206a 100644 --- a/src/core/thread/neighbor_table.cpp +++ b/src/core/thread/neighbor_table.cpp @@ -35,7 +35,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "thread/dua_manager.hpp" namespace ot { diff --git a/src/core/thread/network_data.cpp b/src/core/thread/network_data.cpp index 6f6358adc..d17333441 100644 --- a/src/core/thread/network_data.cpp +++ b/src/core/thread/network_data.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "mac/mac_types.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/thread/network_data_leader.cpp b/src/core/thread/network_data_leader.cpp index d4ad9bc75..28b8a518c 100644 --- a/src/core/thread/network_data_leader.cpp +++ b/src/core/thread/network_data_leader.cpp @@ -38,7 +38,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/message.hpp" #include "common/random.hpp" diff --git a/src/core/thread/network_data_leader_ftd.cpp b/src/core/thread/network_data_leader_ftd.cpp index f863df5d8..6f7eb9549 100644 --- a/src/core/thread/network_data_leader_ftd.cpp +++ b/src/core/thread/network_data_leader_ftd.cpp @@ -40,7 +40,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/message.hpp" #include "common/timer.hpp" diff --git a/src/core/thread/network_data_local.cpp b/src/core/thread/network_data_local.cpp index 241d29ae7..be3991816 100644 --- a/src/core/thread/network_data_local.cpp +++ b/src/core/thread/network_data_local.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "mac/mac_types.hpp" #include "thread/mle_types.hpp" diff --git a/src/core/thread/network_data_notifier.cpp b/src/core/thread/network_data_notifier.cpp index 7ea123af4..d82df76b0 100644 --- a/src/core/thread/network_data_notifier.cpp +++ b/src/core/thread/network_data_notifier.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "thread/network_data_leader.hpp" #include "thread/network_data_local.hpp" diff --git a/src/core/thread/network_data_service.cpp b/src/core/thread/network_data_service.cpp index ed18e3fbd..0d56702bb 100644 --- a/src/core/thread/network_data_service.cpp +++ b/src/core/thread/network_data_service.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "thread/network_data_local.hpp" namespace ot { diff --git a/src/core/thread/network_diagnostic.cpp b/src/core/thread/network_diagnostic.cpp index 743a4799c..5fbf71313 100644 --- a/src/core/thread/network_diagnostic.cpp +++ b/src/core/thread/network_diagnostic.cpp @@ -40,7 +40,7 @@ #include "common/debug.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "mac/mac.hpp" #include "net/netif.hpp" diff --git a/src/core/thread/panid_query_server.cpp b/src/core/thread/panid_query_server.cpp index 77a5e1fe5..918c9cbaa 100644 --- a/src/core/thread/panid_query_server.cpp +++ b/src/core/thread/panid_query_server.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "meshcop/meshcop.hpp" #include "meshcop/meshcop_tlvs.hpp" diff --git a/src/core/thread/radio_selector.cpp b/src/core/thread/radio_selector.cpp index 219ef6e96..b45c44f4c 100644 --- a/src/core/thread/radio_selector.cpp +++ b/src/core/thread/radio_selector.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" diff --git a/src/core/thread/router_table.cpp b/src/core/thread/router_table.cpp index e727189b1..7439f81a6 100644 --- a/src/core/thread/router_table.cpp +++ b/src/core/thread/router_table.cpp @@ -32,7 +32,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/timer.hpp" #include "thread/mle.hpp" diff --git a/src/core/thread/src_match_controller.cpp b/src/core/thread/src_match_controller.cpp index d16df331c..810118b88 100644 --- a/src/core/thread/src_match_controller.cpp +++ b/src/core/thread/src_match_controller.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "mac/mac_types.hpp" #include "radio/radio.hpp" diff --git a/src/core/thread/thread_netif.cpp b/src/core/thread/thread_netif.cpp index 6d27245ff..aa00e677d 100644 --- a/src/core/thread/thread_netif.cpp +++ b/src/core/thread/thread_netif.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/encoding.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/message.hpp" #include "net/ip6.hpp" #include "net/netif.hpp" diff --git a/src/core/thread/time_sync_service.cpp b/src/core/thread/time_sync_service.cpp index 31abebbb9..001997d86 100644 --- a/src/core/thread/time_sync_service.cpp +++ b/src/core/thread/time_sync_service.cpp @@ -42,7 +42,7 @@ #include #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #define ABS(value) (((value) >= 0) ? (value) : -(value)) diff --git a/src/core/thread/tmf.cpp b/src/core/thread/tmf.cpp index 6ae4c68f6..687182904 100644 --- a/src/core/thread/tmf.cpp +++ b/src/core/thread/tmf.cpp @@ -33,7 +33,7 @@ #include "thread/tmf.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" namespace ot { namespace Tmf { diff --git a/src/core/thread/topology.cpp b/src/core/thread/topology.cpp index 54d38fc13..81c6edbc6 100644 --- a/src/core/thread/topology.cpp +++ b/src/core/thread/topology.cpp @@ -36,7 +36,7 @@ #include "common/code_utils.hpp" #include "common/debug.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/utils/channel_manager.cpp b/src/core/utils/channel_manager.cpp index fac54a095..76fc0d7aa 100644 --- a/src/core/utils/channel_manager.cpp +++ b/src/core/utils/channel_manager.cpp @@ -38,7 +38,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "meshcop/dataset_updater.hpp" diff --git a/src/core/utils/channel_monitor.cpp b/src/core/utils/channel_monitor.cpp index c72337d8d..526789249 100644 --- a/src/core/utils/channel_monitor.cpp +++ b/src/core/utils/channel_monitor.cpp @@ -36,7 +36,7 @@ #if OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE #include "common/code_utils.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" diff --git a/src/core/utils/child_supervision.cpp b/src/core/utils/child_supervision.cpp index e6be59fc1..3869113d4 100644 --- a/src/core/utils/child_supervision.cpp +++ b/src/core/utils/child_supervision.cpp @@ -36,7 +36,7 @@ #include "openthread-core-config.h" #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/utils/jam_detector.cpp b/src/core/utils/jam_detector.cpp index 995ba7b19..62843f5a4 100644 --- a/src/core/utils/jam_detector.cpp +++ b/src/core/utils/jam_detector.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "thread/thread_netif.hpp" diff --git a/src/core/utils/otns.cpp b/src/core/utils/otns.cpp index 65d44a6af..2f597f216 100644 --- a/src/core/utils/otns.cpp +++ b/src/core/utils/otns.cpp @@ -37,7 +37,7 @@ #if (OPENTHREAD_MTD || OPENTHREAD_FTD) && OPENTHREAD_CONFIG_OTNS_ENABLE #include "common/debug.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" namespace ot { diff --git a/src/core/utils/ping_sender.cpp b/src/core/utils/ping_sender.cpp index 48d04b754..106705722 100644 --- a/src/core/utils/ping_sender.cpp +++ b/src/core/utils/ping_sender.cpp @@ -36,7 +36,7 @@ #if OPENTHREAD_CONFIG_PING_SENDER_ENABLE #include "common/encoding.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/random.hpp" namespace ot { diff --git a/src/core/utils/slaac_address.cpp b/src/core/utils/slaac_address.cpp index 032977986..846ca3e24 100644 --- a/src/core/utils/slaac_address.cpp +++ b/src/core/utils/slaac_address.cpp @@ -37,7 +37,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" #include "common/logging.hpp" #include "common/random.hpp" #include "common/settings.hpp" diff --git a/src/core/utils/srp_client_buffers.cpp b/src/core/utils/srp_client_buffers.cpp index 169015336..87b0f7191 100644 --- a/src/core/utils/srp_client_buffers.cpp +++ b/src/core/utils/srp_client_buffers.cpp @@ -39,7 +39,7 @@ #include "common/code_utils.hpp" #include "common/instance.hpp" -#include "common/locator-getters.hpp" +#include "common/locator_getters.hpp" namespace ot { namespace Utils {