Lines Matching +full:4 +full:- +full:level

3  * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
19 /* Debugging function - conditional printf and hex dump. Driver wrappers can
55 * wpa_debug_printf_timestamp - Print timestamp for debug output
64 * wpa_printf - conditional printf
65 * @level: priority level (MSG_*) of the message
74 void wpa_printf(int level, const char *fmt, ...)
78 * wpa_hexdump - conditional hex dump
79 * @level: priority level (MSG_*) of the message
88 void wpa_hexdump(int level, const char *title, const void *buf, size_t len);
90 static inline void wpa_hexdump_buf(int level, const char *title, in wpa_hexdump_buf() argument
93 wpa_hexdump(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf()
98 * wpa_hexdump_key - conditional hex dump, hide keys
99 * @level: priority level (MSG_*) of the message
110 void wpa_hexdump_key(int level, const char *title, const void *buf, size_t len);
112 static inline void wpa_hexdump_buf_key(int level, const char *title, in wpa_hexdump_buf_key() argument
115 wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf_key()
120 * wpa_hexdump_ascii - conditional hex dump
121 * @level: priority level (MSG_*) of the message
132 void wpa_hexdump_ascii(int level, const char *title, const void *buf,
136 * wpa_hexdump_ascii_key - conditional hex dump, hide keys
137 * @level: priority level (MSG_*) of the message
149 void wpa_hexdump_ascii_key(int level, const char *title, const void *buf,
174 * wpa_msg - Conditional printf for default target and ctrl_iface monitors
177 * @level: priority level (MSG_*) of the message
187 void wpa_msg(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
190 * wpa_msg_ctrl - Conditional printf for ctrl_iface monitors
193 * @level: priority level (MSG_*) of the message
201 void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...)
202 PRINTF_FORMAT(3, 4);
205 * wpa_msg_global - Global printf for ctrl_iface monitors
208 * @level: priority level (MSG_*) of the message
217 void wpa_msg_global(void *ctx, int level, const char *fmt, ...)
218 PRINTF_FORMAT(3, 4);
221 * wpa_msg_global_ctrl - Conditional global printf for ctrl_iface monitors
224 * @level: priority level (MSG_*) of the message
232 void wpa_msg_global_ctrl(void *ctx, int level, const char *fmt, ...)
233 PRINTF_FORMAT(3, 4);
236 * wpa_msg_no_global - Conditional printf for ctrl_iface monitors
239 * @level: priority level (MSG_*) of the message
246 void wpa_msg_no_global(void *ctx, int level, const char *fmt, ...)
247 PRINTF_FORMAT(3, 4);
250 * wpa_msg_global_only - Conditional printf for ctrl_iface monitors
253 * @level: priority level (MSG_*) of the message
260 void wpa_msg_global_only(void *ctx, int level, const char *fmt, ...)
261 PRINTF_FORMAT(3, 4);
270 typedef void (*wpa_msg_cb_func)(void *ctx, int level, enum wpa_msg_type type,
274 * wpa_msg_register_cb - Register callback function for wpa_msg() messages
288 void hostapd_logger(void *ctx, const u8 *addr, unsigned int module, int level,
292 unsigned int module, int level,
296 * hostapd_logger_register_cb - Register callback function for hostapd_logger()
314 HOSTAPD_LEVEL_WARNING = 4
368 const char * debug_level_str(int level);