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
e00bb892
Commit
e00bb892
authored
Mar 17, 2015
by
Boaz Brickner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete IcmpTracerouteLayer.cs
Because we have IcmpTraceRouteLayer.cs that replaced it.
parent
32b7b9f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
67 deletions
+0
-67
IcmpTracerouteLayer.cs
...DotNet/src/PcapDotNet.Packets/Icmp/IcmpTracerouteLayer.cs
+0
-67
No files found.
PcapDotNet/src/PcapDotNet.Packets/Icmp/IcmpTracerouteLayer.cs
deleted
100644 → 0
View file @
32b7b9f6
using
System
;
namespace
PcapDotNet.Packets.Icmp
{
public
class
IcmpTracerouteLayer
:
IcmpLayer
{
public
IcmpCodeTraceroute
Code
{
get
;
set
;
}
public
ushort
Identification
{
get
;
set
;}
public
ushort
OutboundHopCount
{
get
;
set
;}
public
ushort
ReturnHopCount
{
get
;
set
;}
public
uint
OutputLinkSpeed
{
get
;
set
;}
public
uint
OutputLinkMtu
{
get
;
set
;}
public
override
IcmpMessageType
MessageType
{
get
{
return
IcmpMessageType
.
Traceroute
;
}
}
protected
override
int
PayloadLength
{
get
{
return
IcmpTracerouteDatagram
.
PayloadLength
;
}
}
public
override
byte
CodeValue
{
get
{
return
(
byte
)
Code
;
}
}
protected
override
uint
Value
{
get
{
return
(
uint
)(
Identification
<<
16
);
}
}
protected
override
void
WritePayload
(
byte
[]
buffer
,
int
offset
)
{
IcmpTracerouteDatagram
.
WriteHeaderAdditional
(
buffer
,
offset
,
OutboundHopCount
,
ReturnHopCount
,
OutputLinkSpeed
,
OutputLinkMtu
);
}
public
bool
Equals
(
IcmpTracerouteLayer
other
)
{
return
other
!=
null
&&
OutboundHopCount
==
other
.
OutboundHopCount
&&
ReturnHopCount
==
other
.
ReturnHopCount
&&
OutputLinkSpeed
==
other
.
OutputLinkSpeed
&&
OutputLinkMtu
==
other
.
OutputLinkMtu
;
}
public
override
sealed
bool
Equals
(
IcmpLayer
other
)
{
return
base
.
Equals
(
other
)
&&
Equals
(
other
as
IcmpTracerouteLayer
);
}
}
}
\ No newline at end of file
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