mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 12:44:25 +01:00
Documented many header files. Done some minor code refactoring over PDU::clone_packet.
This commit is contained in:
@@ -123,7 +123,11 @@ namespace Tins {
|
||||
bool matches_response(uint8_t *ptr, uint32_t total_sz);
|
||||
|
||||
PDU *recv_response(PacketSender *sender);
|
||||
|
||||
|
||||
/**
|
||||
* \brief Getter for the PDU's type.
|
||||
* \sa PDU::pdu_type
|
||||
*/
|
||||
PDUType pdu_type() const { return PDU::IP; }
|
||||
|
||||
PDU *clone_packet(uint8_t *ptr, uint32_t total_sz);
|
||||
|
||||
Reference in New Issue
Block a user