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