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
306d0252
Commit
306d0252
authored
Nov 19, 2011
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DNS
parent
e3dbedb2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
RandomDnsExtensions.cs
...t/src/PcapDotNet.Packets.TestUtils/RandomDnsExtensions.cs
+1
-0
DnsResourceDataAnything.cs
...Net/src/PcapDotNet.Packets/Dns/DnsResourceDataAnything.cs
+1
-0
DnsType.cs
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsType.cs
+2
-0
No files found.
PcapDotNet/src/PcapDotNet.Packets.TestUtils/RandomDnsExtensions.cs
View file @
306d0252
...
@@ -208,6 +208,7 @@ namespace PcapDotNet.Packets.TestUtils
...
@@ -208,6 +208,7 @@ namespace PcapDotNet.Packets.TestUtils
case
DnsType
.
EId
:
case
DnsType
.
EId
:
case
DnsType
.
NimLoc
:
case
DnsType
.
NimLoc
:
case
DnsType
.
Dhcid
:
return
new
DnsResourceDataAnything
(
random
.
NextDataSegment
(
random
.
Next
(
32
)));
return
new
DnsResourceDataAnything
(
random
.
NextDataSegment
(
random
.
Next
(
32
)));
case
DnsType
.
Srv
:
case
DnsType
.
Srv
:
...
...
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsResourceDataAnything.cs
View file @
306d0252
...
@@ -5,6 +5,7 @@ namespace PcapDotNet.Packets.Dns
...
@@ -5,6 +5,7 @@ namespace PcapDotNet.Packets.Dns
[
DnsTypeRegistration
(
Type
=
DnsType
.
Null
)]
[
DnsTypeRegistration
(
Type
=
DnsType
.
Null
)]
[
DnsTypeRegistration
(
Type
=
DnsType
.
EId
)]
[
DnsTypeRegistration
(
Type
=
DnsType
.
EId
)]
[
DnsTypeRegistration
(
Type
=
DnsType
.
NimLoc
)]
[
DnsTypeRegistration
(
Type
=
DnsType
.
NimLoc
)]
[
DnsTypeRegistration
(
Type
=
DnsType
.
Dhcid
)]
public
sealed
class
DnsResourceDataAnything
:
DnsResourceDataSimple
,
IEquatable
<
DnsResourceDataAnything
>
public
sealed
class
DnsResourceDataAnything
:
DnsResourceDataSimple
,
IEquatable
<
DnsResourceDataAnything
>
{
{
public
DnsResourceDataAnything
()
public
DnsResourceDataAnything
()
...
...
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsType.cs
View file @
306d0252
...
@@ -350,6 +350,8 @@
...
@@ -350,6 +350,8 @@
/// <summary>
/// <summary>
/// RFC 4701.
/// RFC 4701.
/// DHCID.
/// DHCID.
/// Dynamic Host Configuration Information.
/// Payload type: DnsResourceDataAnything.
/// </summary>
/// </summary>
Dhcid
=
49
,
Dhcid
=
49
,
...
...
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