14 #define GMP_TRACE_QUERY 0x00000001
15 #define GMP_TRACE_QUERY_DETAIL 0x00000002
16 #define GMP_TRACE_REPORT 0x00000004
17 #define GMP_TRACE_REPORT_DETAIL 0x00000008
18 #define GMP_TRACE_LEAVE 0x00000010
19 #define GMP_TRACE_LEAVE_DETAIL 0x00000020
20 #define GMP_TRACE_PACKET_BAD 0x00000040
21 #define GMP_TRACE_PACKET (GMP_TRACE_QUERY | GMP_TRACE_REPORT | \
23 #define GMP_TRACE_PACKET_DETAIL (GMP_TRACE_QUERY_DETAIL | \
24 GMP_TRACE_REPORT_DETAIL | \
25 GMP_TRACE_LEAVE_DETAIL)
35 return ((traceflags & tracebits) != 0);
43 #define gmp_trace(context, traceflags, flag, ...) \
44 if (gmp_trace_set((traceflags), (flag))) \
45 gmpx_trace((context), __VA_ARGS__)
static boolean gmp_trace_set(uint32_t traceflags, uint32_t tracebits)
const char * gmp_filter_mode_string(gmp_filter_mode mode)
const char * gmp_proto_string(gmp_proto proto)
const char * gmp_generic_version_string(gmp_version ver)
const char * gmp_report_type_string(gmp_report_rectype type)