Skip to content

Commit 6d156bf

Browse files
authored
Add SOME/IP SD protocol (#911)
1 parent 505cc8c commit 6d156bf

16 files changed

+1852
-9
lines changed

Common++/header/Logger.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ namespace pcpp
6969
PacketLogModuleNdpLayer, ///< NdpLayer module (Packet++)
7070
PacketLogModuleFtpLayer, ///< FtpLayer module (Packet++)
7171
PacketLogModuleSomeIpLayer, ///< SomeIpLayer module (Packet++)
72+
PacketLogModuleSomeIpSdLayer, ///< SomeIpSdLayer module (Packet++)
7273
PacketLogModuleWakeOnLanLayer, ///< WakeOnLanLayer module (Packet++)
7374
PcapLogModuleWinPcapLiveDevice, ///< WinPcapLiveDevice module (Pcap++)
7475
PcapLogModuleRemoteDevice, ///< WinPcapRemoteDevice module (Pcap++)

Packet++/header/SomeIpLayer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class SomeIpLayer : public Layer
8787

8888
/**
8989
* A constructor that creates the layer from an existing packet raw data
90-
* @param[in] data A pointer to the raw data (will be casted to @ref someiphdr)
90+
* @param[in] data A pointer to the raw data (will be casted to someiphdr)
9191
* @param[in] dataLen Size of the data in bytes
9292
* @param[in] prevLayer A pointer to the previous layer
9393
* @param[in] packet A pointer to the Packet instance where layer will be stored in
@@ -133,7 +133,7 @@ class SomeIpLayer : public Layer
133133
/**
134134
* Get a pointer to the basic SOME/IP header. Notice this points directly to the data, so every change will change
135135
* the actual packet data
136-
* @return A pointer to the @ref someiphdr
136+
* @return A pointer to the someiphdr
137137
*/
138138
someiphdr *getSomeIpHeader() const { return (someiphdr *)m_Data; }
139139

@@ -328,7 +328,7 @@ class SomeIpLayer : public Layer
328328
virtual void computeCalculateFields() {}
329329

330330
/**
331-
* Identifies the following next layers: SomeIpLayer, SomeIpTpLayer. Otherwise sets PayloadLayer
331+
* Identifies the following next layers: SomeIpLayer, SomeIpTpLayer, SomeIpSdLayer. Otherwise sets PayloadLayer
332332
*/
333333
void parseNextLayer();
334334

0 commit comments

Comments
 (0)