PcapPlusPlus
Next
|
#include <TcpLayer.h>
Public Types | |
enum | NopEolOptionTypes : uint8_t { NOP , EOL } |
enum class | NopEolOptionEnumType : uint8_t { Nop , Eol } |
Public Member Functions | |
PCPP_DEPRECATED ("enum TcpOptionType is deprecated; Use enum class TcpOptionEnumType instead") TcpOptionBuilder(TcpOptionType optionType | |
TcpOptionBuilder (NopEolOptionEnumType optionType) | |
TcpOption | build () const |
A class for building TCP option records. This builder receives the TCP option parameters in its c'tor, builds the TCP option raw buffer and provides a build() method to get a TcpOption object out of it
|
strong |
enum pcpp::TcpOptionBuilder::NopEolOptionTypes : uint8_t |
|
explicit |
A c'tor for building TCP NOP and EOL options. These option types are special in that they contain only 1 byte which is the TCP option type (NOP or EOL). The TcpOption object can be later retrieved by calling build()
[in] | optionType | An enum value indicating which option type to build (NOP or EOL) |
TcpOption pcpp::TcpOptionBuilder::build | ( | ) | const |
pcpp::TcpOptionBuilder::PCPP_DEPRECATED | ( | "enum TcpOptionType is deprecated; Use enum class TcpOptionEnumType instead" | ) |