ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
tSomeIpSampleHeader

This struct describes the SOME/IP sample header which is placed in the beginning of every SOME/IP sample's buffer. More...

Public Attributes

uint16_t nVLANId = 0
 
bool bIsTCP = false
 
bool bIsIPv6 = false
 
uint16_t nMessageCount = 0
 
std::array< uint8_t, 16 > aSrcIP = { }
 
std::array< uint8_t, 16 > aDstIP = { }
 
uint16_t nSrcPort = 0
 
uint16_t nDstPort = 0
 
uint32_t nMessageDataSize = 0
 
uint8_t aMessageData [0] = { }
 

Detailed Description

This struct describes the SOME/IP sample header which is placed in the beginning of every SOME/IP sample's buffer.

See adtf::devicetb::sdk::someip::stream_meta_type_someip for the corresponding stream type.

It contains mainly network-specific information such as source and destination endpoints which is otherwise not part a SOME/IP message. int8_t is used instead of bool as its size is implementation defined. Also, the struct is packed to make sure it matches its DDL description independent of the plattform/compiler.

Definition at line 115 of file someip_types.h.