Home
last modified time | relevance | path

Searched refs:aDiscerner (Results 1 – 16 of 16) sorted by relevance

/openthread-latest/src/core/meshcop/
Dcommissioner.hpp198 Error AddJoiner(const JoinerDiscerner &aDiscerner, const char *aPskd, uint32_t aTimeout) in AddJoiner() argument
200 return AddJoiner(nullptr, &aDiscerner, aPskd, aTimeout); in AddJoiner()
254 Error RemoveJoiner(const JoinerDiscerner &aDiscerner, uint32_t aDelay) in RemoveJoiner() argument
256 return RemoveJoiner(nullptr, &aDiscerner, aDelay); in RemoveJoiner()
404 Joiner *FindJoinerEntry(const JoinerDiscerner &aDiscerner);
409 const JoinerDiscerner *aDiscerner,
412 …Error RemoveJoiner(const Mac::ExtAddress *aEui64, const JoinerDiscerner *aDiscerner, uint32_t aDel…
Dmeshcop.cpp213 void SteeringData::UpdateBloomFilter(const JoinerDiscerner &aDiscerner) in UpdateBloomFilter() argument
217 CalculateHashBitIndexes(aDiscerner, indexes); in UpdateBloomFilter()
238 bool SteeringData::Contains(const JoinerDiscerner &aDiscerner) const in Contains()
242 CalculateHashBitIndexes(aDiscerner, indexes); in Contains()
267 void SteeringData::CalculateHashBitIndexes(const JoinerDiscerner &aDiscerner, HashBitIndexes &aInde… in CalculateHashBitIndexes() argument
272 aDiscerner.CopyTo(address); in CalculateHashBitIndexes()
Dmeshcop.hpp322 void UpdateBloomFilter(const JoinerDiscerner &aDiscerner);
358 bool Contains(const JoinerDiscerner &aDiscerner) const;
390 … static void CalculateHashBitIndexes(const JoinerDiscerner &aDiscerner, HashBitIndexes &aIndexes);
Dcommissioner.cpp194 Commissioner::Joiner *Commissioner::FindJoinerEntry(const JoinerDiscerner &aDiscerner) in FindJoinerEntry() argument
200 if ((joiner.mType == Joiner::kTypeDiscerner) && (aDiscerner == joiner.mSharedId.mDiscerner)) in FindJoinerEntry()
428 const JoinerDiscerner *aDiscerner, in AddJoiner() argument
437 if (aDiscerner != nullptr) in AddJoiner()
439 VerifyOrExit(aDiscerner->IsValid(), error = kErrorInvalidArgs); in AddJoiner()
440 joiner = FindJoinerEntry(*aDiscerner); in AddJoiner()
456 if (aDiscerner != nullptr) in AddJoiner()
459 joiner->mSharedId.mDiscerner = *aDiscerner; in AddJoiner()
535 Error Commissioner::RemoveJoiner(const Mac::ExtAddress *aEui64, const JoinerDiscerner *aDiscerner, … in RemoveJoiner() argument
542 if (aDiscerner != nullptr) in RemoveJoiner()
[all …]
Djoiner.cpp84 Error Joiner::SetDiscerner(const JoinerDiscerner &aDiscerner) in SetDiscerner() argument
88 VerifyOrExit(aDiscerner.IsValid(), error = kErrorInvalidArgs); in SetDiscerner()
91 mDiscerner = aDiscerner; in SetDiscerner()
Djoiner.hpp161 Error SetDiscerner(const JoinerDiscerner &aDiscerner);
/openthread-latest/src/core/api/
Djoiner_api.cpp72 otError otJoinerSetDiscerner(otInstance *aInstance, otJoinerDiscerner *aDiscerner) in otJoinerSetDiscerner() argument
77 if (aDiscerner != nullptr) in otJoinerSetDiscerner()
79 error = joiner.SetDiscerner(AsCoreType(aDiscerner)); in otJoinerSetDiscerner()
Dcommissioner_api.cpp83 const otJoinerDiscerner *aDiscerner, in otCommissionerAddJoinerWithDiscerner() argument
87 …return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().AddJoiner(AsCoreType(aDiscerner), aPskd,… in otCommissionerAddJoinerWithDiscerner()
112 …otCommissionerRemoveJoinerWithDiscerner(otInstance *aInstance, const otJoinerDiscerner *aDiscerner) in otCommissionerRemoveJoinerWithDiscerner() argument
114 … return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().RemoveJoiner(AsCoreType(aDiscerner), 0); in otCommissionerRemoveJoinerWithDiscerner()
Dnetdata_api.cpp127 …ataSteeringDataCheckJoinerWithDiscerner(otInstance *aInstance, const otJoinerDiscerner *aDiscerner) in otNetDataSteeringDataCheckJoinerWithDiscerner() argument
129 …n AsCoreType(aInstance).Get<NetworkData::Leader>().SteeringDataCheckJoiner(AsCoreType(aDiscerner)); in otNetDataSteeringDataCheckJoinerWithDiscerner()
/openthread-latest/src/cli/
Dcli_utils.cpp520 otError Utils::ParseJoinerDiscerner(Arg &aArg, otJoinerDiscerner &aDiscerner) in ParseJoinerDiscerner() argument
531 … SuccessOrExit(error = ot::Utils::CmdLineParser::ParseAsUint8(separator + 1, aDiscerner.mLength)); in ParseJoinerDiscerner()
532 VerifyOrExit(aDiscerner.mLength > 0 && aDiscerner.mLength <= 64, error = OT_ERROR_INVALID_ARGS); in ParseJoinerDiscerner()
534 error = aArg.ParseAsUint64(aDiscerner.mValue); in ParseJoinerDiscerner()
Dcli_utils.hpp706 static otError ParseJoinerDiscerner(Arg &aArg, otJoinerDiscerner &aDiscerner);
/openthread-latest/include/openthread/
Dcommissioner.h268 const otJoinerDiscerner *aDiscerner,
315 …tCommissionerRemoveJoinerWithDiscerner(otInstance *aInstance, const otJoinerDiscerner *aDiscerner);
Djoiner.h173 otError otJoinerSetDiscerner(otInstance *aInstance, otJoinerDiscerner *aDiscerner);
Dnetdata.h303 const struct otJoinerDiscerner *aDiscerner);
/openthread-latest/src/core/thread/
Dnetwork_data_leader.cpp692 Error Leader::SteeringDataCheckJoiner(const MeshCoP::JoinerDiscerner &aDiscerner) const in SteeringDataCheckJoiner()
696 MeshCoP::SteeringData::CalculateHashBitIndexes(aDiscerner, filterIndexes); in SteeringDataCheckJoiner()
Dnetwork_data_leader.hpp307 Error SteeringDataCheckJoiner(const MeshCoP::JoinerDiscerner &aDiscerner) const;