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
14e2149e
Commit
14e2149e
authored
May 18, 2013
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IPv6
parent
6e912488
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1404 additions
and
65 deletions
+1404
-65
IpV6ExtensionHeaderFragmentData.cs
...capDotNet.Packets/IpV6/IpV6ExtensionHeaderFragmentData.cs
+1375
-64
IpV6Options.cs
PcapDotNet/src/PcapDotNet.Packets/IpV6/IpV6Options.cs
+29
-1
No files found.
PcapDotNet/src/PcapDotNet.Packets/IpV6/IpV6ExtensionHeaderFragmentData.cs
View file @
14e2149e
This diff is collapsed.
Click to expand it.
PcapDotNet/src/PcapDotNet.Packets/IpV6/IpV6Options.cs
View file @
14e2149e
...
...
@@ -94,7 +94,25 @@ namespace PcapDotNet.Packets.IpV6
public
class
IpV6MobilityOptions
:
Options
<
IpV6MobilityOption
>
{
public
IpV6MobilityOptions
(
DataSegment
data
)
/// <summary>
/// Creates options from a list of options.
/// </summary>
/// <param name="options">The list of options.</param>
public
IpV6MobilityOptions
(
IList
<
IpV6MobilityOption
>
options
)
:
base
(
options
,
true
,
null
)
{
}
/// <summary>
/// Creates options from a list of options.
/// </summary>
/// <param name="options">The list of options.</param>
public
IpV6MobilityOptions
(
params
IpV6MobilityOption
[]
options
)
:
this
((
IList
<
IpV6MobilityOption
>)
options
)
{
}
internal
IpV6MobilityOptions
(
DataSegment
data
)
:
this
(
Read
(
data
))
{
}
...
...
@@ -104,6 +122,14 @@ namespace PcapDotNet.Packets.IpV6
{
}
/// <summary>
/// No options instance.
/// </summary>
public
static
IpV6MobilityOptions
None
{
get
{
return
_none
;
}
}
public
static
Tuple
<
IList
<
IpV6MobilityOption
>,
bool
>
Read
(
DataSegment
data
)
{
int
offset
=
0
;
...
...
@@ -177,5 +203,7 @@ namespace PcapDotNet.Packets.IpV6
return
registraionAttributes
.
First
();
}
private
static
readonly
IpV6MobilityOptions
_none
=
new
IpV6MobilityOptions
();
}
}
\ 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