PcapPlusPlus
19.12
|
#include <IPv6Extensions.h>
Classes | |
class | IPv6Option |
class | IPv6TLVOptionBuilder |
Public Member Functions | |
IPv6Option | getOption (uint8_t optionType) const |
IPv6Option | getFirstOption () const |
IPv6Option | getNextOption (IPv6Option &option) const |
size_t | getOptionCount () const |
Public Member Functions inherited from pcpp::IPv6Extension | |
virtual size_t | getExtensionLen () const |
IPv6ExtensionType | getExtensionType () const |
virtual | ~IPv6Extension () |
IPv6Extension * | getNextHeader () const |
Protected Member Functions | |
IPv6TLVOptionHeader (const std::vector< IPv6TLVOptionBuilder > &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
IPv6Option pcpp::IPv6TLVOptionHeader::getFirstOption | ( | ) | const |
IPv6Option pcpp::IPv6TLVOptionHeader::getNextOption | ( | IPv6Option & | option | ) | const |
Returns a pointer to the option that comes after the option given as the parameter
[in] | option | A pointer to an option instance |
IPv6Option pcpp::IPv6TLVOptionHeader::getOption | ( | uint8_t | optionType | ) | const |
Retrieve an option by its type
[in] | optionType | Option type |
size_t pcpp::IPv6TLVOptionHeader::getOptionCount | ( | ) | const |