Webserver+3d print
dns_debug.c File Reference
Data logging functions for debugging purpose (DNS) More...
Go to the source code of this file.
Functions | |
void | dnsDumpMessage (const DnsHeader *message, size_t length) |
Dump DNS message for debugging purpose. | |
size_t | dnsDumpQuestion (const DnsHeader *message, size_t length, size_t pos, char_t *buffer) |
Dump DNS question for debugging purpose. | |
size_t | dnsDumpResourceRecord (const DnsHeader *message, size_t length, size_t pos, char_t *buffer) |
Dump DNS resource record for debugging purpose. |
Detailed Description
Data logging functions for debugging purpose (DNS)
License
Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version:
- 1.7.6
Definition in file dns_debug.c.
Function Documentation
void dnsDumpMessage | ( | const DnsHeader * | message, |
size_t | length | ||
) |
Dump DNS message for debugging purpose.
- Parameters:
-
[in] message Pointer to the DNS message [in] length Length of the DNS message
Definition at line 50 of file dns_debug.c.
size_t dnsDumpQuestion | ( | const DnsHeader * | message, |
size_t | length, | ||
size_t | pos, | ||
char_t * | buffer | ||
) |
Dump DNS question for debugging purpose.
- Parameters:
-
[in] message Pointer to the DNS message [in] length Length of the DNS message [in] pos Offset of the question to decode [in] buffer Memory buffer to holds domain names
- Returns:
- Offset to the next question
Definition at line 168 of file dns_debug.c.
size_t dnsDumpResourceRecord | ( | const DnsHeader * | message, |
size_t | length, | ||
size_t | pos, | ||
char_t * | buffer | ||
) |
Dump DNS resource record for debugging purpose.
- Parameters:
-
[in] message Pointer to the DNS message [in] length Length of the DNS message [in] pos Offset of the question to decode [in] buffer Memory buffer to holds domain names
- Returns:
- Offset to the next question
Definition at line 221 of file dns_debug.c.
Generated on Tue Jul 12 2022 17:10:19 by
