Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pcap-Net
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Pcap-Net
Commits
3b8d552a
Commit
3b8d552a
authored
Mar 30, 2012
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TransportDatagram.Payload property.
parent
8ba2e580
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
TcpDatagram.cs
PcapDotNet/src/PcapDotNet.Packets/Transport/TcpDatagram.cs
+1
-1
TransportDatagram.cs
...Net/src/PcapDotNet.Packets/Transport/TransportDatagram.cs
+5
-0
UdpDatagram.cs
PcapDotNet/src/PcapDotNet.Packets/Transport/UdpDatagram.cs
+1
-1
No files found.
PcapDotNet/src/PcapDotNet.Packets/Transport/TcpDatagram.cs
View file @
3b8d552a
...
@@ -316,7 +316,7 @@ namespace PcapDotNet.Packets.Transport
...
@@ -316,7 +316,7 @@ namespace PcapDotNet.Packets.Transport
/// <summary>
/// <summary>
/// The payload of the TCP datagram.
/// The payload of the TCP datagram.
/// </summary>
/// </summary>
public
Datagram
Payload
public
override
Datagram
Payload
{
{
get
get
{
{
...
...
PcapDotNet/src/PcapDotNet.Packets/Transport/TransportDatagram.cs
View file @
3b8d552a
...
@@ -54,6 +54,11 @@ namespace PcapDotNet.Packets.Transport
...
@@ -54,6 +54,11 @@ namespace PcapDotNet.Packets.Transport
/// </summary>
/// </summary>
public
abstract
bool
IsChecksumOptional
{
get
;
}
public
abstract
bool
IsChecksumOptional
{
get
;
}
/// <summary>
/// The payload of the transport datagram.
/// </summary>
public
abstract
Datagram
Payload
{
get
;
}
internal
TransportDatagram
(
byte
[]
buffer
,
int
offset
,
int
length
)
internal
TransportDatagram
(
byte
[]
buffer
,
int
offset
,
int
length
)
:
base
(
buffer
,
offset
,
length
)
:
base
(
buffer
,
offset
,
length
)
{
{
...
...
PcapDotNet/src/PcapDotNet.Packets/Transport/UdpDatagram.cs
View file @
3b8d552a
...
@@ -90,7 +90,7 @@ namespace PcapDotNet.Packets.Transport
...
@@ -90,7 +90,7 @@ namespace PcapDotNet.Packets.Transport
/// <summary>
/// <summary>
/// The payload of the UDP datagram.
/// The payload of the UDP datagram.
/// </summary>
/// </summary>
public
Datagram
Payload
public
override
Datagram
Payload
{
{
get
{
return
new
Datagram
(
Buffer
,
StartOffset
+
HeaderLength
,
Length
-
HeaderLength
);
}
get
{
return
new
Datagram
(
Buffer
,
StartOffset
+
HeaderLength
,
Length
-
HeaderLength
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment