Home
last modified time | relevance | path

Searched refs:kFcfSrcAddrMask (Results 1 – 3 of 3) sorted by relevance

/external/openthread/src/core/mac/
Dmac_frame.cpp145 switch (aFcf & (kFcfDstAddrMask | kFcfSrcAddrMask | kFcfPanidCompression)) in IsDstPanIdPresent()
288 if ((aFcf & kFcfSrcAddrMask) != kFcfSrcAddrNone && (aFcf & kFcfPanidCompression) == 0) in IsSrcPanIdPresent()
298 (aFcf & kFcfSrcAddrMask) != kFcfSrcAddrExt) in IsSrcPanIdPresent()
371 switch (fcf & kFcfSrcAddrMask) in GetSrcAddr()
394 OT_ASSERT((GetFrameControlField() & kFcfSrcAddrMask) == kFcfSrcAddrShort); in SetSrcAddr()
404 OT_ASSERT((GetFrameControlField() & kFcfSrcAddrMask) == kFcfSrcAddrExt); in SetSrcAddr()
798 switch (aFcf & kFcfSrcAddrMask) in CalculateAddrFieldSize()
1254 if ((aFrame.GetFrameControlField() & kFcfSrcAddrMask) == kFcfSrcAddrExt) in GenerateEnhAck()
1258 else if ((aFrame.GetFrameControlField() & kFcfSrcAddrMask) == kFcfSrcAddrShort) in GenerateEnhAck()
Dmac_frame.hpp305 static constexpr uint16_t kFcfSrcAddrMask = 3 << 14; member in ot::Mac::Frame
1093 …static bool IsSrcAddrPresent(uint16_t aFcf) { return (aFcf & kFcfSrcAddrMask) != kFcfSrcAddrNone; } in IsSrcAddrPresent()
/external/openthread/src/core/thread/
Dmesh_forwarder.cpp940 (fcf & Mac::Frame::kFcfSrcAddrMask) != Mac::Frame::kFcfSrcAddrExt)) in PrepareDataFrame()
952 (fcf & Mac::Frame::kFcfSrcAddrMask) != Mac::Frame::kFcfSrcAddrExt) in PrepareDataFrame()