Searched refs:sdu (Results 1 – 9 of 9) sorted by relevance
50 std::shared_ptr<L2capSdu> update_fcs(vector<uint8_t> sdu) { in update_fcs() argument51 sdu.resize(sdu.size() - 2); in update_fcs()53 return L2capSdu::L2capSduBuilder(sdu); in update_fcs()329 std::vector<std::shared_ptr<L2capSdu> > sdu; in TEST_F() local333 sdu.push_back(L2capSdu::L2capSduConstructor(good_sdu[0])); in TEST_F()334 sdu.push_back(L2capSdu::L2capSduConstructor(good_sdu[1])); in TEST_F()335 sdu.push_back(L2capSdu::L2capSduConstructor(good_sdu[2])); in TEST_F()337 l2cap_expected = L2capPacket::assemble(sdu); in TEST_F()339 sdu.clear(); in TEST_F()342 sdu = l2cap_expected->fragment(16, 0x02, 0x41); in TEST_F()[all …]
34 void BasicModeDataController::OnSdu(std::unique_ptr<packet::BasePacketBuilder> sdu) { in OnSdu() argument35 auto l2cap_information = BasicFrameBuilder::Create(remote_cid_, std::move(sdu)); in OnSdu()
34 void LeCreditBasedDataController::OnSdu(std::unique_ptr<packet::BasePacketBuilder> sdu) { in OnSdu() argument35 auto sdu_size = sdu->size(); in OnSdu()46 sdu->Serialize(fragmenting_inserter); in OnSdu()
34 virtual void OnSdu(std::unique_ptr<packet::BasePacketBuilder> sdu) = 0;
49 void OnSdu(std::unique_ptr<packet::BasePacketBuilder> sdu) override;
48 void OnSdu(std::unique_ptr<packet::BasePacketBuilder> sdu) override;
50 void OnSdu(std::unique_ptr<packet::BasePacketBuilder> sdu) override;
813 void ErtmController::OnSdu(std::unique_ptr<packet::BasePacketBuilder> sdu) { in OnSdu() argument814 auto sdu_size = sdu->size(); in OnSdu()819 sdu->Serialize(fragmenting_inserter); in OnSdu()
238 sdu, data = unpack_data(data, 2)239 if pdu - 2 == sdu: