Auxiliary library for interacting with test environment.
Overview
Definition of helpers for interacting with test environment. More…
// global functions const tapi_net_iface_head* tapi_net_env_get_iface_stack(tapi_env* env, tapi_net_ctx* net_ctx, const char* base_iface);
Detailed Documentation
Definition of helpers for interacting with test environment.
Global Functions
const tapi_net_iface_head* tapi_net_env_get_iface_stack(tapi_env* env, 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.
Parameters:
env |
Test environment. |
net_ctx |
Context with logical interfaces. |
base_iface |
Name of the base interface. |
Returns:
Pointer to the head of the interface stack or NULL when missing.