PcapPlusPlus
23.09
|
#include <SomeIpSdLayer.h>
Public Types | |
enum | IPv6OptionType { IPv6Endpoint, IPv6Multicast, IPv6SdEndpoint } |
Public Types inherited from pcpp::SomeIpSdOption | |
enum | OptionType : uint8_t { OptionType::Unknown = 0x00, OptionType::ConfigurationString = 0x01, OptionType::LoadBalancing = 0x02, OptionType::IPv4Endpoint = 0x04, OptionType::IPv6Endpoint = 0x06, OptionType::IPv4Multicast = 0x14, OptionType::IPv6Multicast = 0x16, OptionType::IPv4SdEndpoint = 0x24, OptionType::IPv6SdEndpoint = 0x26 } |
Public Member Functions | |
SomeIpSdIPv6Option (IPv6OptionType type, IPv6Address ipAddress, uint16_t port, SomeIpSdProtocolType l4Protocol) | |
SomeIpSdIPv6Option (const IDataContainer *dataContainer, size_t offset) | |
IPv6Address | getIpAddress () const |
uint16_t | getPort () const |
SomeIpSdProtocolType | getProtocol () const |
Public Member Functions inherited from pcpp::SomeIpSdOption | |
virtual | ~SomeIpSdOption () |
OptionType | getType () const |
size_t | getLength () const |
uint8_t * | getDataPtr () const |
someipsdhdroptionsbase * | getSomeIpSdOptionHeader () const |
Implements the following SOME/IP-SD Options: IPv6 Endpoint, IPv6 Multicast, IPv6 SD Endpoint
pcpp::SomeIpSdIPv6Option::SomeIpSdIPv6Option | ( | IPv6OptionType | type, |
IPv6Address | ipAddress, | ||
uint16_t | port, | ||
SomeIpSdProtocolType | l4Protocol | ||
) |
Construct a new SomeIpSdIPv6 Option object
[in] | type | IPv6 Option type |
[in] | ipAddress | Ipv6 address to use |
[in] | port | Port to use |
[in] | l4Protocol | Protocol to use |
pcpp::SomeIpSdIPv6Option::SomeIpSdIPv6Option | ( | const IDataContainer * | dataContainer, |
size_t | offset | ||
) |
Construct a new SomeIpSdIPv6 Option object from already existing memory
[in] | dataContainer | Data containing the SomeIpSdIPv6 Option object |
[in] | offset | Offset for dataContainer |
IPv6Address pcpp::SomeIpSdIPv6Option::getIpAddress | ( | ) | const |
Get the Ip Address
uint16_t pcpp::SomeIpSdIPv6Option::getPort | ( | ) | const |
Get the Port
SomeIpSdProtocolType pcpp::SomeIpSdIPv6Option::getProtocol | ( | ) | const |
Get the Protocol