ROHC compression/decompression library
|
ROHC macros for traces. More...
#include <stdio.h>
#include "config.h"
Go to the source code of this file.
Defines | |
#define | rohc_debugf(level, format,...) |
Print information depending on the debug level and prefixed with the function name. | |
#define | rohc_debugf_(level, format,...) |
Print information depending on the debug level. |
ROHC macros for traces.
#define rohc_debugf | ( | level, | |
format, | |||
... | |||
) |
rohc_debugf_(level, "%s[%s:%d %s()] " format, \ (level == 0 ? "[ERROR] " : ""), \ __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__)
Print information depending on the debug level and prefixed with the function name.
Referenced by act_on_crc_failure(), add_elt(), build_uncompressed_ip4(), build_uncompressed_ip6(), c_ack_remove(), c_add_ts(), c_add_wlsb(), c_algo_list_compress(), c_alloc_contexts(), c_assessment_size(), c_bytesSdvl(), c_create_context(), c_create_current_list(), c_create_sc(), c_create_wlsb(), c_deliver_feedback(), c_find_context(), c_generic_create(), c_generic_encode(), c_generic_feedback(), c_get_k_wlsb(), c_get_profile_from_packet(), c_init_header_info(), c_ip_check_context(), c_piggyback_feedback(), c_rtp_check_context(), c_rtp_create(), c_rtp_encode(), c_udp_check_context(), c_udp_create(), c_udp_encode(), c_udp_lite_check_context(), c_udp_lite_create(), c_udp_lite_encode(), c_uncompressed_create(), c_uncompressed_feedback(), change_mode(), change_state(), changed_dynamic_both_hdr(), changed_dynamic_one_hdr(), changed_static_one_hdr(), check_ip6_index(), check_ip_identification(), code_cid_values(), code_EXT0_packet(), code_EXT1_packet(), code_EXT2_packet(), code_EXT3_packet(), code_ipv4_dynamic_part(), code_ipv4_static_part(), code_ipv6_dynamic_part(), code_ipv6_static_part(), code_IR_DYN_packet(), code_IR_packet(), code_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), code_UO_packet_tail(), code_UOR2_bytes(), code_UOR2_ID_bytes(), code_UOR2_RTP_bytes(), code_UOR2_TS_bytes(), context_array_decrease(), context_array_increase(), context_create(), copy_generic_changes(), create_ip6_item(), create_ipv6_item(), create_list(), d_add_ts(), d_add_ts_stride(), d_algo_list_decompress(), d_change_mode_feedback(), d_decode_dynamic_ip4(), d_decode_dynamic_ip6(), d_decode_header(), d_decode_static_ip(), d_decode_static_ip4(), d_decode_static_ip6(), d_decode_ts(), d_generic_create(), d_generic_decode(), d_generic_decode_ir(), d_generic_detect_ir_size(), d_optimistic_feedback(), d_rtp_create(), d_sdvalue_size(), d_udp_create(), d_udp_lite_create(), d_udp_lite_decode(), decide_algo(), decide_extension(), decide_packet(), decide_SO_packet(), decode_extension0(), decode_extension1(), decode_extension2(), decode_extension3(), decode_inner_header_flags(), decode_irdyn(), decode_outer_header_flags(), decode_type_0(), decode_type_1(), decode_type_2(), decode_type_3(), decode_uo0(), decode_uo1(), decode_uor2(), destroy_list(), do_decode_uo0_and_uo1(), do_decode_uor2(), empty_list(), encode_ip6_extension(), encode_list(), encode_type_0(), encode_type_2(), encode_type_3(), f_append_cid(), f_feedback2(), f_wrap_feedback(), find_profile(), get_bit_index(), header_fields(), header_flags(), insert_elt(), ip_create(), ip_decode_dynamic_ip(), ip_get_inner_packet(), periodic_down_transition(), print_wlsb_stats(), push_back(), rohc_activate_profile(), rohc_alloc_compressor(), rohc_alloc_decompressor(), rohc_compress(), rohc_decompress(), rohc_feedback_flush(), rohc_free_compressor(), rohc_ir_dyn_packet_crc_ok(), rohc_ir_packet_crc_ok(), rtp_build_uncompressed_rtp(), rtp_changed_rtp_dynamic(), rtp_code_dynamic_rtp_part(), rtp_code_static_rtp_part(), rtp_decide_state(), rtp_decode_dynamic_rtp(), rtp_decode_static_rtp(), rtp_decode_uo_tail_rtp(), rtp_detect_ir_dyn_size(), rtp_detect_ir_size(), rtp_header_flags_and_fields(), ts_deducted(), type_is_present(), udp_build_uncompressed_udp(), udp_code_dynamic_udp_part(), udp_code_static_udp_part(), udp_code_UO_packet_tail(), udp_decide_state(), udp_decode_dynamic_udp(), udp_decode_static_udp(), udp_decode_uo_tail_udp(), udp_lite_build_cce_packet(), udp_lite_build_uncompressed_udp(), udp_lite_code_dynamic_udp_lite_part(), udp_lite_code_UO_packet_tail(), udp_lite_decode_dynamic_udp(), udp_lite_decode_uo_tail_udp(), udp_lite_init_cc(), udp_lite_send_cce_packet(), uncompressed_code_IR_packet(), uncompressed_code_normal_packet(), uncompressed_code_packet(), uncompressed_decode(), uncompressed_detect_ir_dyn_size(), update_inter_packet(), update_ts_sc(), and update_variables().
#define rohc_debugf_ | ( | level, | |
format, | |||
... | |||
) |
do { \ if((level) <= ROHC_DEBUG_LEVEL) \ printf(format, ##__VA_ARGS__); \ } while(0)
Print information depending on the debug level.
Referenced by code_cid_values(), decode_uo0(), decode_uo1(), and decode_uor2().