mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 04:34:27 +01:00
Documented many header files. Done some minor code refactoring over PDU::clone_packet.
This commit is contained in:
@@ -147,6 +147,10 @@ namespace Tins {
|
||||
*/
|
||||
PDU *recv_response(PacketSender *sender);
|
||||
|
||||
/**
|
||||
* \brief Getter for the PDU's type.
|
||||
* \sa PDU::pdu_type
|
||||
*/
|
||||
PDUType pdu_type() const { return PDU::ETHERNET_II; }
|
||||
|
||||
/** \brief Clones this pdu, filling the corresponding header with data
|
||||
|
||||
Reference in New Issue
Block a user