Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Packet++/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ add_library(
src/RadiusLayer.cpp
src/RawPacket.cpp
src/S7CommLayer.cpp
src/SctpLayer.cpp
src/SdpLayer.cpp
src/SingleCommandTextProtocol.cpp
src/SipLayer.cpp
Expand Down Expand Up @@ -125,6 +126,7 @@ set(
header/RadiusLayer.h
header/RawPacket.h
header/S7CommLayer.h
header/SctpLayer.h
header/SdpLayer.h
header/SingleCommandTextProtocol.h
header/SipLayer.h
Expand Down
2 changes: 2 additions & 0 deletions Packet++/header/IPv4Layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ namespace pcpp
PACKETPP_IPPROTO_DSTOPTS = 60,
/// VRRP protocol
PACKETPP_IPPROTO_VRRP = 112,
/// SCTP (Stream Control Transmission Protocol)
PACKETPP_IPPROTO_SCTP = 132,
/// Raw IP packets
PACKETPP_IPPROTO_RAW = 255,
/// Maximum value
Expand Down
3 changes: 3 additions & 0 deletions Packet++/header/ProtocolType.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ namespace pcpp
/// FTP protocol family (FTPControl and FtpData protocols)
const ProtocolTypeFamily FTP = 0x3c29;

/// SCTP (Stream Control Transmission Protocol)
const ProtocolType SCTP = 62;

/// @}

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