Searched refs:Ecn (Results 1 – 12 of 12) sorted by relevance
/openthread-3.4.0/tests/unit/ |
D | test_ip4_header.cpp | 39 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()
|
D | test_ip6_header.cpp | 39 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()
|
D | test_lowpan.cpp | 177 Ip6::Ecn ecn; in Test()
|
/openthread-3.4.0/src/core/net/ |
D | socket.hpp | 213 Ecn GetEcn(void) const { return static_cast<Ecn>(mEcn); } in GetEcn() 221 void SetEcn(Ecn aEcn) { mEcn = aEcn; } in SetEcn()
|
D | ip4_types.hpp | 71 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()
|
D | ip6_headers.hpp | 198 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()
|
D | ip6_types.hpp | 105 enum Ecn : uint8_t enum
|
D | ip6.hpp | 352 static const char *EcnToString(Ecn aEcn); 525 Ecn GetEcn(void) const { return mIp6Header.GetEcn(); } in GetEcn()
|
D | ip6.cpp | 1531 const char *Ip6::EcnToString(Ecn aEcn) in EcnToString()
|
/openthread-3.4.0/src/core/thread/ |
D | lowpan.hpp | 200 Ip6::Ecn DecompressEcn(const Message &aMessage, uint16_t aOffset) const;
|
D | lowpan.cpp | 1040 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()
|
D | mesh_forwarder.cpp | 306 Ip6::Ecn ecn = Get<Lowpan::Lowpan>().DecompressEcn(aMessage, offset); in UpdateEcnOrDrop()
|