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
ed97ea2a
Commit
ed97ea2a
authored
Jun 08, 2010
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HTTP
parent
02e50af6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
379 additions
and
0 deletions
+379
-0
ByteArrayExtensions.cs
PcapDotNet/src/PcapDotNet.Packets/ByteArrayExtensions.cs
+10
-0
HttpDatagram.cs
PcapDotNet/src/PcapDotNet.Packets/Http/HttpDatagram.cs
+368
-0
PcapDotNet.Packets.csproj
PcapDotNet/src/PcapDotNet.Packets/PcapDotNet.Packets.csproj
+1
-0
No files found.
PcapDotNet/src/PcapDotNet.Packets/ByteArrayExtensions.cs
View file @
ed97ea2a
...
@@ -12,6 +12,16 @@ namespace PcapDotNet.Packets
...
@@ -12,6 +12,16 @@ namespace PcapDotNet.Packets
/// </summary>
/// </summary>
public
static
class
ByteArrayExtensions
public
static
class
ByteArrayExtensions
{
{
public
static
int
Compare
(
this
byte
[]
array
,
int
offset
,
byte
[]
other
,
int
otherOffset
,
int
count
)
{
throw
new
NotImplementedException
();
}
public
static
bool
SequenceEqual
(
this
byte
[]
array
,
int
offset
,
byte
[]
other
,
int
otherOffset
,
int
count
)
{
return
array
.
Compare
(
offset
,
other
,
otherOffset
,
count
)
==
0
;
}
/// <summary>
/// <summary>
/// Copies a specified number of bytes from a source array starting at a particular offset to a destination array starting at a particular offset.
/// Copies a specified number of bytes from a source array starting at a particular offset to a destination array starting at a particular offset.
/// </summary>
/// </summary>
...
...
PcapDotNet/src/PcapDotNet.Packets/Http/HttpDatagram.cs
0 → 100644
View file @
ed97ea2a
This diff is collapsed.
Click to expand it.
PcapDotNet/src/PcapDotNet.Packets/PcapDotNet.Packets.csproj
View file @
ed97ea2a
...
@@ -107,6 +107,7 @@
...
@@ -107,6 +107,7 @@
<Compile
Include=
"Gre\GreSourceRouteEntryIp.cs"
/>
<Compile
Include=
"Gre\GreSourceRouteEntryIp.cs"
/>
<Compile
Include=
"Gre\GreSourceRouteEntryUnknown.cs"
/>
<Compile
Include=
"Gre\GreSourceRouteEntryUnknown.cs"
/>
<Compile
Include=
"Gre\GreVersion.cs"
/>
<Compile
Include=
"Gre\GreVersion.cs"
/>
<Compile
Include=
"Http\HttpDatagram.cs"
/>
<Compile
Include=
"Icmp\IcmpAddressMaskReplyDatagram.cs"
/>
<Compile
Include=
"Icmp\IcmpAddressMaskReplyDatagram.cs"
/>
<Compile
Include=
"Icmp\IcmpAddressMaskReplyLayer.cs"
/>
<Compile
Include=
"Icmp\IcmpAddressMaskReplyLayer.cs"
/>
<Compile
Include=
"Icmp\IcmpAddressMaskRequestLayer.cs"
/>
<Compile
Include=
"Icmp\IcmpAddressMaskRequestLayer.cs"
/>
...
...
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