Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
08b21520
Commit
08b21520
authored
Feb 01, 2011
by
Jelte Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[trac496] changed some non-doxygen comments to doxygen
parent
06756779
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
src/bin/resolver/response_scrubber.h
src/bin/resolver/response_scrubber.h
+23
-23
No files found.
src/bin/resolver/response_scrubber.h
View file @
08b21520
...
...
@@ -164,37 +164,37 @@ public:
/// \brief Response Code for Address Check
enum
Category
{
SUCCESS
=
0
,
// Packet is OK
SUCCESS
=
0
,
//
/<
Packet is OK
// Error categories
ADDRESS
,
// Mismatching IP address
PORT
// Mismatching port
ADDRESS
,
//
/<
Mismatching IP address
PORT
//
/<
Mismatching port
};
// \brief Check IP Address
//
// Compares the address to which the query was sent and the port it was
// sent from with the address from which the query was received and the
// port it was sent to.
//
// This is only required of a UDP connection - it is assumed that data that
// data received on a TCP stream is received from the system to which the
// connection was made.
//
// \param to Endpoint representing the address to which the query was sent.
// \param from Endpoint from which the response was received.
//
/
\brief Check IP Address
//
/
//
/
Compares the address to which the query was sent and the port it was
//
/
sent from with the address from which the query was received and the
//
/
port it was sent to.
//
/
//
/
This is only required of a UDP connection - it is assumed that data that
//
/
data received on a TCP stream is received from the system to which the
//
/
connection was made.
//
/
//
/
\param to Endpoint representing the address to which the query was sent.
//
/
\param from Endpoint from which the response was received.
static
Category
addressPortCheck
(
const
asio
::
ip
::
udp
::
endpoint
&
to
,
const
asio
::
ip
::
udp
::
endpoint
&
from
);
// \brief Check QID
//
// Compares the QID in the sent message with the QID in the response.
//
// \param sent Message sent to the authoritative server
// \param received Message received from the authoritative server
//
// \return true if the QIDs match, false otherwise.
//
/
\brief Check QID
//
/
//
/
Compares the QID in the sent message with the QID in the response.
//
/
//
/
\param sent Message sent to the authoritative server
//
/
\param received Message received from the authoritative server
//
/
//
/
\return true if the QIDs match, false otherwise.
static
bool
qidCheck
(
const
isc
::
dns
::
Message
&
sent
,
const
isc
::
dns
::
Message
&
received
)
{
return
(
sent
.
getQid
()
==
received
.
getQid
());
...
...
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