:orphan: .. index:: pair: group; TAP interface configuration .. _doxid-group__tapi__conf__tap: TAP interface configuration =========================== .. toctree:: :hidden: Overview ~~~~~~~~ Definition of TAPI to configure TAP interface. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block // global functions :ref:`te_errno` :ref:`tapi_cfg_tap_add`(const char* ta, const char* ifname); :ref:`te_errno` :ref:`tapi_cfg_tap_del`(const char* ta, const char* ifname); .. _details-group__tapi__conf__tap: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Definition of TAPI to configure TAP interface. Global Functions ---------------- .. index:: pair: function; tapi_cfg_tap_add .. _doxid-group__tapi__conf__tap_1ga0539fd7eabd625d2d63e6190b6d19660: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno` tapi_cfg_tap_add(const char* ta, const char* ifname) Add TAP interface. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - ta - Test Agent. * - ifname - Interface name. .. rubric:: Returns: Status code .. index:: pair: function; tapi_cfg_tap_del .. _doxid-group__tapi__conf__tap_1gab3c0612af39cc980cb4428965c4ff348: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno` tapi_cfg_tap_del(const char* ta, const char* ifname) Delete TAP interface. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - ta - Test Agent. * - ifname - Interface name. .. rubric:: Returns: Status code