Wireshark  4.3.0
The Wireshark network protocol analyzer
dot11decrypt_debug.h
Go to the documentation of this file.
1 
9 #ifndef _DOT11DECRYPT_DEBUG_H
10 #define _DOT11DECRYPT_DEBUG_H
11 
12 #define WS_LOG_DOMAIN "dot11decrypt"
13 
14 #include <wsutil/wslog.h>
15 
16 /******************************************************************************/
17 /* Debug section: internal function to print debug information */
18 /* */
19 #ifdef WS_DEBUG
20 
21 #define DEBUG_DUMP(name, ptr, size, level) \
22  ws_log_buffer_full(WS_LOG_DOMAIN, level, __FILE__, __LINE__, G_STRFUNC, ptr, size, 72, name);
23 
24 #else /* defined WS_DEBUG */
25 
26 #define DEBUG_DUMP(name, ptr, size, level)
27 
28 #endif /* ?defined WS_DEBUG */
29 
30 
31 #endif /* ?defined _DOT11DECRYPT_DEBUG_H */