Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into gvcp_0410
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos committed Sep 28, 2024
2 parents 1c45bc6 + 3919812 commit 655fef5
Show file tree
Hide file tree
Showing 16 changed files with 1,251 additions and 47 deletions.
1 change: 1 addition & 0 deletions Common++/header/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ namespace pcpp
PacketLogModuleSomeIpSdLayer, ///< SomeIpSdLayer module (Packet++)
PacketLogModuleWakeOnLanLayer, ///< WakeOnLanLayer module (Packet++)
PacketLogModuleSmtpLayer, ///< SmtpLayer module (Packet++)
PacketLogModuleWireGuardLayer, ///< WireGuardLayer module (Packet++)
PcapLogModuleWinPcapLiveDevice, ///< WinPcapLiveDevice module (Pcap++)
PcapLogModuleRemoteDevice, ///< WinPcapRemoteDevice module (Pcap++)
PcapLogModuleLiveDevice, ///< PcapLiveDevice module (Pcap++)
Expand Down
4 changes: 3 additions & 1 deletion Packet++/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ add_library(
src/VrrpLayer.cpp
src/VxlanLayer.cpp
src/WakeOnLanLayer.cpp
src/WireGuardLayer.cpp
# Force hash-library pcapng to be link fully static
)

Expand Down Expand Up @@ -135,7 +136,8 @@ set(public_headers
header/VlanLayer.h
header/VrrpLayer.h
header/VxlanLayer.h
header/WakeOnLanLayer.h)
header/WakeOnLanLayer.h
header/WireGuardLayer.h)

# Don't use set_target_properties CMake limit to 50 elements
set_property(TARGET Packet++ PROPERTY PUBLIC_HEADER ${public_headers})
Expand Down
7 changes: 6 additions & 1 deletion Packet++/header/ProtocolType.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,15 @@ namespace pcpp
*/
const ProtocolType LDAP = 55;

/*
* WireGuard protocol
*/
const ProtocolType WireGuard = 56;

/*
* GVCP protocol
*/
const ProtocolType Gvcp = 56;
const ProtocolType Gvcp = 57;

/**
* An enum representing OSI model layers
Expand Down
Loading

0 comments on commit 655fef5

Please sign in to comment.