|
PcapPlusPlus
|
#include <IPv6Extensions.h>
Classes | |
| struct | TLVOption |
| class | TLVOptionBuilder |
Public Member Functions | |
| TLVOption * | getOption (uint8_t optionType) |
| TLVOption * | getFirstOption () |
| TLVOption * | getNextOption (TLVOption *option) |
| size_t | getOptionCount () |
Public Member Functions inherited from pcpp::IPv6Extension | |
| virtual size_t | getExtensionLen () const |
| IPv6ExtensionType | getExtensionType () |
| virtual | ~IPv6Extension () |
Protected Member Functions | |
| IPv6TLVOptionHeader (const std::vector< TLVOptionBuilder > &options) | |
Additional Inherited Members | |
Public Types inherited from pcpp::IPv6Extension | |
| enum | IPv6ExtensionType { IPv6HopByHop = 0, IPv6Routing = 43, IPv6Fragmentation = 44, IPv6AuthenticationHdr = 51, IPv6Destination = 60, IPv6ExtensionUnknown = 255 } |
An abstract base class for Hop-By-Hop and Destination IPv6 extensions which their structure contains Type-Length-Value (TLV) options. This class provides access to these options and their data as well as methods to create new options. Notice this class is abstract and cannot be instantiated
|
protected |
A private c'tor to keep this object from being constructed
| TLVOption* pcpp::IPv6TLVOptionHeader::getFirstOption | ( | ) |
Returns a pointer to the option that comes after the option given as the parameter
| [in] | option | A pointer to an option instance |
| TLVOption* pcpp::IPv6TLVOptionHeader::getOption | ( | uint8_t | optionType | ) |
Retrieve an option by its type
| [in] | optionType | Option type |
| size_t pcpp::IPv6TLVOptionHeader::getOptionCount | ( | ) |