/openthread-2.7.6/src/core/thread/ |
D | key_manager.cpp | 80 void SecurityPolicy::SetFlags(const uint8_t *aFlags, uint8_t aFlagsLength) in SetFlags() argument 86 mObtainNetworkKeyEnabled = aFlags[0] & kObtainNetworkKeyMask; in SetFlags() 87 mNativeCommissioningEnabled = aFlags[0] & kNativeCommissioningMask; in SetFlags() 88 mRoutersEnabled = aFlags[0] & kRoutersMask; in SetFlags() 89 mExternalCommissioningEnabled = aFlags[0] & kExternalCommissioningMask; in SetFlags() 90 mBeaconsEnabled = aFlags[0] & kBeaconsMask; in SetFlags() 91 mCommercialCommissioningEnabled = (aFlags[0] & kCommercialCommissioningMask) == 0; in SetFlags() 92 mAutonomousEnrollmentEnabled = (aFlags[0] & kAutonomousEnrollmentMask) == 0; in SetFlags() 93 mNetworkKeyProvisioningEnabled = (aFlags[0] & kNetworkKeyProvisioningMask) == 0; in SetFlags() 95 VerifyOrExit(aFlagsLength > sizeof(aFlags[0])); in SetFlags() [all …]
|
D | network_data_types.cpp | 146 void OnMeshPrefixConfig::SetFromTlvFlags(uint16_t aFlags) in SetFromTlvFlags() argument 148 mPreferred = ((aFlags & BorderRouterEntry::kPreferredFlag) != 0); in SetFromTlvFlags() 149 mSlaac = ((aFlags & BorderRouterEntry::kSlaacFlag) != 0); in SetFromTlvFlags() 150 mDhcp = ((aFlags & BorderRouterEntry::kDhcpFlag) != 0); in SetFromTlvFlags() 151 mConfigure = ((aFlags & BorderRouterEntry::kConfigureFlag) != 0); in SetFromTlvFlags() 152 mDefaultRoute = ((aFlags & BorderRouterEntry::kDefaultRouteFlag) != 0); in SetFromTlvFlags() 153 mOnMesh = ((aFlags & BorderRouterEntry::kOnMeshFlag) != 0); in SetFromTlvFlags() 154 mNdDns = ((aFlags & BorderRouterEntry::kNdDnsFlag) != 0); in SetFromTlvFlags() 155 mDp = ((aFlags & BorderRouterEntry::kDpFlag) != 0); in SetFromTlvFlags() 156 …mPreference = RoutePreferenceFromValue(static_cast<uint8_t>(aFlags >> BorderRouterEntry::kPrefer… in SetFromTlvFlags() [all …]
|
D | network_data_tlvs.hpp | 410 void SetFlags(uint8_t aFlags) { mFlags = aFlags; } in SetFlags() argument 446 static uint8_t FlagsWithoutPreference(uint8_t aFlags) { return (aFlags & ~kPreferenceMask); } in FlagsWithoutPreference() argument 456 …static int8_t PreferenceFromFlags(uint8_t aFlags) { return RoutePreferenceFromValue(aFlags >> kPre… in PreferenceFromFlags() argument 906 void SetFlags(uint16_t aFlags) { mFlags = HostSwap16(aFlags); } in SetFlags() argument 1013 static uint16_t FlagsWithoutPreference(uint16_t aFlags) { return (aFlags & ~kPreferenceMask); } in FlagsWithoutPreference() argument 1023 static int8_t PreferenceFromFlags(uint16_t aFlags) in PreferenceFromFlags() argument 1025 return RoutePreferenceFromValue(static_cast<uint8_t>(aFlags >> kPreferenceOffset)); in PreferenceFromFlags()
|
D | link_metrics_tlvs.hpp | 179 explicit TypeIdFlags(uint8_t aFlags) in TypeIdFlags() argument 180 : mFlags(aFlags) in TypeIdFlags() 288 void SetRawValue(uint8_t aFlags) { mFlags = aFlags; } in SetRawValue() argument
|
D | network_data_types.hpp | 188 void SetFromTlvFlags(uint16_t aFlags); 249 void SetFromTlvFlags(uint8_t aFlags);
|
D | key_manager.hpp | 102 void SetFlags(const uint8_t *aFlags, uint8_t aFlagsLength); 111 void GetFlags(uint8_t *aFlags, uint8_t aFlagsLength) const;
|
D | network_data_local.cpp | 93 …Prefix(const Ip6::Prefix &aPrefix, NetworkDataTlv::Type aSubTlvType, uint16_t aFlags, bool aStable) in AddPrefix() argument 117 brTlv->GetEntry(0)->SetFlags(aFlags); in AddPrefix() 125 hasRouteTlv->GetEntry(0)->SetFlags(static_cast<uint8_t>(aFlags)); in AddPrefix()
|
D | network_data_local.hpp | 173 …Error AddPrefix(const Ip6::Prefix &aPrefix, NetworkDataTlv::Type aSubTlvType, uint16_t aFlags, boo…
|
D | network_data_leader_ftd.hpp | 290 void IncrementVersions(const ChangedFlags &aFlags);
|
D | network_data_leader_ftd.cpp | 107 void Leader::IncrementVersions(const ChangedFlags &aFlags) in IncrementVersions() argument 109 if (aFlags.DidChange()) in IncrementVersions() 111 IncrementVersions(aFlags.DidStableChange()); in IncrementVersions()
|
/openthread-2.7.6/src/core/api/ |
D | tcp_api.cpp | 87 otError otTcpConnect(otTcpEndpoint *aEndpoint, const otSockAddr *aSockName, uint32_t aFlags) in otTcpConnect() argument 91 return endpoint.Connect(*static_cast<const Ip6::SockAddr *>(aSockName), aFlags); in otTcpConnect() 94 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags) in otTcpSendByReference() argument 98 return endpoint.SendByReference(*aBuffer, aFlags); in otTcpSendByReference() 101 otError otTcpSendByExtension(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags) in otTcpSendByExtension() argument 105 return endpoint.SendByExtension(aNumBytes, aFlags); in otTcpSendByExtension() 122 otError otTcpCommitReceive(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags) in otTcpCommitReceive() argument 126 return endpoint.CommitReceive(aNumBytes, aFlags); in otTcpCommitReceive()
|
D | srp_server_api.cpp | 138 otSrpServerServiceFlags aFlags, in otSrpServerHostFindNextService() argument 144 …return host->FindNextService(static_cast<const Srp::Server::Service *>(aPrevService), aFlags, aSer… in otSrpServerHostFindNextService()
|
/openthread-2.7.6/src/posix/platform/ |
D | backbone.cpp | 87 void platformBackboneStateChange(otInstance *aInstance, otChangedFlags aFlags) in platformBackboneStateChange() argument 90 OT_UNUSED_VARIABLE(aFlags); in platformBackboneStateChange() 93 sMulticastRoutingManager.HandleStateChange(aInstance, aFlags); in platformBackboneStateChange()
|
D | system.cpp | 60 static void processStateChange(otChangedFlags aFlags, void *aContext) in processStateChange() argument 65 OT_UNUSED_VARIABLE(aFlags); in processStateChange() 68 platformNetifStateChange(instance, aFlags); in processStateChange() 74 platformBackboneStateChange(instance, aFlags); in processStateChange()
|
D | platform-posix.h | 303 void platformNetifStateChange(otInstance *aInstance, otChangedFlags aFlags); 494 void platformBackboneStateChange(otInstance *aInstance, otChangedFlags aFlags);
|
D | multicast_routing.hpp | 65 void HandleStateChange(otInstance *aInstance, otChangedFlags aFlags);
|
D | multicast_routing.cpp | 463 void MulticastRoutingManager::HandleStateChange(otInstance *aInstance, otChangedFlags aFlags) in HandleStateChange() argument 465 if (aFlags & OT_CHANGED_THREAD_BACKBONE_ROUTER_STATE) in HandleStateChange()
|
/openthread-2.7.6/src/core/net/ |
D | tcp6.cpp | 102 Error Tcp::Endpoint::Connect(const SockAddr &aSockName, uint32_t aFlags) in Connect() argument 105 OT_UNUSED_VARIABLE(aFlags); in Connect() 110 Error Tcp::Endpoint::SendByReference(otLinkedBuffer &aBuffer, uint32_t aFlags) in SendByReference() argument 113 OT_UNUSED_VARIABLE(aFlags); in SendByReference() 118 Error Tcp::Endpoint::SendByExtension(size_t aNumBytes, uint32_t aFlags) in SendByExtension() argument 121 OT_UNUSED_VARIABLE(aFlags); in SendByExtension() 138 Error Tcp::Endpoint::CommitReceive(size_t aNumBytes, uint32_t aFlags) in CommitReceive() argument 141 OT_UNUSED_VARIABLE(aFlags); in CommitReceive()
|
D | tcp6.hpp | 177 Error Connect(const SockAddr &aSockName, uint32_t aFlags); 204 Error SendByReference(otLinkedBuffer &aBuffer, uint32_t aFlags); 221 Error SendByExtension(size_t aNumBytes, uint32_t aFlags); 272 Error CommitReceive(size_t aNumBytes, uint32_t aFlags);
|
D | sntp_client.hpp | 94 void SetFlags(uint8_t aFlags) { mFlags = aFlags; } in SetFlags() argument
|
D | srp_server.hpp | 335 bool MatchesFlags(Flags aFlags) const; 451 Service::Flags aFlags = kFlagsAnyService,
|
D | srp_server.cpp | 1382 bool Server::Service::MatchesFlags(Flags aFlags) const in MatchesFlags() 1388 VerifyOrExit(aFlags & kFlagSubType); in MatchesFlags() 1392 VerifyOrExit(aFlags & kFlagBaseType); in MatchesFlags() 1397 VerifyOrExit(aFlags & kFlagDeleted); in MatchesFlags() 1401 VerifyOrExit(aFlags & kFlagActive); in MatchesFlags() 1619 Service::Flags aFlags, in FindNextService() argument 1627 if (!service->MatchesFlags(aFlags)) in FindNextService()
|
/openthread-2.7.6/include/openthread/ |
D | tcp.h | 372 otError otTcpConnect(otTcpEndpoint *aEndpoint, const otSockAddr *aSockName, uint32_t aFlags); 407 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags); 423 otError otTcpSendByExtension(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags); 474 otError otTcpCommitReceive(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags);
|
D | instance.h | 181 typedef void (*otStateChangedCallback)(otChangedFlags aFlags, void *aContext);
|
D | srp_server.h | 392 otSrpServerServiceFlags aFlags,
|