Searched refs:inPacketType (Results 1 – 3 of 3) sorted by relevance
48 void SetFrameType(FrameType inFrameType, uint8_t &inPacketType) in SetFrameType() argument50 inPacketType &= 0x0F; // Use 0x0F to clear high four bits in SetFrameType()51 inPacketType |= (static_cast<uint8_t>(inFrameType) << 4); // frame type is on high 4 bits in SetFrameType()54 FrameType GetFrameType(uint8_t inPacketType) in GetFrameType() argument56 uint8_t frameType = ((inPacketType & 0xF0) >> 4); // Use 0xF0 to get high 4 bits in GetFrameType()63 bool IsSendLabelExchange(uint8_t inPacketType) in IsSendLabelExchange() argument65 …return ((inPacketType & 0x08) >> 3) == 0; // Use 0x08 and remove low 3 bit, it is Communication ne… in IsSendLabelExchange()68 void SetSendLabelExchange(uint8_t &inPacketType, bool sendLabelExchange) in SetSendLabelExchange() argument71 inPacketType |= 0x08; // mark 0x08 when not support communication in SetSendLabelExchange()
324 void AdapterStub::SimulateSendBitErrorInPacketTypeField(bool doFlag, uint8_t inPacketType) in SimulateSendBitErrorInPacketTypeField() argument327 packetTypeField_ = inPacketType; in SimulateSendBitErrorInPacketTypeField()
83 void SimulateSendBitErrorInPacketTypeField(bool doFlag, uint8_t inPacketType);