1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Added util functions to handle network interfaces. Documented Utils namespace.

This commit is contained in:
Matias Fontanini
2011-08-14 15:50:57 -03:00
parent 1215ae135c
commit 89b04a1238
3 changed files with 214 additions and 6 deletions

View File

@@ -35,6 +35,13 @@ namespace Tins {
*/
class RawPDU : public PDU {
public:
/** \brief Creates an instance of RawPDU.
*
* The payload is NOT copied. Therefore, it must be manually freed by the user.
* \param payload The payload which the RawPDU will contain.
* \param size The size of the payload.
*/
RawPDU(uint8_t *payload, uint32_t size);
/** \brief Returns the header size.