PcapPlusPlus
pcpp::IPv6DestinationHeader Class Reference

#include <IPv6Extensions.h>

Inheritance diagram for pcpp::IPv6DestinationHeader:
pcpp::IPv6TLVOptionHeader pcpp::IPv6Extension

Public Member Functions

 IPv6DestinationHeader (const std::vector< TLVOptionBuilder > &options)
 
- Public Member Functions inherited from pcpp::IPv6TLVOptionHeader
TLVOptiongetOption (uint8_t optionType)
 
TLVOptiongetFirstOption ()
 
TLVOptiongetNextOption (TLVOption *option)
 
size_t getOptionCount ()
 
- Public Member Functions inherited from pcpp::IPv6Extension
virtual size_t getExtensionLen () const
 
IPv6ExtensionType getExtensionType ()
 
virtual ~IPv6Extension ()
 

Additional Inherited Members

- Public Types inherited from pcpp::IPv6Extension
enum  IPv6ExtensionType {
  IPv6HopByHop = 0, IPv6Routing = 43, IPv6Fragmentation = 44, IPv6AuthenticationHdr = 51,
  IPv6Destination = 60, IPv6ExtensionUnknown = 255
}
 
- Protected Member Functions inherited from pcpp::IPv6TLVOptionHeader
 IPv6TLVOptionHeader (const std::vector< TLVOptionBuilder > &options)
 

Detailed Description

Represents IPv6 destination extension header and allows easy access to all of its data including the TLV options stored in it

Constructor & Destructor Documentation

pcpp::IPv6DestinationHeader::IPv6DestinationHeader ( const std::vector< TLVOptionBuilder > &  options)
inline

A c'tor for creating a new IPv6 destination extension object not bounded to a packet. Useful for adding new extensions to an IPv6 layer with IPv6Layer::addExtension()

Parameters
[in]optionsA vector of IPv6TLVOptionHeader::TLVOptionBuilder instances which define the options that will be stored in the extension data. Notice this vector is read-only and its content won't be modified