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

Use actual payload length to construct inner PDU. (#179)

Fixes #178
This commit is contained in:
Ed Catmur
2017-01-16 17:36:33 +00:00
committed by Matias Fontanini
parent d5cba00ce0
commit 9051197603
3 changed files with 59 additions and 6 deletions

View File

@@ -89,6 +89,15 @@ public:
NO_NEXT_HEADER = 59
};
/**
* The values used to identify Hop-By-Hop Options and Destination Options.
*/
enum OptionType {
PAD_1 = 0,
PAD_N = 1,
JUMBO_PAYLOAD = 0xC2,
};
/**
* \brief Extracts metadata for this protocol based on the buffer provided
*