|
| | DoIpRoutingActivationRequest (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
| | Constructs the layer from raw DoIP packet data. More...
|
| |
| | DoIpRoutingActivationRequest (uint16_t sourceAddress, DoIpActivationTypes activationType) |
| | Constructs the message from field values. More...
|
| |
| uint16_t | getSourceAddress () const |
| | Returns the source address. More...
|
| |
| void | setSourceAddress (uint16_t value) |
| | Sets the source address. More...
|
| |
| DoIpActivationTypes | getActivationType () const |
| | Returns the activation type. More...
|
| |
| void | setActivationType (DoIpActivationTypes activationType) |
| | Sets the activation type. More...
|
| |
| std::array< uint8_t, DOIP_RESERVED_ISO_LEN > | getReservedIso () const |
| | Gets the reserved ISO bytes. More...
|
| |
| void | setReservedIso (const std::array< uint8_t, DOIP_RESERVED_ISO_LEN > &reservedIso) |
| | Sets the reserved ISO bytes. More...
|
| |
| std::array< uint8_t, DOIP_RESERVED_OEM_LEN > | getReservedOem () const |
| | Gets the to reserved OEM bytes if present. More...
|
| |
| void | setReservedOem (const std::array< uint8_t, DOIP_RESERVED_OEM_LEN > &reservedOem) |
| | Sets the reserved OEM bytes. More...
|
| |
| bool | hasReservedOem () const |
| | Checks if OEM reserved bytes are present. More...
|
| |
|
void | clearReservedOem () |
| | Clears the OEM reserved bytes.
|
| |
|
std::string | getSummary () const |
| | Returns a human-readable summary of the message.
|
| |
|
DoIpPayloadTypes | getPayloadType () const override |
| | Returns the DoIP payload type for this message.
|
| |
| std::string | getPayloadTypeAsStr () const |
| |
| DoIpProtocolVersion | getProtocolVersion () const |
| |
| std::string | getProtocolVersionAsStr () const |
| |
| void | setProtocolVersion (DoIpProtocolVersion version) |
| |
| void | setProtocolVersion (uint8_t rawVersion) |
| |
| uint8_t | getInvertProtocolVersion () const |
| |
| void | setInvertProtocolVersion (uint8_t iVersion) |
| |
| uint32_t | getPayloadLength () const |
| |
| void | setPayloadLength (uint32_t length) |
| |
|
void | parseNextLayer () override |
| | parse UDS layer
|
| |
| size_t | getHeaderLen () const override |
| |
| std::string | toString () const override |
| |
|
void | computeCalculateFields () override |
| | Each layer can compute field values automatically using this method. This is an abstract method.
|
| |
| OsiModelLayer | getOsiModelLayer () const override |
| |
| | ~Layer () override |
| |
| Layer * | getNextLayer () const |
| |
| Layer * | getPrevLayer () const |
| |
| ProtocolType | getProtocol () const |
| |
| bool | isMemberOfProtocolFamily (ProtocolTypeFamily protocolTypeFamily) const |
| |
| uint8_t * | getData () const |
| |
| size_t | getDataLen () const |
| |
| uint8_t * | getLayerPayload () const |
| |
| size_t | getLayerPayloadSize () const |
| |
| bool | isAllocatedToPacket () const |
| |
| void | copyData (uint8_t *toArr) const |
| | Copy the raw data of this layer to another array. More...
|
| |
| size_t | copyData (uint8_t *dest, size_t destSize) const |
| | Copy the raw data of this layer to another array, with a specified maximum size. More...
|
| |
| uint8_t * | getDataPtr (size_t offset=0) const override |
| |
|
| Packet * | getAttachedPacket () |
| | Get a pointer to the Packet this layer is attached to (if any). More...
|
| |
| Packet const * | getAttachedPacket () const |
| | Get a pointer to the Packet this layer is attached to (if any). More...
|
| |
| void | allocData (size_t dataLen, bool zeroInit=true) |
| | Requests the layer to allocate a new data buffer of the specified length. More...
|
| |
| template<typename T , typename... Args> |
| Layer * | constructNextLayer (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Construct the next layer in the protocol stack. No validation is performed on the data. More...
|
| |
| template<typename T , typename... Args> |
| Layer * | constructNextLayer (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename TFactory , typename... Args> |
| Layer * | constructNextLayerFromFactory (TFactory factoryFn, uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Construct the next layer in the protocol stack using a factory functor. More...
|
| |
| template<typename TFactory , typename... Args> |
| Layer * | constructNextLayerFromFactory (TFactory factoryFn, uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| | Construct the next layer in the protocol stack using a factory functor. More...
|
| |
| template<typename T , typename... Args> |
| Layer * | tryConstructNextLayer (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| |
| template<typename T , typename... Args> |
| Layer * | tryConstructNextLayer (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename T , typename TFallback , typename... Args> |
| Layer * | tryConstructNextLayerWithFallback (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Try to construct the next layer in the protocol stack with a fallback option. More...
|
| |
| template<typename T , typename TFallback , typename... Args> |
| Layer * | tryConstructNextLayerWithFallback (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename TFallback , typename TFactory , typename... Args> |
| Layer * | tryConstructNextLayerFromFactoryWithFallback (TFactory factoryFn, uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Try to construct the next layer in the protocol stack using a factory functor with a fallback option. More...
|
| |
| template<typename TFallback , typename TFactory , typename... Args> |
| Layer * | tryConstructNextLayerFromFactoryWithFallback (TFactory factoryFn, uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| | Try to construct the next layer in the protocol stack using a factory functor with a fallback option. More...
|
| |
| template<typename T > |
| static bool | canReinterpretAs (const uint8_t *data, size_t dataLen) |
| | Check if the data is large enough to reinterpret as a type. More...
|
| |
Represents a DoIP Routing Activation Request message.
Provides parsing and construction for Routing Activation Request messages as defined by the DoIP protocol.