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

Append padding to IPv6 options

Relates to #270
This commit is contained in:
Matias Fontanini
2017-12-12 10:29:57 -03:00
parent a3dd057147
commit 8f85a6e557
3 changed files with 16 additions and 0 deletions

View File

@@ -356,6 +356,7 @@ private:
uint32_t calculate_headers_size() const;
static void write_header(const ext_header& header, Memory::OutputMemoryStream& stream);
static bool is_extension_header(uint8_t header_id);
static uint32_t get_padding_size(const ext_header& header);
TINS_BEGIN_PACK
struct ipv6_header {