PcapPlusPlus  19.12
pcpp::IPv6DestinationHeader Class Reference

#include <IPv6Extensions.h>

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

Public Member Functions

 IPv6DestinationHeader (const std::vector< IPv6TLVOptionBuilder > &options)
 
- Public Member Functions inherited from pcpp::IPv6TLVOptionHeader
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 ()
 
IPv6ExtensiongetNextHeader () const
 

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< IPv6TLVOptionBuilder > &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

◆ IPv6DestinationHeader()

pcpp::IPv6DestinationHeader::IPv6DestinationHeader ( const std::vector< IPv6TLVOptionBuilder > &  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