mikroSDK Reference Manual
dhcpv6_debug.h
Go to the documentation of this file.
1
31#ifndef _DHCPV6_DEBUG_H
32#define _DHCPV6_DEBUG_H
33
34//Dependencies
35#include "core/net.h"
37#include "debug.h"
38
39//C++ guard
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44//Check current trace level
45#if (DHCPV6_TRACE_LEVEL >= TRACE_LEVEL_DEBUG)
46 error_t dhcpv6DumpMessage(const void *message, size_t length);
47 error_t dhcpv6DumpOptions(const uint8_t *options, size_t length, uint_t level);
48 error_t dhcpv6DumpGenericOption(const Dhcpv6Option *option, uint_t level);
49 error_t dhcpv6DumpClientIdOption(const Dhcpv6Option *option, uint_t level);
50 error_t dhcpv6DumpServerIdOption(const Dhcpv6Option *option, uint_t level);
51 error_t dhcpv6DumpIaNaOption(const Dhcpv6Option *option, uint_t level);
52 error_t dhcpv6DumpIaTaOption(const Dhcpv6Option *option, uint_t level);
53 error_t dhcpv6DumpIaAddrOption(const Dhcpv6Option *option, uint_t level);
54 error_t dhcpv6DumpOroOption(const Dhcpv6Option *option, uint_t level);
55 error_t dhcpv6DumpPreferenceOption(const Dhcpv6Option *option, uint_t level);
56 error_t dhcpv6DumpElapsedTimeOption(const Dhcpv6Option *option, uint_t level);
57 error_t dhcpv6DumpRelayMessageOption(const Dhcpv6Option *option, uint_t level);
58 error_t dhcpv6DumpAuthOption(const Dhcpv6Option *option, uint_t level);
59 error_t dhcpv6DumpServerUnicastOption(const Dhcpv6Option *option, uint_t level);
60 error_t dhcpv6DumpStatusCodeOption(const Dhcpv6Option *option, uint_t level);
61 error_t dhcpv6DumpRapidCommitOption(const Dhcpv6Option *option, uint_t level);
62 error_t dhcpv6DumpUserClassOption(const Dhcpv6Option *option, uint_t level);
63 error_t dhcpv6DumpVendorClassOption(const Dhcpv6Option *option, uint_t level);
64 error_t dhcpv6DumpVendorSpecificInfoOption(const Dhcpv6Option *option, uint_t level);
65 error_t dhcpv6DumpInterfaceIdOption(const Dhcpv6Option *option, uint_t level);
66 error_t dhcpv6DumpReconfMessageOption(const Dhcpv6Option *option, uint_t level);
67 error_t dhcpv6DumpReconfAcceptOption(const Dhcpv6Option *option, uint_t level);
68 error_t dhcpv6DumpDnsServersOption(const Dhcpv6Option *option, uint_t level);
69 error_t dhcpv6DumpDomainListOption(const Dhcpv6Option *option, uint_t level);
70#else
71 #define dhcpv6DumpMessage(message, length)
72#endif
73
74//C++ guard
75#ifdef __cplusplus
76}
77#endif
78
79#endif
Definitions common to DHCPv6 client, server and relay agent.
error_t
Error codes.
Definition error.h:43
TCP/IP stack core.