Home
last modified time | relevance | path

Searched refs:kProtoTcp (Results 1 – 9 of 9) sorted by relevance

/openthread-3.4.0/src/core/net/
Dnat64_translator.cpp161 case Ip6::kProtoTcp: in TranslateFromIp6()
162 ip4Header.SetProtocol(Ip4::kProtoTcp); in TranslateFromIp6()
256 case Ip4::kProtoTcp: in TranslateToIp6()
257 ip6Header.SetNextHeader(Ip6::kProtoTcp); in TranslateToIp6()
598 case Ip6::kProtoTcp: in Count6To4Packet()
620 case Ip4::kProtoTcp: in Count4To6Packet()
Dip6_types.hpp57 static constexpr uint8_t kProtoTcp = OT_IP6_PROTO_TCP; ///< Transmission Control Protocol variable
Dchecksum.cpp167 case Ip6::kProtoTcp: in UpdateMessageChecksum()
202 case Ip4::kProtoTcp: in UpdateMessageChecksum()
Dip6_filter.cpp98 case kProtoTcp: in Accept()
Dip6.cpp895 case kProtoTcp: in HandlePayload()
910 case kProtoTcp: in HandlePayload()
1020 case kProtoTcp: in PassToHost()
1521 {kProtoHopOpts, "HopOpts"}, {kProtoTcp, "TCP"}, {kProtoUdp, "UDP"}, in IpProtoToString()
1566 case kProtoTcp: in ParseFrom()
1627 case kProtoTcp: in DecompressFrom()
1653 case kProtoTcp: in GetSourcePort()
1674 case kProtoTcp: in GetDestinationPort()
1695 case kProtoTcp: in GetChecksum()
Dip4_types.hpp701 static constexpr uint8_t kProtoTcp = Ip6::kProtoTcp; ///< Transmission Control Protocol variable
Dip6.hpp543 bool IsTcp(void) const { return GetIpProto() == kProtoTcp; } in IsTcp()
Dtcp6.cpp624 SuccessOrExit(error = Checksum::VerifyMessageChecksum(aMessage, aMessageInfo, kProtoTcp)); in HandleMessage()
945 IgnoreError(instance.Get<ot::Ip6::Ip6>().SendDatagram(message, info, kProtoTcp)); in tcplp_sys_send_message()
/openthread-3.4.0/tests/unit/
Dtest_checksum.cpp350 Checksum::UpdateMessageChecksum(*message, sourceAddress, destAddress, Ip4::kProtoTcp); in TestTcp4MessageChecksum()
357 … VerifyOrQuit(CalculateChecksum(sourceAddress, destAddress, Ip4::kProtoTcp, *message) == 0xffff); in TestTcp4MessageChecksum()