Home
last modified time | relevance | path

Searched refs:aFcf (Results 1 – 2 of 2) sorted by relevance

/external/openthread/src/core/mac/
Dmac_frame.cpp61 void Frame::InitMacHeader(uint16_t aFcf, uint8_t aSecurityControl) in InitMacHeader() argument
63 mLength = CalculateAddrFieldSize(aFcf); in InitMacHeader()
67 WriteUint16(aFcf, mPsdu); in InitMacHeader()
69 if (aFcf & kFcfSecurityEnabled) in InitMacHeader()
77 if ((aFcf & kFcfFrameTypeMask) == kFcfFrameMacCmd) in InitMacHeader()
138 bool Frame::IsDstPanIdPresent(uint16_t aFcf) in IsDstPanIdPresent() argument
143 if (IsVersion2015(aFcf)) in IsDstPanIdPresent()
145 switch (aFcf & (kFcfDstAddrMask | kFcfSrcAddrMask | kFcfPanidCompression)) in IsDstPanIdPresent()
164 present = IsDstAddrPresent(aFcf); in IsDstPanIdPresent()
284 bool Frame::IsSrcPanIdPresent(uint16_t aFcf) in IsSrcPanIdPresent() argument
[all …]
Dmac_frame.hpp372 void InitMacHeader(uint16_t aFcf, uint8_t aSecurityControl);
1091 …static bool IsDstAddrPresent(uint16_t aFcf) { return (aFcf & kFcfDstAddrMask) != kFcfDstAddrNone; } in IsDstAddrPresent() argument
1092 static bool IsDstPanIdPresent(uint16_t aFcf);
1093 …static bool IsSrcAddrPresent(uint16_t aFcf) { return (aFcf & kFcfSrcAddrMask) != kFcfSrcAddrNone; } in IsSrcAddrPresent() argument
1094 static bool IsSrcPanIdPresent(uint16_t aFcf);
1095 …static bool IsVersion2015(uint16_t aFcf) { return (aFcf & kFcfFrameVersionMask) == kFcfFrameVersio… in IsVersion2015() argument
1097 static uint8_t CalculateAddrFieldSize(uint16_t aFcf);