Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 42) sorted by relevance

12

/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/
Ddebug.h42 #define MBEDTLS_SSL_DEBUG_MSG( level, args ) \ argument
43 mbedtls_debug_print_msg( ssl, level, __FILE__, __LINE__, \
46 #define MBEDTLS_SSL_DEBUG_RET( level, text, ret ) \ argument
47 mbedtls_debug_print_ret( ssl, level, __FILE__, __LINE__, text, ret )
49 #define MBEDTLS_SSL_DEBUG_BUF( level, text, buf, len ) \ argument
50 mbedtls_debug_print_buf( ssl, level, __FILE__, __LINE__, text, buf, len )
53 #define MBEDTLS_SSL_DEBUG_MPI( level, text, X ) \ argument
54 mbedtls_debug_print_mpi( ssl, level, __FILE__, __LINE__, text, X )
58 #define MBEDTLS_SSL_DEBUG_ECP( level, text, X ) \ argument
59 mbedtls_debug_print_ecp( ssl, level, __FILE__, __LINE__, text, X )
[all …]
/net-tools-3.5.0/mbedtls-2.4.0/library/
Ddebug.c63 static inline void debug_send_line( const mbedtls_ssl_context *ssl, int level, in debug_send_line() argument
75 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, idstr ); in debug_send_line()
77 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, str ); in debug_send_line()
81 void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg() argument
89 if( NULL == ssl || NULL == ssl->conf || NULL == ssl->conf->f_dbg || level > debug_threshold ) in mbedtls_debug_print_msg()
115 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_msg()
118 void mbedtls_debug_print_ret( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret() argument
124 if( ssl->conf == NULL || ssl->conf->f_dbg == NULL || level > debug_threshold ) in mbedtls_debug_print_ret()
138 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_ret()
141 void mbedtls_debug_print_buf( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf() argument
[all …]
/net-tools-3.5.0/tinydtls-0.8.2/
Ddebug.c63 dtls_set_log_level(log_t level) { in dtls_set_log_level() argument
64 maxlog = level; in dtls_set_log_level()
208 dsrv_log(log_t level, char *format, ...) { in dsrv_log() argument
213 if (maxlog < level) in dsrv_log()
216 log_fd = level <= DTLS_LOG_CRIT ? stderr : stdout; in dsrv_log()
221 if (level <= DTLS_LOG_DEBUG) in dsrv_log()
222 fprintf(log_fd, "%s ", loglevels[level]); in dsrv_log()
231 dsrv_log(log_t level, char *format, ...) { in dsrv_log() argument
235 if (maxlog < level) in dsrv_log()
241 if (level <= DTLS_LOG_DEBUG) in dsrv_log()
[all …]
Ddebug.h81 void dtls_set_log_level(log_t level);
88 void dsrv_log(log_t level, char *format, ...);
90 #define dsrv_log(level, format, ...) PRINTF(format, ##__VA_ARGS__) argument
99 void dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, …
101 void dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr);
110 static inline void dtls_set_log_level(log_t level) in dtls_set_log_level() argument
113 static inline void dsrv_log(log_t level, char *format, ...) in dsrv_log() argument
123 dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int e… in dtls_dsrv_hexdump_log() argument
127 dtls_dsrv_log_addr(log_t level, const char *name, const struct __session_t *addr) in dtls_dsrv_log_addr() argument
Dalert.h70 dtls_alert_create(dtls_alert_level_t level, dtls_alert_t desc) in dtls_alert_create() argument
72 return -((level << 8) | desc); in dtls_alert_create()
/net-tools-3.5.0/libcoap/include/coap/
Ddebug.h41 void coap_set_log_level(coap_log_t level);
54 void coap_log_impl(coap_log_t level, const char *format, ...);
/net-tools-3.5.0/libcoap/src/
Ddebug.c65 coap_set_log_level(coap_log_t level) { in coap_set_log_level() argument
66 maxlog = level; in coap_set_log_level()
483 coap_log_impl(coap_log_t level, const char *format, ...) { in coap_log_impl() argument
489 if (maxlog < level) in coap_log_impl()
492 log_fd = level <= LOG_CRIT ? COAP_ERR_FD : COAP_DEBUG_FD; in coap_log_impl()
498 if (level <= LOG_DEBUG) in coap_log_impl()
499 fprintf(log_fd, "%s ", loglevels[level]); in coap_log_impl()
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_debug.function10 void string_debug(void *data, int level, const char *file, int line, const char *str)
14 ((void) level);
50 void debug_print_msg_threshold( int threshold, int level, char *file, int line,
67 mbedtls_debug_print_msg( &ssl, level, file, line,
Dtest_suite_debug.data1 Debug print msg (threshold 1, level 0)
4 Debug print msg (threshold 1, level 1)
7 Debug print msg (threshold 1, level 2)
10 Debug print msg (threshold 0, level 1)
13 Debug print msg (threshold 0, level 5)
/net-tools-3.5.0/mbedtls-2.4.0/scripts/data_files/
Derror.fmt63 // High level error codes
78 // If high level code is present, make a concatenation between both
94 // Low level error codes
/net-tools-3.5.0/tinydtls-0.8.2/tests/
Ddtls-server.c245 dtls_alert_level_t level, unsigned short code) in handle_event() argument
247 printf("event: level %d code %d\n", level, code); in handle_event()
248 if (level > 0) { in handle_event()
250 } else if (level == 0) { in handle_event()
Ddtls-client.c309 dtls_alert_level_t level, unsigned short code) in handle_event() argument
311 printf("event: level %d code %d\n", level, code); in handle_event()
312 if (level > 0) { in handle_event()
314 } else if (level == 0) { in handle_event()
/net-tools-3.5.0/libcoap/examples/
Dcoap-rd.txt.in37 The verbosity level to use (default: 3, maximum is 9).
59 verbosity level is set to '5'.
Dcoap-server.txt.in37 The verbosity level to use (default: 3, maximum is 9).
59 verbosity level is set to '5'.
/net-tools-3.5.0/mbedtls-2.4.0/programs/ssl/
Dssl_client1.c71 static void my_debug( void *ctx, int level, in my_debug() argument
75 ((void) level); in my_debug()
Ddtls_client.c73 static void my_debug( void *ctx, int level, in my_debug() argument
77 ((void) level); in my_debug()
Dssl_server.c83 static void my_debug( void *ctx, int level, in my_debug() argument
87 ((void) level); in my_debug()
Dssl_fork_server.c86 static void my_debug( void *ctx, int level, in my_debug() argument
90 ((void) level); in my_debug()
Ddtls_server.c82 static void my_debug( void *ctx, int level, in my_debug() argument
86 ((void) level); in my_debug()
Dssl_pthread_server.c91 static void my_mutexed_debug( void *ctx, int level, in my_mutexed_debug() argument
99 ((void) level); in my_mutexed_debug()
/net-tools-3.5.0/
Dstunnel_sc.conf6 ; Debugging level (7 is greatest debugging output)
Dstunnel.conf7 ; Debugging level (7 is greatest debugging output)
Ddtls-client.c322 static void my_debug(void *ctx, int level, in my_debug() argument
326 ((void) level); in my_debug()
Ddtls-server.c93 static void my_debug(void *ctx, int level, in my_debug() argument
97 ((void) level); in my_debug()
/net-tools-3.5.0/mbedtls-2.4.0/programs/x509/
Dcert_app.c116 static void my_debug( void *ctx, int level, in my_debug() argument
120 ((void) level); in my_debug()

12