:orphan: .. index:: pair: group; Auxiliary library for interacting with test environment. .. _doxid-group__tapi__net__env: Auxiliary library for interacting with test environment. ======================================================== .. toctree:: :hidden: Overview ~~~~~~~~ Definition of helpers for interacting with test environment. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block // global functions const tapi_net_iface_head* :ref:`tapi_net_env_get_iface_stack`(:ref:`tapi_env`* env, :ref:`tapi_net_ctx`* net_ctx, const char* base_iface); .. _details-group__tapi__net__env: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Definition of helpers for interacting with test environment. Global Functions ---------------- .. index:: pair: function; tapi_net_env_get_iface_stack .. _doxid-group__tapi__net__env_1ga0d72651050bf1ed1b23632e7de55f877: .. ref-code-block:: cpp :class: doxyrest-title-code-block const tapi_net_iface_head* tapi_net_env_get_iface_stack(:ref:`tapi_env`* env, :ref:`tapi_net_ctx`* net_ctx, const char* base_iface) Get the full interface stack for a given base interface. Name of the base interface must match name of the interface in environment configuration parameter. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - env - Test environment. * - net_ctx - Context with logical interfaces. * - base_iface - Name of the base interface. .. rubric:: Returns: Pointer to the head of the interface stack or ``NULL`` when missing.