Home
last modified time | relevance | path

Searched refs:aDomain (Results 1 – 14 of 14) sorted by relevance

/openthread-3.5.0/src/posix/platform/
Dmisc.cpp99 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()
Dpower_updater.cpp122 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()
Dpower_updater.hpp103 otError GetDomain(uint16_t aRegionCode, Power::Domain &aDomain);
104 …otError GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &aTarg…
Dpower.cpp36 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()
Dpower.hpp57 otError Set(const char *aDomain);
Dplatform-posix.h398 int SocketWithCloseExec(int aDomain, int aType, int aProtocol, SocketBlockOption aBlockOption);
/openthread-3.5.0/tools/ot-fct/
Dcli.hpp105 otError GetNextDomain(int &aIterator, Power::Domain &aDomain);
106 …otError GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &aTarg…
Dcli.cpp53 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/
Dsrp_server_api.cpp47 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/
Ddns_types.cpp660 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()
Dsrp_server.cpp274 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()
Dsrp_server.hpp693 Error SetDomain(const char *aDomain);
Ddns_types.hpp963 static bool IsSubDomainOf(const char *aName, const char *aDomain);
/openthread-3.5.0/include/openthread/
Dsrp_server.h176 otError otSrpServerSetDomain(otInstance *aInstance, const char *aDomain);