Searched refs:aFcf (Results 1 – 2 of 2) sorted by relevance
61 void Frame::InitMacHeader(uint16_t aFcf, uint8_t aSecurityControl) in InitMacHeader() argument63 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() argument143 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 …]
372 void InitMacHeader(uint16_t aFcf, uint8_t aSecurityControl);1091 …static bool IsDstAddrPresent(uint16_t aFcf) { return (aFcf & kFcfDstAddrMask) != kFcfDstAddrNone; } in IsDstAddrPresent() argument1092 static bool IsDstPanIdPresent(uint16_t aFcf);1093 …static bool IsSrcAddrPresent(uint16_t aFcf) { return (aFcf & kFcfSrcAddrMask) != kFcfSrcAddrNone; } in IsSrcAddrPresent() argument1094 static bool IsSrcPanIdPresent(uint16_t aFcf);1095 …static bool IsVersion2015(uint16_t aFcf) { return (aFcf & kFcfFrameVersionMask) == kFcfFrameVersio… in IsVersion2015() argument1097 static uint8_t CalculateAddrFieldSize(uint16_t aFcf);