Esempio n. 1
0
	bool PacketSenderGeneric::generic_response_handler(PDU& rpdu)
	{
		if (sent_pdu->matches_response_generic(rpdu))
		{
			response_pdu = rpdu.clone();
			return false;
		}
		return true;
	}
Esempio n. 2
0
File: pdu.cpp Progetto: Imva/libtins
void PDU::inner_pdu(const PDU &next_pdu) {
    inner_pdu(next_pdu.clone());
}
Esempio n. 3
0
bool PacketCapturer::callback(const PDU& pdu) {
    storage_.emplace_back(pdu.clone());
    return running_;
}