:orphan: .. index:: pair: struct; tapi_sfnt_pp_opt .. _doxid-structtapi__sfnt__pp__opt: struct tapi_sfnt_pp_opt ======================= .. toctree:: :hidden: Overview ~~~~~~~~ sfnt-pingping tool specific command line options :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct tapi_sfnt_pp_opt { // fields const struct sockaddr* :ref:`server`; uint8_t :ref:`proto`; sa_family_t :ref:`ipversion`; int :ref:`min_msg`; int :ref:`max_msg`; int :ref:`min_ms`; int :ref:`max_ms`; int :ref:`min_iter`; int :ref:`max_iter`; bool :ref:`spin`; :ref:`tapi_sfnt_pp_muxer` :ref:`muxer`; int :ref:`timeout_ms`; :ref:`te_vec`* :ref:`sizes`; }; .. _details-structtapi__sfnt__pp__opt: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ sfnt-pingping tool specific command line options Fields ------ .. index:: pair: variable; server .. _doxid-structtapi__sfnt__pp__opt_1a9df4491551b6b81027ff6d434291b89f: .. ref-code-block:: cpp :class: doxyrest-title-code-block const struct sockaddr* server Server host .. index:: pair: variable; proto .. _doxid-structtapi__sfnt__pp__opt_1abf9b8089b10fc8852343903cd14758cb: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t proto Transport protocol. IPPROTO_TCP or IPPROTO_UDP only. .. index:: pair: variable; ipversion .. _doxid-structtapi__sfnt__pp__opt_1a7bdd2b3270ab6624bbbabc6e81d9f3fc: .. ref-code-block:: cpp :class: doxyrest-title-code-block sa_family_t ipversion IPv4 or IPv6 .. index:: pair: variable; min_msg .. _doxid-structtapi__sfnt__pp__opt_1a5d29c6d863ba14821e4bf05bab0d1d97: .. ref-code-block:: cpp :class: doxyrest-title-code-block int min_msg Minimuim message size May be ``-1`` (default sfnt-pingpong value will be set). .. index:: pair: variable; max_msg .. _doxid-structtapi__sfnt__pp__opt_1a2995c4fe06370c58f253f637abc78a45: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_msg Maximum message size May be ``-1`` (default sfnt-pingpong value will be set). .. index:: pair: variable; min_ms .. _doxid-structtapi__sfnt__pp__opt_1a0a16d8a6493cdcd002a8887bb2bc7670: .. ref-code-block:: cpp :class: doxyrest-title-code-block int min_ms Minimum time per message size (ms) May be ``-1`` (default value is ``1000``). .. index:: pair: variable; max_ms .. _doxid-structtapi__sfnt__pp__opt_1a1db186b0f301532a27ece74012fa3803: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_ms Maximum time per message size (ms) May be ``-1`` (default value is ``3000``). .. index:: pair: variable; min_iter .. _doxid-structtapi__sfnt__pp__opt_1a08288ac769131ed10af614792ed377ea: .. ref-code-block:: cpp :class: doxyrest-title-code-block int min_iter Minimum iterations for result. May be ``-1`` (default value is ``1000``). .. index:: pair: variable; max_iter .. _doxid-structtapi__sfnt__pp__opt_1a3d7d132dd00a09b0d532b2e7c4cbc03e: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_iter Maximum iterations for result. May be ``-1`` (default value is ``1000000``). .. index:: pair: variable; spin .. _doxid-structtapi__sfnt__pp__opt_1af50ce166ea96b5c5c725473cdff14ded: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool spin Making non-blocking calls. ``spin`` is ``true`` means ``timeout`` equal to zero. .. index:: pair: variable; muxer .. _doxid-structtapi__sfnt__pp__opt_1a5ecbb75d91b8c570ad51d2a73e80138a: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_sfnt_pp_muxer` muxer Type of iomux call. poll, epoll, select, none. .. index:: pair: variable; timeout_ms .. _doxid-structtapi__sfnt__pp__opt_1a003b9ee1c6e356ec8da822c15d4a064e: .. ref-code-block:: cpp :class: doxyrest-title-code-block int timeout_ms Socket SEND/RECV timeout (ms) This value pass to iomux functions as a timeout param. May be ``-1`` (default value is ``-1``). .. index:: pair: variable; sizes .. _doxid-structtapi__sfnt__pp__opt_1ab99dc3ad635f7bcf7d066e18cddf1672: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_vec`* sizes Message sizes vector. Message sizes for which performance is measured.