Home
last modified time | relevance | path

Searched refs:SetType (Results 1 – 25 of 54) sorted by relevance

123

/openthread-latest/tests/unit/
Dtest_tlv.cpp67 tlv.SetType(1); in TestTlv()
81 extTlv.SetType(2); in TestTlv()
95 tlv.SetType(3); in TestTlv()
111 extTlv.SetType(4); in TestTlv()
131 tlv.SetType(5); in TestTlv()
152 extTlv.SetType(6); in TestTlv()
174 extTlv.SetType(7); in TestTlv()
/openthread-latest/src/core/thread/
Dthread_tlvs.hpp89 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::ThreadTlv
193 SetType(kRouterMask); in Init()
258 SetType(kThreadNetworkData); in Init()
298 void Init(void) { SetType(kIp6Addresses); } in Init()
Dlink_metrics_tlvs.hpp94 void Init(void) { SetType(SubTlv::kReport); } in Init()
175 SetType(SubTlv::kQueryOptions); in Init()
203 SetType(SubTlv::kFwdProbingReg); in Init()
267 SetType(SubTlv::kEnhAckConfig); in Init()
Dnetwork_diagnostic_tlvs.hpp137 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::NetworkDiagnostic::Tlv
253 ot::Tlv::SetType(kType); in Init()
291 ot::Tlv::SetType(kType); in Init()
310 ot::Tlv::SetType(kType); in Init()
326 SetType(kMacCounters); in Init()
592 SetType(kChannelPages); in Init()
631 SetType(kTypeList); in Init()
663 SetType(kChild); in InitAsEmpty()
862 SetType(kRouterNeighbor); in InitAsEmpty()
Dnetwork_diagnostic_tlvs.cpp47 SetType(kChild); in InitFrom()
81 SetType(kRouterNeighbor); in InitFrom()
100 SetType(kAnswer); in Init()
108 SetType(kMleCounters); in Init()
Dmle_tlvs.hpp133 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::Mle::Tlv
382 SetType(kRoute); in Init()
593 SetType(kLeaderData); in Init()
683 SetType(kConnectivity); in Init()
1058 SetType(kTimeParameter); in Init()
1118 SetType(kCslClockAccuracy); in Init()
Dnetwork_data_tlvs.hpp149 … void SetType(Type aType) { mType = (mType & ~kTypeMask) | ((aType << kTypeOffset) & kTypeMask); } in SetType() function in ot::NetworkData::NetworkDataTlv
497 SetType(kTypeHasRoute); in Init()
591 SetType(kTypePrefix); in Init()
1020 SetType(kTypeBorderRouter); in Init()
1116 SetType(kTypeContext); in Init()
1178 SetType(kTypeCommissioningData); in Init()
1365 SetType(kTypeServer); in Init()
Dmle_tlvs.cpp48 SetType(kRoute); in Init()
Dnetwork_diagnostic.cpp126 tlv.SetType(Tlv::kIp6AddressList); in AppendIp6AddressList()
134 extTlv.SetType(Tlv::kIp6AddressList); in AppendIp6AddressList()
162 tlv.SetType(Tlv::kChildTable); in AppendChildTable()
170 extTlv.SetType(Tlv::kChildTable); in AppendChildTable()
726 tlv.SetType(Tlv::kChildIp6AddressList); in AppendChildTableIp6AddressList()
756 tlv.SetType(Tlv::kChildIp6AddressList); in AppendChildIp6AddressListTlv()
764 extTlv.SetType(Tlv::kChildIp6AddressList); in AppendChildIp6AddressListTlv()
Dnetwork_data_tlvs.cpp97 SetType(kTypeService); in Init()
Denergy_scan_server.cpp77 tlv.SetType(MeshCoP::Tlv::kEnergyList); in HandleTmf()
Dnetwork_data_notifier.cpp197 tlv.SetType(ThreadTlv::kThreadNetworkData); in SendServerDataNotification()
/openthread-latest/src/core/meshcop/
Dmeshcop_tlvs.hpp142 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::MeshCoP::Tlv
179 … void SetType(MeshCoP::Tlv::Type aType) { ot::ExtendedTlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::MeshCoP::ExtendedTlv
264 SetType(kNetworkName); in Init()
328 SetType(kSteeringData); in Init()
379 SetType(kBorderAgentLocator); in Init()
421 SetType(kCommissionerSessionId); in Init()
463 SetType(kSecurityPolicy); in Init()
710 SetType(kEnergyList); in Init()
788 SetType(kVendorStackVersion); in Init()
965 SetType(kDiscoveryRequest); in Init()
[all …]
/openthread-latest/src/core/net/
Dnd6.cpp87 SetType(kTypePrefixInfo); in Init()
113 SetType(kTypeRouteInfo); in Init()
179 SetType(kTypeRaFlagsExtension); in Init()
255 option.SetType(aType); in AppendLinkLayerOption()
323 mHeader.SetType(Icmp::Header::kTypeRouterSolicit); in RouterSolicitHeader()
Dip6_headers.cpp110 SetType(kTypePad1); in InitForPadSize()
114 SetType(kTypePadN); in InitForPadSize()
Dicmp6.cpp63 icmpHeader.SetType(Header::kTypeEchoRequest); in SendEchoRequest()
110 icmp6Header.SetType(aType); in SendError()
188 icmp6Header.SetType(Header::kTypeEchoReply); in HandleEchoRequest()
Dnat64_translator.cpp84 message->SetType(Message::kTypeIp4); in NewIp4Message()
185 aMessage.SetType(Message::kTypeIp4); in TranslateFromIp6()
279 aMessage.SetType(Message::kTypeIp6); in TranslateToIp6()
419 icmp6Header.SetType(Ip6::Icmp::Header::Type::kTypeEchoReply); in TranslateIcmp4()
449 icmp4Header.SetType(Ip4::Icmp::Header::Type::kTypeEchoRequest); in TranslateIcmp6()
Ddns_types.hpp125 void SetType(Type aType) in SetType() function in ot::Dns::Header
1287 SetType(aType); in Init()
1316 void SetType(uint16_t aType) { mType = BigEndian::HostSwap16(aType); } in SetType() function in ot::Dns::ResourceRecord
2326 SetType(kTypeOpt); in Init()
2673 SetType(aType); in Question()
2689 void SetType(uint16_t aType) { mType = BigEndian::HostSwap16(aType); } in SetType() function in ot::Dns::Question
Dicmp6.hpp128 void SetType(Type aType) { mType = static_cast<uint8_t>(aType); } in SetType() function in ot::Ip6::Icmp::Header
Ddns_dso.cpp538 header.SetType(Dns::Header::kTypeQuery); in SendMessage()
543 header.SetType(Dns::Header::kTypeResponse); in SendMessage()
547 header.SetType(Dns::Header::kTypeQuery); in SendMessage()
1027 header.SetType(Dns::Header::kTypeResponse); in SendErrorResponse()
Ddhcp6.hpp133 void SetType(Type aType) { mType = aType; } in SetType() function in ot::Dhcp6::Header
Dip4_types.hpp592 void SetType(uint8_t aType) { mType = aType; } in SetType() function in ot::Ip4::Icmp::Header
Dip6_headers.hpp494 void SetType(uint8_t aType) { mType = aType; } in SetType() function in ot::Ip6::Option
/openthread-latest/src/core/common/
Dtlvs.cpp280 extTlv.SetType(aType); in AppendTlv()
286 tlv.SetType(aType); in AppendTlv()
/openthread-latest/src/core/radio/
Dble_secure.cpp217 tlv.SetType(ot::MeshCoP::TcatAgent::kTlvSendApplicationData); in SendApplicationTlv()
225 tlv.SetType(ot::MeshCoP::TcatAgent::kTlvSendApplicationData); in SendApplicationTlv()

123