|
PcapPlusPlus
Next
|
#include <SomeIpSdLayer.h>
Public Types | |
| enum | IPv6OptionType { IPv6Endpoint , IPv6Multicast , IPv6SdEndpoint } |
| Types of options which are implemented with this class. More... | |
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 } |
| Types of options currently available for the SOME/IP-SD protocol. More... | |
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 () |
| Destroy the SOME/IP-SD Option object and delete allocated data if it has been allocated by a constructor. | |
| 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