Webserver+3d print
dhcp_debug.h File Reference
Data logging functions for debugging purpose (DHCP) More...
Go to the source code of this file.
Functions | |
error_t | dhcpDumpMessage (const DhcpMessage *message, size_t length) |
Dump DHCP message for debugging purpose. | |
error_t | dhcpDumpMessageType (const DhcpOption *option) |
Dump Message Type option. | |
error_t | dhcpDumpParamRequestList (const DhcpOption *option) |
Dump Parameter Request List option. | |
error_t | dhcpDumpBoolean (const DhcpOption *option) |
Dump an option containing a boolean. | |
error_t | dhcpDumpInt8 (const DhcpOption *option) |
Dump an option containing a 8-bit integer. | |
error_t | dhcpDumpInt16 (const DhcpOption *option) |
Dump an option containing a 16-bit integer. | |
error_t | dhcpDumpInt32 (const DhcpOption *option) |
Dump an option containing a 32-bit integer. | |
error_t | dhcpDumpString (const DhcpOption *option) |
Dump an option containing a string. | |
error_t | dhcpDumpIpv4Addr (const DhcpOption *option) |
Dump an option containing an IPv4 address. | |
error_t | dhcpDumpIpv4AddrList (const DhcpOption *option) |
Dump an option containing a list of IPv4 addresses. | |
error_t | dhcpDumpRawData (const DhcpOption *option) |
Dump an option containing raw data. |
Detailed Description
Data logging functions for debugging purpose (DHCP)
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 dhcp_debug.h.
Function Documentation
error_t dhcpDumpBoolean | ( | const DhcpOption * | option ) |
Dump an option containing a boolean.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 405 of file dhcp_debug.c.
error_t dhcpDumpInt16 | ( | const DhcpOption * | option ) |
Dump an option containing a 16-bit integer.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 445 of file dhcp_debug.c.
error_t dhcpDumpInt32 | ( | const DhcpOption * | option ) |
Dump an option containing a 32-bit integer.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 469 of file dhcp_debug.c.
error_t dhcpDumpInt8 | ( | const DhcpOption * | option ) |
Dump an option containing a 8-bit integer.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 425 of file dhcp_debug.c.
error_t dhcpDumpIpv4Addr | ( | const DhcpOption * | option ) |
Dump an option containing an IPv4 address.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 516 of file dhcp_debug.c.
error_t dhcpDumpIpv4AddrList | ( | const DhcpOption * | option ) |
Dump an option containing a list of IPv4 addresses.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 540 of file dhcp_debug.c.
error_t dhcpDumpMessage | ( | const DhcpMessage * | message, |
size_t | length | ||
) |
Dump DHCP message for debugging purpose.
- Parameters:
-
[in] message Pointer to the DHCP message to dump [in] length Length of the message
- Returns:
- Error code
Definition at line 156 of file dhcp_debug.c.
error_t dhcpDumpMessageType | ( | const DhcpOption * | option ) |
Dump Message Type option.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 350 of file dhcp_debug.c.
error_t dhcpDumpParamRequestList | ( | const DhcpOption * | option ) |
Dump Parameter Request List option.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 377 of file dhcp_debug.c.
error_t dhcpDumpRawData | ( | const DhcpOption * | option ) |
Dump an option containing raw data.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 569 of file dhcp_debug.c.
error_t dhcpDumpString | ( | const DhcpOption * | option ) |
Dump an option containing a string.
- Parameters:
-
[in] option Pointer to the option to dump
- Returns:
- Error code
Definition at line 493 of file dhcp_debug.c.
Generated on Tue Jul 12 2022 17:10:19 by
