TAP interface configuration
Overview
Definition of TAPI to configure TAP interface. More…
// global functions te_errno tapi_cfg_tap_add(const char* ta, const char* ifname); te_errno tapi_cfg_tap_del(const char* ta, const char* ifname);
Detailed Documentation
Definition of TAPI to configure TAP interface.
Global Functions
te_errno tapi_cfg_tap_add(const char* ta, const char* ifname)
Add TAP interface.
Parameters:
ta |
Test Agent. |
ifname |
Interface name. |
Returns:
Status code
te_errno tapi_cfg_tap_del(const char* ta, const char* ifname)
Delete TAP interface.
Parameters:
ta |
Test Agent. |
ifname |
Interface name. |
Returns:
Status code