/openthread-3.5.0/src/posix/platform/ |
D | misc.cpp | 99 int SocketWithCloseExec(int aDomain, int aType, int aProtocol, SocketBlockOption aBlockOption) in SocketWithCloseExec() argument 105 VerifyOrExit((fd = socket(aDomain, aType, aProtocol)) != -1, perror("socket(SOCK_CLOEXEC)")); in SocketWithCloseExec() 112 VerifyOrExit((fd = socket(aDomain, aType, aProtocol)) != -1, perror("socket(SOCK_CLOEXEC)")); in SocketWithCloseExec()
|
D | power_updater.cpp | 122 otError PowerUpdater::GetDomain(uint16_t aRegionCode, Power::Domain &aDomain) in GetDomain() argument 140 ExitNow(error = aDomain.Set(value)); in GetDomain() 154 otError PowerUpdater::GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::Targe… in GetNextTargetPower() argument 163 if (((domain = strtok_r(value, kCommaDelimiter, &psave)) == nullptr) || (aDomain != domain)) in GetNextTargetPower()
|
D | power_updater.hpp | 103 otError GetDomain(uint16_t aRegionCode, Power::Domain &aDomain); 104 …otError GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &aTarg…
|
D | power.cpp | 36 otError Domain::Set(const char *aDomain) in Set() argument 39 uint16_t length = static_cast<uint16_t>(strlen(aDomain)); in Set() 42 memcpy(m8, aDomain, length); in Set()
|
D | power.hpp | 57 otError Set(const char *aDomain);
|
D | platform-posix.h | 398 int SocketWithCloseExec(int aDomain, int aType, int aProtocol, SocketBlockOption aBlockOption);
|
/openthread-3.5.0/tools/ot-fct/ |
D | cli.hpp | 105 otError GetNextDomain(int &aIterator, Power::Domain &aDomain); 106 …otError GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &aTarg…
|
D | cli.cpp | 53 otError Cli::GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &a… in GetNextTargetPower() argument 62 if (((domain = strtok_r(value, kCommaDelimiter, &psave)) == nullptr) || (aDomain != domain)) in GetNextTargetPower() 74 otError Cli::GetNextDomain(int &aIterator, Power::Domain &aDomain) in GetNextDomain() argument 87 error = aDomain.Set(str); in GetNextDomain()
|
/openthread-3.5.0/src/core/api/ |
D | srp_server_api.cpp | 47 otError otSrpServerSetDomain(otInstance *aInstance, const char *aDomain) in otSrpServerSetDomain() argument 49 return AsCoreType(aInstance).Get<Srp::Server>().SetDomain(aDomain); in otSrpServerSetDomain()
|
/openthread-3.5.0/src/core/net/ |
D | dns_types.cpp | 660 bool Name::IsSubDomainOf(const char *aName, const char *aDomain) in IsSubDomainOf() argument 666 uint16_t domainLength = StringLength(aDomain, kMaxNameLength); in IsSubDomainOf() 674 if (domainLength > 0 && aDomain[domainLength - 1] == kLabelSeparatorChar) in IsSubDomainOf() 697 match = StringMatch(aName, aDomain, kStringCaseInsensitiveMatch); in IsSubDomainOf() 702 match = StringStartsWith(aName, aDomain, kStringCaseInsensitiveMatch); in IsSubDomainOf() 707 match = StringStartsWith(aDomain, aName, kStringCaseInsensitiveMatch); in IsSubDomainOf()
|
D | srp_server.cpp | 274 Error Server::SetDomain(const char *aDomain) in SetDomain() argument 281 length = StringLength(aDomain, Dns::Name::kMaxNameSize); in SetDomain() 284 if (aDomain[length - 1] == '.') in SetDomain() 286 error = mDomain.Set(aDomain); in SetDomain() 296 memcpy(buf, aDomain, length); in SetDomain()
|
D | srp_server.hpp | 693 Error SetDomain(const char *aDomain);
|
D | dns_types.hpp | 963 static bool IsSubDomainOf(const char *aName, const char *aDomain);
|
/openthread-3.5.0/include/openthread/ |
D | srp_server.h | 176 otError otSrpServerSetDomain(otInstance *aInstance, const char *aDomain);
|