PcapPlusPlus  24.09
pcpp::SomeIpSdConfigurationOption Class Reference

#include <SomeIpSdLayer.h>

Inheritance diagram for pcpp::SomeIpSdConfigurationOption:
pcpp::SomeIpSdOption

Public Member Functions

 SomeIpSdConfigurationOption (const std::string &configurationString)
 
 SomeIpSdConfigurationOption (const IDataContainer *dataContainer, size_t offset)
 
std::string getConfigurationString () const
 
- Public Member Functions inherited from pcpp::SomeIpSdOption
virtual ~SomeIpSdOption ()
 
OptionType getType () const
 
size_t getLength () const
 
uint8_t * getDataPtr () const
 
someipsdhdroptionsbasegetSomeIpSdOptionHeader () const
 

Additional Inherited Members

- Public Types inherited from pcpp::SomeIpSdOption
enum class  OptionType : uint8_t {
  Unknown = 0x00 , ConfigurationString = 0x01 , LoadBalancing = 0x02 , IPv4Endpoint = 0x04 ,
  IPv6Endpoint = 0x06 , IPv4Multicast = 0x14 , IPv6Multicast = 0x16 , IPv4SdEndpoint = 0x24 ,
  IPv6SdEndpoint = 0x26
}
 

Detailed Description

Implements the Configuration option of SOME/IP-SD protocol

Constructor & Destructor Documentation

◆ SomeIpSdConfigurationOption() [1/2]

pcpp::SomeIpSdConfigurationOption::SomeIpSdConfigurationOption ( const std::string &  configurationString)
explicit

Construct a new Configuration Option object

Parameters
[in]configurationStringthe configuration string

◆ SomeIpSdConfigurationOption() [2/2]

pcpp::SomeIpSdConfigurationOption::SomeIpSdConfigurationOption ( const IDataContainer dataContainer,
size_t  offset 
)

Construct a new Configuration Option object from already existing memory

Parameters
[in]dataContainerData containing the Configuration Option object
[in]offsetOffset for dataContainer

Member Function Documentation

◆ getConfigurationString()

std::string pcpp::SomeIpSdConfigurationOption::getConfigurationString ( ) const

Get the configuration string

Returns
std::string