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
b6c901d3
Commit
b6c901d3
authored
Jan 30, 2015
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 warning left.
Rename MtuProble to MaximumTransmissionUnitProbe.
parent
8ecb4902
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
WiresharkDatagramComparerIpV4.cs
...src/PcapDotNet.Core.Test/WiresharkDatagramComparerIpV4.cs
+1
-1
RandomIpV4Extensions.cs
.../src/PcapDotNet.Packets.TestUtils/RandomIpV4Extensions.cs
+1
-1
IpV4OptionType.cs
PcapDotNet/src/PcapDotNet.Packets/IpV4/IpV4OptionType.cs
+1
-1
No files found.
PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerIpV4.cs
View file @
b6c901d3
...
@@ -587,7 +587,7 @@ namespace PcapDotNet.Core.Test
...
@@ -587,7 +587,7 @@ namespace PcapDotNet.Core.Test
}
}
break
;
break
;
case
IpV4OptionType
.
M
tu
Probe
:
case
IpV4OptionType
.
M
aximumTransmissionUnit
Probe
:
// TODO: Support MTU Proble.
// TODO: Support MTU Proble.
Assert
.
IsTrue
(
field
.
Show
().
StartsWith
(
"MTU Probe ("
+
option
.
Length
+
" bytes): "
));
Assert
.
IsTrue
(
field
.
Show
().
StartsWith
(
"MTU Probe ("
+
option
.
Length
+
" bytes): "
));
break
;
break
;
...
...
PcapDotNet/src/PcapDotNet.Packets.TestUtils/RandomIpV4Extensions.cs
View file @
b6c901d3
...
@@ -76,7 +76,7 @@ namespace PcapDotNet.Packets.TestUtils
...
@@ -76,7 +76,7 @@ namespace PcapDotNet.Packets.TestUtils
return
random
.
NextIpV4OptionUnknown
(
maximumOptionLength
);
return
random
.
NextIpV4OptionUnknown
(
maximumOptionLength
);
// TODO: Support MtuProbe.
// TODO: Support MtuProbe.
List
<
IpV4OptionType
>
impossibleOptionTypes
=
new
List
<
IpV4OptionType
>
{
IpV4OptionType
.
M
tu
Probe
};
List
<
IpV4OptionType
>
impossibleOptionTypes
=
new
List
<
IpV4OptionType
>
{
IpV4OptionType
.
M
aximumTransmissionUnit
Probe
};
if
(
maximumOptionLength
<
IpV4OptionBasicSecurity
.
OptionMinimumLength
)
if
(
maximumOptionLength
<
IpV4OptionBasicSecurity
.
OptionMinimumLength
)
impossibleOptionTypes
.
Add
(
IpV4OptionType
.
BasicSecurity
);
impossibleOptionTypes
.
Add
(
IpV4OptionType
.
BasicSecurity
);
if
(
maximumOptionLength
<
IpV4OptionRoute
.
OptionMinimumLength
)
if
(
maximumOptionLength
<
IpV4OptionRoute
.
OptionMinimumLength
)
...
...
PcapDotNet/src/PcapDotNet.Packets/IpV4/IpV4OptionType.cs
View file @
b6c901d3
...
@@ -67,7 +67,7 @@ namespace PcapDotNet.Packets.IpV4
...
@@ -67,7 +67,7 @@ namespace PcapDotNet.Packets.IpV4
/// RFCs 1063, 1191.
/// RFCs 1063, 1191.
/// Obsoleted.
/// Obsoleted.
/// </summary>
/// </summary>
M
tu
Probe
=
11
,
M
aximumTransmissionUnit
Probe
=
11
,
/// <summary>
/// <summary>
/// Quick Start (QS). RFC 4782.
/// Quick Start (QS). RFC 4782.
...
...
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