Home
last modified time | relevance | path

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

12

/openthread-3.5.0/src/core/meshcop/
Dmeshcop_tlvs.hpp148 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::MeshCoP::Tlv
294 … void SetType(MeshCoP::Tlv::Type aType) { ot::ExtendedTlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::MeshCoP::ExtendedTlv
359 SetType(kChannel); in Init()
424 SetType(kPanId); in Init()
471 SetType(kExtendedPanId); in Init()
518 SetType(kNetworkName); in Init()
565 SetType(kPskc); in Init()
612 SetType(kNetworkKey); in Init()
659 SetType(kNetworkKeySequence); in Init()
706 SetType(kMeshLocalPrefix); in Init()
[all …]
Ddataset.cpp414 tlv.SetType(aType); in SetTlv()
469 tlv.SetType(type); in AppendMleDatasetTlv()
/openthread-3.5.0/src/core/thread/
Dthread_tlvs.hpp96 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::ThreadTlv
214 SetType(kRouterMask); in Init()
287 SetType(kThreadNetworkData); in Init()
331 void Init(void) { SetType(kIp6Addresses); } in Init()
Dlink_metrics_tlvs.hpp103 void Init(void) { SetType(SubTlv::kReport); } in Init()
193 SetType(SubTlv::kQueryOptions); in Init()
224 SetType(SubTlv::kFwdProbingReg); in Init()
295 SetType(SubTlv::kEnhAckConfig); in Init()
Dnetwork_diagnostic_tlvs.hpp141 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::NetworkDiagnostic::Tlv
266 ot::Tlv::SetType(kType); in Init()
307 ot::Tlv::SetType(kType); in Init()
328 ot::Tlv::SetType(kType); in Init()
346 SetType(kMacCounters); in Init()
642 SetType(kChannelPages); in Init()
685 SetType(kTypeList); in Init()
720 SetType(kChild); in InitAsEmpty()
942 SetType(kRouterNeighbor); in InitAsEmpty()
Dnetwork_diagnostic_tlvs.cpp51 SetType(kChild); in InitFrom()
85 SetType(kRouterNeighbor); in InitFrom()
104 SetType(kAnswer); in Init()
112 SetType(kMleCounters); in Init()
Dmle_tlvs.hpp141 void SetType(Type aType) { ot::Tlv::SetType(static_cast<uint8_t>(aType)); } in SetType() function in ot::Mle::Tlv
425 SetType(kRoute); in Init()
652 SetType(kLeaderData); in Init()
748 SetType(kConnectivity); in Init()
1044 SetType(kChannel); in Init()
1115 SetType(kTimeParameter); in Init()
1182 SetType(kCslChannel); in Init()
1249 SetType(kCslClockAccuracy); in Init()
Dnetwork_data_tlvs.hpp161 … void SetType(Type aType) { mType = (mType & ~kTypeMask) | ((aType << kTypeOffset) & kTypeMask); } in SetType() function in ot::NetworkData::NetworkDataTlv
543 SetType(kTypeHasRoute); in Init()
646 SetType(kTypePrefix); in Init()
1117 SetType(kTypeBorderRouter); in Init()
1222 SetType(kTypeContext); in Init()
1291 SetType(kTypeCommissioningData); in Init()
1487 SetType(kTypeServer); in Init()
Dmle_tlvs.cpp45 SetType(kRoute); in Init()
Dnetwork_data_tlvs.cpp97 SetType(kTypeService); in Init()
Dnetwork_diagnostic.cpp153 tlv.SetType(Tlv::kIp6AddressList); in AppendIp6AddressList()
161 extTlv.SetType(Tlv::kIp6AddressList); in AppendIp6AddressList()
189 tlv.SetType(Tlv::kChildTable); in AppendChildTable()
197 extTlv.SetType(Tlv::kChildTable); in AppendChildTable()
733 tlv.SetType(Tlv::kChildIp6AddressList); in AppendChildTableIp6AddressList()
759 tlv.SetType(Tlv::kChildIp6AddressList); in AppendChildIp6AddressListTlv()
767 extTlv.SetType(Tlv::kChildIp6AddressList); in AppendChildIp6AddressListTlv()
Denergy_scan_server.cpp89 tlv.SetType(MeshCoP::Tlv::kEnergyList); in HandleTmf()
Dnetwork_data_notifier.cpp203 tlv.SetType(ThreadTlv::kThreadNetworkData); in SendServerDataNotification()
/openthread-3.5.0/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-3.5.0/src/core/net/
Dip6_headers.cpp111 SetType(kTypePad1); in InitForPadSize()
115 SetType(kTypePadN); in InitForPadSize()
Dicmp6.cpp70 icmpHeader.SetType(Header::kTypeEchoRequest); in SendEchoRequest()
117 icmp6Header.SetType(aType); in SendError()
193 icmp6Header.SetType(Header::kTypeEchoReply); in HandleEchoRequest()
Dnd6.cpp87 SetType(kTypePrefixInfo); in Init()
113 SetType(kTypeRouteInfo); in Init()
268 mHeader.SetType(Icmp::Header::kTypeRouterSolicit); in RouterSolicitMessage()
Dnat64_translator.cpp88 message->SetType(Message::kTypeIp4); in NewIp4Message()
189 aMessage.SetType(Message::kTypeIp4); in TranslateFromIp6()
283 aMessage.SetType(Message::kTypeIp6); in TranslateToIp6()
422 icmp6Header.SetType(Ip6::Icmp::Header::Type::kTypeEchoReply); in TranslateIcmp4()
452 icmp4Header.SetType(Ip4::Icmp::Header::Type::kTypeEchoRequest); in TranslateIcmp6()
Ddns_types.hpp138 void SetType(Type aType) in SetType() function in ot::Dns::Header
1233 SetType(aType); in Init()
1265 void SetType(uint16_t aType) { mType = HostSwap16(aType); } in SetType() function in ot::Dns::ResourceRecord
2296 SetType(kTypeOpt); in Init()
2577 SetType(aType); in Question()
2595 void SetType(uint16_t aType) { mType = HostSwap16(aType); } in SetType() function in ot::Dns::Question
Dicmp6.hpp137 void SetType(Type aType) { mType = static_cast<uint8_t>(aType); } in SetType() function in ot::Ip6::Icmp::Header
Ddns_dso.cpp551 header.SetType(Dns::Header::kTypeQuery); in SendMessage()
556 header.SetType(Dns::Header::kTypeResponse); in SendMessage()
560 header.SetType(Dns::Header::kTypeQuery); in SendMessage()
1040 header.SetType(Dns::Header::kTypeResponse); in SendErrorResponse()
Ddhcp6.hpp143 void SetType(Type aType) { mType = aType; } in SetType() function in ot::Dhcp6::Header
Dip4_types.hpp639 void SetType(uint8_t aType) { mType = aType; } in SetType() function in ot::Ip4::Icmp::Header
Dip6_headers.hpp542 void SetType(uint8_t aType) { mType = aType; } in SetType() function in ot::Ip6::Option
/openthread-3.5.0/src/core/common/
Dtlvs.hpp80 void SetType(uint8_t aType) { mType = aType; } in SetType() function in ot::Tlv

12