|
libdoip
0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
|
Namespaces | |
| ansi | |
| times | |
| uds | |
| util | |
Classes | |
| struct | ByteArray |
| A dynamic array of bytes with utility methods for network protocol handling. More... | |
| class | DoIPClient |
| class | DoIPConnection |
| class | DoIPDefaultConnection |
| Default implementation of IConnectionContext. More... | |
| class | GenericFixedId |
| Generic fixed-length identifier class template. More... | |
| class | DoIPMessage |
| Represents a complete DoIP message with internal ByteArray representation. More... | |
| struct | ServerConfig |
| Server configuration structure used to initialize a DoIP server. More... | |
| class | DoIPServer |
| DoIP Server class to handle incoming DoIP connections and UDP messages. More... | |
| struct | DoIPServerModel |
| DoIP Server Model - Configuration and callbacks for a DoIP server connection. More... | |
| struct | DefaultDoIPServerModel |
| Default DoIP Server Model with no-op callbacks. More... | |
| class | IConnectionContext |
| Interface between DoIPServerStateMachine and DoIPConnection. More... | |
| class | Logger |
| Centralized logger for the DoIP library. More... | |
| class | TimerManager |
Typedefs | |
| using | ByteArrayRef = std::pair< const uint8_t *, size_t > |
| Reference to raw array of bytes. More... | |
| using | DoIPAddress = uint16_t |
| Represents a 16-bit DoIP address consisting of high and low significant bytes. More... | |
| using | DoIPRequest = std::pair< size_t, const uint8_t * > |
| using | StateChangeHandler = std::function< void()> |
| using | MessageHandler = std::function< void(std::optional< DoIPMessage >)> |
| using | TimeOutHandler = std::function< void(ConnectionTimers)> |
| using | DoIpVin = GenericFixedId< 17, true, '0'> |
| Vehicle Identification Number (VIN) - 17 bytes according to ISO 3779 Padded with ASCII '0' characters when shorter than 17 bytes. More... | |
| using | DoIpEid = GenericFixedId< 6, false > |
| Entity Identifier (EID) - 6 bytes for unique entity identification. More... | |
| using | DoIpGid = GenericFixedId< 6, false > |
| Group Identifier (GID) - 6 bytes for group identification. More... | |
| using | OptDoIPMessage = std::optional< DoIPMessage > |
| using | DoIPDiagnosticAck = std::optional< DoIPNegativeDiagnosticAck > |
| Alias for diagnostic acknowledgment type. More... | |
| using | ConnectionAcceptedHandler = std::function< std::optional< DoIPServerModel >(DoIPConnection *)> |
| Callback invoked when a new TCP connection is established. More... | |
| using | ServerModelOpenHandler = std::function< void(IConnectionContext &)> |
| using | ServerModelCloseHandler = std::function< void(IConnectionContext &, DoIPCloseReason)> |
| using | ServerModelDiagnosticHandler = std::function< DoIPDiagnosticAck(IConnectionContext &, const DoIPMessage &)> |
| using | ServerModelDiagnosticNotificationHandler = std::function< void(IConnectionContext &, DoIPDiagnosticAck)> |
| using | ServerModelDownstreamResponseHandler = std::function< void(const ByteArray &response, DoIPDownstreamResult result)> |
| Callback for downstream response notification. More... | |
| using | ServerModelDownstreamHandler = std::function< DoIPDownstreamResult(IConnectionContext &ctx, const DoIPMessage &msg, ServerModelDownstreamResponseHandler callback)> |
| Callback for downstream (subnet) request handling. More... | |
| using | UniqueServerModelPtr = std::unique_ptr< DoIPServerModel > |
| using | MacAddress = std::array< uint8_t, 6 > |
| Type alias for MAC address (6 bytes) More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const ByteArray &arr) |
| Stream operator for ByteArray. More... | |
| bool | isValidSourceAddress (const uint8_t *data, size_t offset=0) |
| Check if source address is valid. More... | |
| bool | tryReadAddressFrom (const uint8_t *data, size_t offset, DoIPAddress &address) |
| Try read the DoIP address from a byte array. More... | |
| DoIPAddress | readAddressFrom (const uint8_t *data, size_t offset=0) |
| Reads the DoIP address from a byte array. More... | |
| std::ostream & | operator<< (std::ostream &os, DoIPCloseReason event) |
| std::ostream & | operator<< (std::ostream &os, ConnectionTimers tid) |
| std::ostream & | operator<< (std::ostream &os, DoIPDownstreamResult result) |
| std::ostream & | operator<< (std::ostream &os, const DoIPFurtherAction far) |
| std::ostream & | operator<< (std::ostream &os, const DoIpVin &vin) |
| Stream output operator for DoIpVin, DoIpEid, and DoIpGid. More... | |
| std::ostream & | operator<< (std::ostream &os, const DoIpEid &eid) |
| Stream output operator for DoIpEid/DoIpGid. More... | |
| std::ostream & | operator<< (std::ostream &os, const DoIPMessage &msg) |
| Stream operator for DoIPMessage. More... | |
| std::ostream & | operator<< (std::ostream &os, doip::DoIPNegativeDiagnosticAck nack) |
| Stream output operator for DoIPNegativeDiagnosticAck. More... | |
| std::ostream & | operator<< (std::ostream &os, doip::DoIPDiagnosticAck ack) |
| Stream output operator for DoIPNegativeDiagnosticAck. More... | |
| constexpr bool | isValidPayloadType (uint16_t value) noexcept |
| Validates if a uint16_t value represents a valid DoIPPayloadType. More... | |
| constexpr std::optional< DoIPPayloadType > | toPayloadType (uint16_t value) noexcept |
| Safely converts uint16_t to DoIPPayloadType with validation. More... | |
| constexpr std::optional< DoIPPayloadType > | toPayloadType (uint8_t hsb, uint8_t lsb) noexcept |
| std::ostream & | operator<< (std::ostream &os, DoIPPayloadType type) |
| Stream operator for DoIPPayloadType enum. More... | |
| bool | closeSocketOnRoutingActivationResult (DoIPRoutingActivationResult result) |
| Check if the socket should be closed based on the routing activation result. More... | |
| std::ostream & | operator<< (std::ostream &os, DoIPRoutingActivationResult result) |
| std::ostream & | operator<< (std::ostream &os, DoIPServerEvent event) |
| std::ostream & | operator<< (std::ostream &os, DoIPServerState state) |
| bool | getMacAddress (const char *ifname, MacAddress &mac) |
| bool | getFirstMacAddress (MacAddress &mac) |
| Retrieves the MAC address of the first available network interface. More... | |
Variables | |
| constexpr size_t | DOIP_ADDRESS_SIZE = 2 |
| constexpr DoIPAddress | ZERO_ADDRESS = 0x0000 |
| constexpr DoIPAddress | MIN_SOURCE_ADDRESS = 0xE000 |
| constexpr DoIPAddress | MAX_SOURCE_ADDRESS = 0xE3FF |
| const int | _maxDataSize = 64 |
| constexpr uint8_t | ISO_13400_2010 = 1 |
| ISO/DIS 13400-2:2010. More... | |
| constexpr uint8_t | ISO_13400_2012 = 2 |
| ISO 13400-2:2012. More... | |
| constexpr uint8_t | ISO_13400_2019 = 3 |
| ISO 13400-2:2019. More... | |
| constexpr uint8_t | ISO_13400_2025 = 4 |
| ISO 13400-2:2019/Amd1, ISO 13400-2:2025. More... | |
| constexpr uint8_t | PROTOCOL_VERSION = ISO_13400_2025 |
| Current protocol version (table 16) More... | |
| constexpr uint8_t | PROTOCOL_VERSION_INV = static_cast<uint8_t>(~ISO_13400_2025) |
| constexpr uint8_t | DIAGNOSTIC_MESSAGE_ACK = 0 |
| Positive ack for diagnostic message (table 24) More... | |
| constexpr size_t | DOIP_HEADER_SIZE = 8 |
| Size of the DoIP header. More... | |
| constexpr size_t | DOIP_DIAG_HEADER_SIZE = DOIP_HEADER_SIZE + 4 |
| Size of the DoIP diagnostic message header. More... | |
| const ServerConfig | DefaultServerConfig {} |
| constexpr int | DOIP_SERVER_TCP_PORT = 13400 |
| constexpr const char * | DEFAULT_PATTERN = "[%H:%M:%S.%e] [%n] [%^%l%$] %v" |
| constexpr const char * | SHORT_PATTERN = "[%n] [%^%l%$] %v" |
| Pattern for short output without timestamp. More... | |
| using doip::ByteArrayRef = typedef std::pair<const uint8_t *, size_t> |
Reference to raw array of bytes.
A pair containing a pointer to a byte array and its size. Useful for passing byte array references without copying.
Definition at line 291 of file ByteArray.h.
| using doip::ConnectionAcceptedHandler = typedef std::function<std::optional<DoIPServerModel>(DoIPConnection *)> |
Callback invoked when a new TCP connection is established.
Definition at line 63 of file DoIPServer.h.
| using doip::DoIPAddress = typedef uint16_t |
Represents a 16-bit DoIP address consisting of high and low significant bytes.
This structure encapsulates a 16-bit address used in DoIP (Diagnostic over Internet Protocol) communication. The address is stored as two separate bytes (HSB and LSB) and provides convenient methods for construction, access, and manipulation.
Definition at line 26 of file DoIPAddress.h.
| using doip::DoIPDiagnosticAck = typedef std::optional<DoIPNegativeDiagnosticAck> |
Alias for diagnostic acknowledgment type.
This type represents either a successful acknowledgment (std::nullopt) or a negative acknowledgment (DoIPNegativeDiagnosticAck). This is to circumvent the reserved value '0' in DoIPNegativeDiagnosticAck.
Definition at line 31 of file DoIPNegativeDiagnosticAck.h.
| using doip::DoIpEid = typedef GenericFixedId<6, false> |
Entity Identifier (EID) - 6 bytes for unique entity identification.
Definition at line 354 of file DoIPIdentifiers.h.
| using doip::DoIpGid = typedef GenericFixedId<6, false> |
Group Identifier (GID) - 6 bytes for group identification.
Definition at line 359 of file DoIPIdentifiers.h.
| using doip::DoIPRequest = typedef std::pair<size_t, const uint8_t *> |
Definition at line 20 of file DoIPClient.h.
| using doip::DoIpVin = typedef GenericFixedId<17, true, '0'> |
Vehicle Identification Number (VIN) - 17 bytes according to ISO 3779 Padded with ASCII '0' characters when shorter than 17 bytes.
Definition at line 349 of file DoIPIdentifiers.h.
| using doip::MacAddress = typedef std::array<uint8_t, 6> |
Type alias for MAC address (6 bytes)
Definition at line 12 of file MacAddress.h.
| using doip::MessageHandler = typedef std::function<void(std::optional<DoIPMessage>)> |
Definition at line 44 of file DoIPDefaultConnection.h.
| using doip::OptDoIPMessage = typedef std::optional<DoIPMessage> |
Definition at line 65 of file DoIPMessage.h.
| using doip::ServerModelCloseHandler = typedef std::function<void(IConnectionContext &, DoIPCloseReason)> |
Definition at line 22 of file DoIPServerModel.h.
| using doip::ServerModelDiagnosticHandler = typedef std::function<DoIPDiagnosticAck(IConnectionContext &, const DoIPMessage &)> |
Definition at line 23 of file DoIPServerModel.h.
| using doip::ServerModelDiagnosticNotificationHandler = typedef std::function<void(IConnectionContext &, DoIPDiagnosticAck)> |
Definition at line 24 of file DoIPServerModel.h.
| using doip::ServerModelDownstreamHandler = typedef std::function<DoIPDownstreamResult(IConnectionContext &ctx, const DoIPMessage &msg, ServerModelDownstreamResponseHandler callback)> |
Callback for downstream (subnet) request handling.
This callback is invoked when a diagnostic message needs to be forwarded to a downstream device (e.g., via CAN, LIN, or another transport).
The implementation is responsible for:
The state machine will handle timeout management internally.
| ctx | The connection context (use for receiveDownstreamResponse callback) |
| msg | The diagnostic message to forward downstream |
| callback | the callback method to call when the downstream response arrived |
Definition at line 54 of file DoIPServerModel.h.
| using doip::ServerModelDownstreamResponseHandler = typedef std::function<void(const ByteArray &response, DoIPDownstreamResult result)> |
Callback for downstream response notification.
| response | the downstream response (maybe empty) |
| result | the downstream result |
Definition at line 32 of file DoIPServerModel.h.
| using doip::ServerModelOpenHandler = typedef std::function<void(IConnectionContext &)> |
Definition at line 21 of file DoIPServerModel.h.
| using doip::StateChangeHandler = typedef std::function<void()> |
Definition at line 43 of file DoIPDefaultConnection.h.
| using doip::TimeOutHandler = typedef std::function<void(ConnectionTimers)> |
Definition at line 45 of file DoIPDefaultConnection.h.
| using doip::UniqueServerModelPtr = typedef std::unique_ptr<DoIPServerModel> |
Definition at line 103 of file DoIPServerModel.h.
|
strong |
| Enumerator | |
|---|---|
| InitialInactivity | |
| GeneralInactivity | |
| AliveCheck | |
| DownstreamResponse | |
| UserDefined | |
Definition at line 18 of file DoIPDefaultConnection.h.
|
strong |
Reason for connection closure.
| Enumerator | |
|---|---|
| None | |
| InitialInactivityTimeout | |
| GeneralInactivityTimeout | |
| AliveCheckTimeout | |
| SocketError | |
| InvalidMessage | |
| ApplicationRequest | |
| RoutingActivationDenied | |
Definition at line 12 of file DoIPCloseReason.h.
|
strong |
Result of a downstream request initiation.
| Enumerator | |
|---|---|
| Pending | Request was sent, waiting for async response. |
| Handled | Request was handled synchronously (no downstream needed) |
| Error | Failed to initiate downstream request. |
Definition at line 11 of file DoIPDownstreamResult.h.
|
strong |
| Enumerator | |
|---|---|
| NoFurtherAction | |
| RoutingActivationForCentralSecurity | |
Definition at line 8 of file DoIPFurtherAction.h.
|
strong |
| Enumerator | |
|---|---|
| InvalidSourceAddress | |
| UnknownTargetAddress | |
| DiagnosticMessageTooLarge | |
| OutOfMemory | |
| TargetUnreachable | |
| UnknownNetwork | |
| TransportProtocolError | |
| TargetBusy | |
Definition at line 12 of file DoIPNegativeDiagnosticAck.h.
|
strong |
DoIP Payload Type identifiers according to ISO 13400-2.
This enumeration contains all payload types used in the DoIP protocol. The values correspond to the message types specified in ISO 13400-2.
Definition at line 19 of file DoIPPayloadType.h.
|
strong |
Definition at line 7 of file DoIPRoutingActivationResult.h.
|
strong |
Definition at line 9 of file DoIPServerEvent.h.
|
strong |
| Enumerator | |
|---|---|
| SocketInitialized | |
| WaitRoutingActivation | |
| RoutingActivated | |
| WaitAliveCheckResponse | |
| WaitDownstreamResponse | |
| Finalize | |
| Closed | |
Definition at line 9 of file DoIPServerState.h.
|
strong |
| Enumerator | |
|---|---|
| GidVinSynchronized | |
| GidVinNotSynchronized | |
Definition at line 8 of file DoIPSyncStatus.h.
|
inline |
Check if the socket should be closed based on the routing activation result.
| result | the routing activation result code |
Definition at line 28 of file DoIPRoutingActivationResult.h.
References InvalidAddressOrRoutingType, InvalidRoutingType, MissingConfirmation, NoMoreRoutingSlotsAvailable, RouteActivated, RouteActivatedConfirmationRequired, SecuredConnectionRequired, SourceAddressAlreadyRegistered, Unauthorized, UnknownSourceAddress, and VehicleNotReadyForRouting.
| bool doip::getFirstMacAddress | ( | MacAddress & | mac | ) |
Retrieves the MAC address of the first available network interface.
This is a convenience function that attempts to find and return the MAC address of the first available network interface on the system.
| mac | Reference to a MacAddress where the result will be stored |
Referenced by doip::DoIPServer::setDefaultEid().
| bool doip::getMacAddress | ( | const char * | ifname, |
| MacAddress & | mac | ||
| ) |
|
constexprnoexcept |
Validates if a uint16_t value represents a valid DoIPPayloadType.
| value | The value to validate |
Definition at line 136 of file DoIPPayloadType.h.
Referenced by toPayloadType().
|
inline |
Check if source address is valid.
| data | the data array containing the address |
| offset | the offset in the data array where the address starts |
Definition at line 39 of file DoIPAddress.h.
|
inline |
Definition at line 26 of file DoIPDefaultConnection.h.
References AliveCheck, DownstreamResponse, GeneralInactivity, InitialInactivity, and UserDefined.
|
inline |
Stream operator for ByteArray.
Prints each byte as a two-digit hex value separated by dots. Example: {0x01, 0x02, 0xFF} prints as "01.02.FF"
| os | Output stream |
| arr | ByteArray to print |
Definition at line 303 of file ByteArray.h.
|
inline |
Stream output operator for DoIpEid/DoIpGid.
| os | the operation stream |
| eid | the DoIpEid/DoIpGid to output |
true in the case of success, false otherwise. Definition at line 380 of file DoIPIdentifiers.h.
References doip::GenericFixedId< IdLength, zeroPadding, padChar >::toHexString().
|
inline |
Definition at line 15 of file DoIPFurtherAction.h.
References NoFurtherAction, and RoutingActivationForCentralSecurity.
|
inline |
Stream operator for DoIPMessage.
Prints the protocol version, payload type, payload size, and payload data.
| os | Output stream |
| msg | DoIPMessage to print |
Definition at line 714 of file DoIPMessage.h.
References AliveCheckRequest, AliveCheckResponse, doip::ansi::bold_blue, doip::ansi::bold_magenta, doip::ansi::bold_white, doip::ansi::cyan, DiagnosticMessage, DiagnosticMessageNegativeAck, doip::ansi::dim, doip::DoIPMessage::getDiagnosticMessagePayload(), doip::DoIPMessage::getPayload(), doip::DoIPMessage::getPayloadSize(), doip::DoIPMessage::getPayloadType(), doip::DoIPMessage::getSourceAddress(), doip::DoIPMessage::getTargetAddress(), doip::ansi::green, PROTOCOL_VERSION, doip::ansi::red, doip::ansi::reset, RoutingActivationRequest, RoutingActivationResponse, and doip::ansi::yellow.
|
inline |
Stream output operator for DoIpVin, DoIpEid, and DoIpGid.
| os | the operation stream |
| vin | the DoIpVin to output |
Definition at line 368 of file DoIPIdentifiers.h.
References doip::GenericFixedId< IdLength, zeroPadding, padChar >::toString().
|
inline |
Stream output operator for DoIPNegativeDiagnosticAck.
| os | the output stream |
| ack | the negative acknowledgment code |
Definition at line 84 of file DoIPNegativeDiagnosticAck.h.
|
inline |
Stream output operator for DoIPNegativeDiagnosticAck.
| os | the output stream |
| nack | the negative acknowledgment code |
Definition at line 40 of file DoIPNegativeDiagnosticAck.h.
References DiagnosticMessageTooLarge, InvalidSourceAddress, OutOfMemory, TargetBusy, TargetUnreachable, TransportProtocolError, UnknownNetwork, and UnknownTargetAddress.
|
inline |
Definition at line 23 of file DoIPCloseReason.h.
References AliveCheckTimeout, ApplicationRequest, GeneralInactivityTimeout, InitialInactivityTimeout, InvalidMessage, None, RoutingActivationDenied, and SocketError.
|
inline |
Definition at line 17 of file DoIPDownstreamResult.h.
References Error, doip::ansi::green, Handled, Pending, doip::ansi::red, doip::ansi::reset, and doip::ansi::yellow.
|
inline |
Stream operator for DoIPPayloadType enum.
Prints the payload type name and its hex value. Example: "DiagnosticMessage (0x8001)"
| os | Output stream |
| type | Payload type to print |
Definition at line 187 of file DoIPPayloadType.h.
References AliveCheckRequest, AliveCheckResponse, DiagnosticMessage, DiagnosticMessageAck, DiagnosticMessageNegativeAck, DiagnosticPowerModeRequest, DiagnosticPowerModeResponse, EntityStatusRequest, EntityStatusResponse, NegativeAck, PeriodicDiagnosticMessage, RoutingActivationRequest, RoutingActivationResponse, VehicleIdentificationRequest, VehicleIdentificationRequestWithEid, VehicleIdentificationRequestWithVin, and VehicleIdentificationResponse.
|
inline |
Definition at line 48 of file DoIPRoutingActivationResult.h.
References InvalidAddressOrRoutingType, InvalidRoutingType, MissingConfirmation, NoMoreRoutingSlotsAvailable, RouteActivated, RouteActivatedConfirmationRequired, SecuredConnectionRequired, SourceAddressAlreadyRegistered, Unauthorized, UnknownSourceAddress, and VehicleNotReadyForRouting.
|
inline |
Definition at line 29 of file DoIPServerEvent.h.
References AliveCheckResponseReceived, AliveCheckTimeout, CloseRequestReceived, DiagnosticMessageReceived, DiagnosticMessageReceivedDownstream, DownstreamTimeout, GeneralInactivityTimeout, Initial_inactivity_timeout, InvalidMessage, RoutingActivationReceived, and SocketError.
|
inline |
Definition at line 20 of file DoIPServerState.h.
References Closed, Finalize, RoutingActivated, SocketInitialized, WaitAliveCheckResponse, WaitDownstreamResponse, and WaitRoutingActivation.
|
inline |
Reads the DoIP address from a byte array.
| data | the pointer to the data array |
| offset | the offset in bytes |
Definition at line 69 of file DoIPAddress.h.
References ZERO_ADDRESS.
Referenced by doip::DoIPMessage::getLogicalAddress(), doip::DoIPMessage::getSourceAddress(), and doip::DoIPMessage::getTargetAddress().
|
constexprnoexcept |
Safely converts uint16_t to DoIPPayloadType with validation.
| value | The value to convert |
Definition at line 166 of file DoIPPayloadType.h.
References isValidPayloadType().
Referenced by toPayloadType(), and doip::DoIPMessage::tryParseHeader().
|
constexprnoexcept |
Definition at line 173 of file DoIPPayloadType.h.
References toPayloadType().
|
inline |
Try read the DoIP address from a byte array.
| data | the pointer to the data array |
| offset | the offset in bytes |
| address | the address read |
Definition at line 54 of file DoIPAddress.h.
| const int doip::_maxDataSize = 64 |
Definition at line 18 of file DoIPClient.h.
Referenced by doip::DoIPClient::receiveMessage(), doip::DoIPClient::receiveUdpMessage(), and doip::DoIPClient::receiveVehicleAnnouncement().
|
constexpr |
Definition at line 59 of file Logger.h.
Referenced by doip::Logger::get().
| const ServerConfig doip::DefaultServerConfig {} |
Definition at line 55 of file DoIPServer.h.
|
constexpr |
Positive ack for diagnostic message (table 24)
Definition at line 52 of file DoIPMessage.h.
Referenced by doip::message::makeDiagnosticPositiveResponse().
|
constexpr |
Definition at line 15 of file DoIPAddress.h.
|
constexpr |
Size of the DoIP diagnostic message header.
Definition at line 62 of file DoIPMessage.h.
Referenced by doip::DoIPMessage::getDiagnosticMessagePayload().
|
constexpr |
Size of the DoIP header.
Definition at line 57 of file DoIPMessage.h.
Referenced by doip::DoIPMessage::buildMessage(), doip::DoIPMessage::getPayload(), doip::DoIPMessage::getPayloadLengthFromHeader(), doip::DoIPMessage::getPayloadSize(), doip::DoIPMessage::getPayloadType(), doip::DoIPMessage::isValid(), doip::DoIPConnection::receiveTcpMessage(), doip::DoIPMessage::tryParse(), and doip::DoIPMessage::tryParseHeader().
|
constexpr |
Definition at line 57 of file DoIPServer.h.
Referenced by doip::DoIPServer::setupTcpSocket().
|
constexpr |
ISO/DIS 13400-2:2010.
Definition at line 26 of file DoIPMessage.h.
Referenced by doip::DoIPMessage::isValidProtocolVersion().
|
constexpr |
ISO 13400-2:2012.
Definition at line 31 of file DoIPMessage.h.
|
constexpr |
ISO 13400-2:2019.
Definition at line 36 of file DoIPMessage.h.
|
constexpr |
ISO 13400-2:2019/Amd1, ISO 13400-2:2025.
Definition at line 41 of file DoIPMessage.h.
Referenced by doip::DoIPMessage::isValidProtocolVersion().
|
constexpr |
Definition at line 30 of file DoIPAddress.h.
|
constexpr |
Definition at line 29 of file DoIPAddress.h.
|
constexpr |
Current protocol version (table 16)
Definition at line 46 of file DoIPMessage.h.
Referenced by doip::DoIPMessage::buildMessage(), and operator<<().
|
constexpr |
Definition at line 47 of file DoIPMessage.h.
Referenced by doip::DoIPMessage::buildMessage().
|
constexpr |
|
constexpr |
Definition at line 28 of file DoIPAddress.h.
Referenced by doip::DoIPDefaultConnection::handleRoutingActivated(), doip::DoIPDefaultConnection::handleWaitAliveCheckResponse(), and readAddressFrom().