Home
last modified time | relevance | path

Searched refs:Ecn (Results 1 – 12 of 12) sorted by relevance

/openthread-3.4.0/tests/unit/
Dtest_ip4_header.cpp39 void VerifyEcnDscp(const Header &aHeader, uint8_t aDscp, Ecn aEcn) in VerifyEcnDscp()
56 …const Ecn kEcns[] = {Ecn::kEcnNotCapable, Ecn::kEcnCapable0, Ecn::kEcnCapable1, Ec… in TestIp4Header()
104 for (Ecn ecn : kEcns) in TestIp4Header()
Dtest_ip6_header.cpp39 void VerifyVersionTcFlow(const Header &aHeader, uint8_t aDscp, Ecn aEcn, uint32_t aFlow) in VerifyVersionTcFlow()
62 const Ecn kEcns[] = {kEcnNotCapable, kEcnCapable0, kEcnCapable1, kEcnMarked}; in TestIp6Header()
113 for (Ecn ecn : kEcns) in TestIp6Header()
Dtest_lowpan.cpp177 Ip6::Ecn ecn; in Test()
/openthread-3.4.0/src/core/net/
Dsocket.hpp213 Ecn GetEcn(void) const { return static_cast<Ecn>(mEcn); } in GetEcn()
221 void SetEcn(Ecn aEcn) { mEcn = aEcn; } in SetEcn()
Dip4_types.hpp71 using Ecn = Ip6::Ecn; typedef
373 Ecn GetEcn(void) const { return static_cast<Ecn>(mDscpEcn & kEcnMask); } in GetEcn()
381 void SetEcn(Ecn aEcn) { mDscpEcn = ((mDscpEcn & ~kEcnMask) | aEcn); } in SetEcn()
Dip6_headers.hpp198 Ecn GetEcn(void) const { return static_cast<Ecn>((mVerTcFlow.m8[1] & kEcnMask) >> kEcnOffset); } in GetEcn()
206 …void SetEcn(Ecn aEcn) { mVerTcFlow.m8[1] = (mVerTcFlow.m8[1] & ~kEcnMask) | ((aEcn << kEcnOffset) … in SetEcn()
Dip6_types.hpp105 enum Ecn : uint8_t enum
Dip6.hpp352 static const char *EcnToString(Ecn aEcn);
525 Ecn GetEcn(void) const { return mIp6Header.GetEcn(); } in GetEcn()
Dip6.cpp1531 const char *Ip6::EcnToString(Ecn aEcn) in EcnToString()
/openthread-3.4.0/src/core/thread/
Dlowpan.hpp200 Ip6::Ecn DecompressEcn(const Message &aMessage, uint16_t aOffset) const;
Dlowpan.cpp1040 Ip6::Ecn Lowpan::DecompressEcn(const Message &aMessage, uint16_t aOffset) const in DecompressEcn()
1042 Ip6::Ecn ecn = Ip6::kEcnNotCapable; in DecompressEcn()
1061 ecn = static_cast<Ip6::Ecn>((byte & kEcnMask) >> kEcnOffset); in DecompressEcn()
Dmesh_forwarder.cpp306 Ip6::Ecn ecn = Get<Lowpan::Lowpan>().DecompressEcn(aMessage, offset); in UpdateEcnOrDrop()