/*--------------------------------------------------------------- * Copyright (c) 1999,2000,2001,2002,2003 * The Board of Trustees of the University of Illinois * All Rights Reserved. *--------------------------------------------------------------- * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software (Iperf) and associated * documentation files (the "Software"), to deal in the Software * without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, * sublicense, and/or sell copies of the Software, and to permit * persons to whom the Software is furnished to do * so, subject to the following conditions: * * * Redistributions of source code must retain the above * copyright notice, this list of conditions and * the following disclaimers. * * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimers in the documentation and/or other materials * provided with the distribution. * * * Neither the names of the University of Illinois, NCSA, * nor the names of its contributors may be used to endorse * or promote products derived from this Software without * specific prior written permission. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTIBUTORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ________________________________________________________________ * National Laboratory for Applied Network Research * National Center for Supercomputing Applications * University of Illinois at Urbana-Champaign * http://www.ncsa.uiuc.edu * ________________________________________________________________ * * Locale.h * by Ajay Tirumala * & Mark Gates * ------------------------------------------------------------------- * Strings and other stuff that is locale specific. * ------------------------------------------------------------------- */ #ifndef LOCALE_H #define LOCALE_H #ifdef __cplusplus extern "C" { #endif #define HEADING_FLAG(HEADING) __ ## HEADING ## _print_done #define HEADING_HDR(HEADING) HEADING ## _header #define HEADING_PRINT_COND(HEADING) \ do { \ if (!HEADING_FLAG(HEADING)) { \ printf("%s", HEADING_HDR(HEADING)); \ HEADING_FLAG(HEADING) = 1; \ } \ } while(0) /* ------------------------------------------------------------------- * usage * ------------------------------------------------------------------- */ extern const char usage_short[]; extern const char usage_long1[]; extern const char usage_long2[]; extern const char version[]; /* ------------------------------------------------------------------- * settings * ------------------------------------------------------------------- */ extern const char separator_line[]; extern const char server_port[]; extern const char client_port[]; extern const char client_report_epoch_start[]; extern const char client_report_epoch_start_current[]; extern const char server_pid_port[]; extern const char server_pid_portrange[]; extern const char client_pid_port[]; extern const char client_pid_port_dev[]; extern const char bind_address[]; extern const char bind_address_iface[]; extern const char bind_address_iface_taptun[]; extern const char multicast_ttl[]; extern const char join_multicast[]; extern const char join_multicast_sg[]; extern const char join_multicast_sg_dev[]; extern const char join_multicast_starg_dev[]; extern const char client_datagram_size[]; extern const char client_datagram_size_tx_sync[]; extern const char client_datagram_size_kalman[]; extern const char server_datagram_size[]; extern const char tcp_window_size[]; extern const char udp_buffer_size[]; extern const char window_default[]; extern const char wait_server_threads[]; extern const char client_isochronous[]; extern const char client_burstperiod[]; extern const char client_burstperiodcount[]; extern const char client_bounceback[]; extern const char client_bounceback_noqack[]; extern const char server_burstperiod[]; extern const char client_fq_pacing[]; /* ------------------------------------------------------------------- * Legacy reports * ------------------------------------------------------------------- */ extern const char report_bw_header[]; extern const char report_sumcnt_bw_header[]; extern const char report_bw_format[]; extern const char report_sum_bw_format[]; extern const char report_sumcnt_bw_format[]; extern const char report_bw_read_format[]; extern const char report_bw_jitter_loss_header[]; extern const char report_bw_jitter_loss_format[]; extern const char report_sum_bw_jitter_loss_format[]; extern const char report_sumcnt_bw_jitter_loss_header[]; extern const char report_sumcnt_bw_jitter_loss_format[]; /* ------------------------------------------------------------------- * Enhanced reports (per -e) * ------------------------------------------------------------------- */ extern const char client_write_size[]; extern const char server_read_size[]; extern const char report_bw_enhanced_format[]; extern const char report_write_enhanced_isoch_format[]; extern const char report_write_enhanced_isoch_header[]; extern const char report_write_enhanced_isoch_nocwnd_format[]; extern const char report_sum_bw_enhanced_format[]; extern const char report_bw_read_enhanced_header[]; extern const char report_bw_read_enhanced_netpwr_header[]; extern const char report_bw_read_enhanced_netpwr_format[]; extern const char report_bw_read_enhanced_format[]; extern const char report_sum_bw_read_enhanced_format[]; extern const char report_sumcnt_bw_read_enhanced_header[]; extern const char report_sumcnt_bw_read_enhanced_format[]; extern const char report_sumcnt_bw_read_triptime_header[]; extern const char report_sumcnt_bw_read_triptime_format[]; extern const char report_sumcnt_bw_pps_enhanced_header[]; extern const char report_sumcnt_bw_pps_enhanced_format[]; extern const char report_triptime_enhanced_format[]; extern const char report_bw_write_enhanced_header[]; extern const char report_bw_write_enhanced_header[]; extern const char report_sumcnt_write_enhanced_write_header[]; extern const char report_bw_write_enhanced_format[]; extern const char report_write_enhanced_write_header[]; extern const char report_write_enhanced_write_format[]; extern const char report_write_enhanced_nocwnd_write_format[]; extern const char report_bw_write_enhanced_nocwnd_format[]; extern const char report_sum_bw_write_enhanced_format[]; extern const char report_sumcnt_bw_write_enhanced_header[]; extern const char report_sumcnt_bw_write_enhanced_format[]; extern const char report_bw_pps_enhanced_header[]; extern const char report_bw_pps_enhanced_format[]; extern const char report_bw_pps_enhanced_isoch_header[]; extern const char report_bw_pps_enhanced_isoch_format[]; extern const char report_sum_bw_pps_enhanced_format[]; extern const char report_bw_jitter_loss_pps_header[]; extern const char report_bw_jitter_loss_pps_format[]; extern const char report_bw_jitter_loss_enhanced_header[]; extern const char report_bw_jitter_loss_enhanced_format[]; extern const char report_bw_jitter_loss_enhanced_isoch_header[]; extern const char report_bw_jitter_loss_enhanced_isoch_format[]; extern const char report_bw_jitter_loss_enhanced_triptime_header[]; extern const char report_bw_jitter_loss_enhanced_triptime_format[]; extern const char report_bw_jitter_loss_enhanced_isoch_triptime_header[]; extern const char report_bw_jitter_loss_enhanced_isoch_triptime_format[]; extern const char report_bw_jitter_loss_suppress_enhanced_format[]; extern const char report_sum_bw_jitter_loss_enhanced_format[]; extern const char report_sumcnt_bw_jitter_loss_enhanced_format[]; extern const char report_bw_sum_fullduplex_format[]; extern const char report_bw_sum_fullduplex_enhanced_format[]; extern const char report_frame_jitter_loss_enhanced_header[]; extern const char report_frame_jitter_loss_enhanced_format[]; extern const char report_frame_jitter_loss_suppress_enhanced_format[]; extern const char report_frame_tcp_enhanced_header[]; extern const char report_burst_read_tcp_header[]; extern const char report_burst_read_tcp_format[]; extern const char report_burst_read_tcp_final_format[]; extern const char report_burst_write_tcp_header[]; extern const char report_burst_write_tcp_format[]; extern const char report_burst_write_tcp_nocwnd_format[]; extern const char report_burst_write_tcp_final_format[]; extern const char report_udp_fullduplex_header[]; extern const char report_udp_fullduplex_format[]; extern const char report_udp_fullduplex_sum_format[]; extern const char report_udp_fullduplex_enhanced_format[]; extern const char report_sumcnt_udp_fullduplex_header[]; extern const char report_sumcnt_udp_fullduplex_format[]; extern const char report_client_bb_bw_header[]; extern const char report_client_bb_bw_format[]; extern const char report_client_bb_bw_triptime_format[]; extern const char report_bw_isoch_enhanced_netpwr_header[]; extern const char report_bw_isoch_enhanced_netpwr_format[]; extern const char report_sumcnt_udp_enhanced_header[]; extern const char report_sumcnt_udp_enhanced_format[]; extern const char report_sumcnt_udp_triptime_header[]; extern const char report_sumcnt_udp_triptime_format[]; /* ------------------------------------------------------------------- * Misc reports * ------------------------------------------------------------------- */ extern const char report_outoforder[]; extern const char report_sumcnt_outoforder[]; extern const char report_l2statistics[]; extern const char report_sum_outoforder[]; extern const char report_peer[]; extern const char report_peer_dev[]; extern const char report_peer_fail[]; extern const char report_mss_unsupported[]; extern const char report_mss[]; extern const char report_default_mss[]; extern const char report_datagrams[]; extern const char report_sumcnt_datagrams[]; extern const char report_sum_datagrams[]; extern const char server_reporting[]; extern const char reportCSV_peer[]; extern const char reportCSV_bw_format[]; extern const char reportCSV_bw_read_enhanced_format[]; extern const char reportCSV_bw_write_enhanced_format[]; extern const char reportCSV_bw_jitter_loss_format[]; extern const char reportCSV_bw_jitter_loss_pps_format[]; /* ------------------------------------------------------------------- * warnings * ------------------------------------------------------------------- */ extern const char warn_window_requested[]; extern const char warn_window_small[]; extern const char warn_delay_large[]; extern const char warn_no_pathmtu[]; extern const char warn_no_ack[]; extern const char warn_ack_failed[]; extern const char warn_fileopen_failed[]; extern const char unable_to_change_win[]; extern const char opt_estimate[]; extern const char report_interval_small[]; extern const char warn_invalid_server_option[]; extern const char warn_invalid_client_option[]; extern const char warn_invalid_compatibility_option[]; extern const char warn_implied_udp[]; extern const char warn_implied_compatibility[]; extern const char warn_buffer_too_small[]; extern const char warn_invalid_single_threaded[]; extern const char warn_invalid_report_style[]; extern const char warn_invalid_report[]; extern const char warn_server_old[]; extern const char warn_test_exchange_failed[]; extern const char warn_len_too_small_peer_exchange[]; extern const char warn_compat_and_peer_exchange[]; extern const char warn_seqno_wrap[]; extern const char warn_start_before_now[]; extern const char error_starttime_exceeds[]; extern const char error_delaytime_exceeds[]; #ifdef __cplusplus } /* end extern "C" */ #endif #endif // LOCALE_H