/openthread-3.6.0/src/core/thread/ |
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 | key_manager.cpp | 83 void SecurityPolicy::SetFlags(const uint8_t *aFlags, uint8_t aFlagsLength) in SetFlags() argument 89 mObtainNetworkKeyEnabled = aFlags[0] & kObtainNetworkKeyMask; in SetFlags() 90 mNativeCommissioningEnabled = aFlags[0] & kNativeCommissioningMask; in SetFlags() 91 mRoutersEnabled = aFlags[0] & kRoutersMask; in SetFlags() 92 mExternalCommissioningEnabled = aFlags[0] & kExternalCommissioningMask; in SetFlags() 93 mCommercialCommissioningEnabled = (aFlags[0] & kCommercialCommissioningMask) == 0; in SetFlags() 94 mAutonomousEnrollmentEnabled = (aFlags[0] & kAutonomousEnrollmentMask) == 0; in SetFlags() 95 mNetworkKeyProvisioningEnabled = (aFlags[0] & kNetworkKeyProvisioningMask) == 0; in SetFlags() 97 VerifyOrExit(aFlagsLength > sizeof(aFlags[0])); in SetFlags() 98 mTobleLinkEnabled = aFlags[1] & kTobleLinkMask; in SetFlags() [all …]
|
D | network_data_tlvs.hpp | 456 void SetFlags(uint8_t aFlags) { mFlags = aFlags; } in SetFlags() argument 501 static uint8_t FlagsWithoutPreference(uint8_t aFlags) { return (aFlags & ~kPreferenceMask); } in FlagsWithoutPreference() argument 511 …static int8_t PreferenceFromFlags(uint8_t aFlags) { return RoutePreferenceFromValue(aFlags >> kPre… in PreferenceFromFlags() argument 959 void SetFlags(uint16_t aFlags) { mFlags = BigEndian::HostSwap16(aFlags); } in SetFlags() argument 1066 static uint16_t FlagsWithoutPreference(uint16_t aFlags) { return (aFlags & ~kPreferenceMask); } in FlagsWithoutPreference() argument 1076 static int8_t PreferenceFromFlags(uint16_t aFlags) in PreferenceFromFlags() argument 1078 return RoutePreferenceFromValue(static_cast<uint8_t>(aFlags >> kPreferenceOffset)); in PreferenceFromFlags()
|
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_types.hpp | 216 void SetFromTlvFlags(uint16_t aFlags); 277 void SetFromTlvFlags(uint8_t aFlags);
|
D | network_data_local.hpp | 173 …Error AddPrefix(const Ip6::Prefix &aPrefix, NetworkDataTlv::Type aSubTlvType, uint16_t aFlags, boo…
|
D | key_manager.hpp | 104 void SetFlags(const uint8_t *aFlags, uint8_t aFlagsLength); 113 void GetFlags(uint8_t *aFlags, uint8_t aFlagsLength) const;
|
/openthread-3.6.0/src/core/api/ |
D | tcp_api.cpp | 71 otError otTcpConnect(otTcpEndpoint *aEndpoint, const otSockAddr *aSockName, uint32_t aFlags) in otTcpConnect() argument 73 return AsCoreType(aEndpoint).Connect(AsCoreType(aSockName), aFlags); in otTcpConnect() 76 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags) in otTcpSendByReference() argument 78 return AsCoreType(aEndpoint).SendByReference(*aBuffer, aFlags); in otTcpSendByReference() 81 otError otTcpSendByExtension(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags) in otTcpSendByExtension() argument 83 return AsCoreType(aEndpoint).SendByExtension(aNumBytes, aFlags); in otTcpSendByExtension() 93 otError otTcpCommitReceive(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags) in otTcpCommitReceive() argument 95 return AsCoreType(aEndpoint).CommitReceive(aNumBytes, aFlags); in otTcpCommitReceive()
|
D | tcp_ext_api.cpp | 62 uint32_t aFlags) in otTcpCircularSendBufferWrite() argument 65 return AsCoreType(aSendBuffer).Write(AsCoreType(aEndpoint), aData, aLength, *aWritten, aFlags); in otTcpCircularSendBufferWrite()
|
/openthread-3.6.0/include/openthread/ |
D | tcp.h | 423 otError otTcpConnect(otTcpEndpoint *aEndpoint, const otSockAddr *aSockName, uint32_t aFlags); 458 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags); 474 otError otTcpSendByExtension(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags); 525 otError otTcpCommitReceive(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags);
|
D | tcp_ext.h | 158 uint32_t aFlags);
|
D | instance.h | 238 typedef void (*otStateChangedCallback)(otChangedFlags aFlags, void *aContext);
|
/openthread-3.6.0/src/core/net/ |
D | tcp6.hpp | 200 Error Connect(const SockAddr &aSockName, uint32_t aFlags); 227 Error SendByReference(otLinkedBuffer &aBuffer, uint32_t aFlags); 244 Error SendByExtension(size_t aNumBytes, uint32_t aFlags); 295 Error CommitReceive(size_t aNumBytes, uint32_t aFlags);
|
D | tcp6_ext.hpp | 88 …te(Tcp::Endpoint &aEndpoint, const void *aData, size_t aLength, size_t &aWritten, uint32_t aFlags);
|
D | tcp6_ext.cpp | 61 uint32_t aFlags) in Write() argument 87 if ((aFlags & OT_TCP_CIRCULAR_SEND_BUFFER_WRITE_MORE_TO_COME) != 0 && aLength < bytesFree) in Write()
|
D | tcp6.cpp | 166 Error Tcp::Endpoint::Connect(const SockAddr &aSockName, uint32_t aFlags) in Connect() argument 173 if (aFlags & OT_TCP_CONNECT_NO_FAST_OPEN) in Connect() 195 Error Tcp::Endpoint::SendByReference(otLinkedBuffer &aBuffer, uint32_t aFlags) in SendByReference() argument 213 …error = BsdErrorToOtError(tcp_usr_send(&tp, (aFlags & OT_TCP_SEND_MORE_TO_COME) != 0, &aBuffer, 0,… in SendByReference() 221 Error Tcp::Endpoint::SendByExtension(size_t aNumBytes, uint32_t aFlags) in SendByExtension() argument 224 bool moreToCome = (aFlags & OT_TCP_SEND_MORE_TO_COME) != 0; in SendByExtension() 269 Error Tcp::Endpoint::CommitReceive(size_t aNumBytes, uint32_t aFlags) in CommitReceive() argument 274 OT_UNUSED_VARIABLE(aFlags); in CommitReceive()
|
D | sntp_client.hpp | 141 void SetFlags(uint8_t aFlags) { mFlags = aFlags; } in SetFlags() argument
|
/openthread-3.6.0/src/cli/ |
D | cli_br.cpp | 146 otError Br::ParsePrefixTypeArgs(Arg aArgs[], PrefixType &aFlags) in ParsePrefixTypeArgs() argument 150 aFlags = 0; in ParsePrefixTypeArgs() 154 aFlags = kPrefixTypeFavored | kPrefixTypeLocal; in ParsePrefixTypeArgs() 160 aFlags = kPrefixTypeLocal; in ParsePrefixTypeArgs() 164 aFlags = kPrefixTypeFavored; in ParsePrefixTypeArgs()
|
D | cli_br.hpp | 96 otError ParsePrefixTypeArgs(Arg aArgs[], PrefixType &aFlags);
|
D | cli_link_metrics.cpp | 365 otError LinkMetrics::ParseLinkMetricsFlags(otLinkMetrics &aLinkMetrics, const Arg &aFlags) in ParseLinkMetricsFlags() argument 369 VerifyOrExit(!aFlags.IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParseLinkMetricsFlags() 373 for (const char *arg = aFlags.GetCString(); *arg != '\0'; arg++) in ParseLinkMetricsFlags()
|
D | cli_link_metrics.hpp | 88 otError ParseLinkMetricsFlags(otLinkMetrics &aLinkMetrics, const Arg &aFlags);
|
/openthread-3.6.0/src/posix/platform/ |
D | system.cpp | 63 static void processStateChange(otChangedFlags aFlags, void *aContext) in processStateChange() argument 68 OT_UNUSED_VARIABLE(aFlags); in processStateChange() 71 platformNetifStateChange(instance, aFlags); in processStateChange() 75 ot::Posix::InfraNetif::Get().HandleBackboneStateChange(instance, aFlags); in processStateChange()
|
D | infra_if.hpp | 145 void HandleBackboneStateChange(otInstance *aInstance, otChangedFlags aFlags);
|
D | platform-posix.h | 282 void platformNetifStateChange(otInstance *aInstance, otChangedFlags aFlags);
|
D | multicast_routing.hpp | 66 void HandleStateChange(otInstance *aInstance, otChangedFlags aFlags);
|