VTun (Virtual Tunnel) daemon configuration
Overview
Definition of API to configure VTund. More…
// global functions te_errno tapi_cfg_vtund_create_tunnel(const char* ta_srv, const char* ta_clnt, const struct sockaddr* srv_addr, cfg_handle* ta_srv_if, cfg_handle* ta_clnt_if);
Detailed Documentation
Definition of API to configure VTund.
Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.
Global Functions
te_errno tapi_cfg_vtund_create_tunnel(const char* ta_srv, const char* ta_clnt, const struct sockaddr* srv_addr, cfg_handle* ta_srv_if, cfg_handle* ta_clnt_if)
Create a tunnel between two hosts.
Parameters:
ta_srv |
Test Agent with VTund server |
ta_clnt |
Test Agent with VTund client |
srv_addr |
Address and port for VTund server to listen to and for VTund client to connect to (if port is 0, default VTund port is used) |
ta_srv_if |
Configurator handle of the created interface on the Test Agent with VTund server |
ta_clnt_if |
Configurator handle of the created interface on the Test Agent with VTund client |
Returns:
Status code