Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Statistics Functions

Functions for accessing components of vpn_stats_t. More...

Functions

DLL_EXPORT_NAME const struct
vpn_routes *CDECLAPI 
vpn_stats_get_local_lan_routes (vpn_stats_t stats)
 returns list of local networks excluded from the VPN tunnel
DLL_EXPORT_NAME const struct
vpn_routes *CDECLAPI 
vpn_stats_get_secure_routes (vpn_stats_t stats)
 returns list of networks included in the VPN tunnel
DLL_EXPORT_NAME const struct
vpn_tunnel_info *CDECLAPI 
vpn_stats_get_tunnel_info (vpn_stats_t stats)
 returns basic information about the VPN tunnel
DLL_EXPORT_NAME const struct
vpn_counters *CDECLAPI 
vpn_stats_get_counters (vpn_stats_t stats)
 returns traffic information about the VPN tunnel
DLL_EXPORT_NAME const char
*CDECLAPI 
vpn_stats_get_profile_name (vpn_stats_t stats)
 returns the name of the profile used for the current VPN tunnel

Detailed Description

Functions for accessing components of vpn_stats_t.

These functions should only be used inside of your vpn_stats_cb. The memory returned by these functions is only valid in your vpn_stats_cb function. If need to use the data returned outside of this function, you should make a copy of the data.


Function Documentation

DLL_EXPORT_NAME const struct vpn_counters* CDECLAPI vpn_stats_get_counters vpn_stats_t  stats  ) 
 

returns traffic information about the VPN tunnel

DLL_EXPORT_NAME const struct vpn_routes* CDECLAPI vpn_stats_get_local_lan_routes vpn_stats_t  stats  ) 
 

returns list of local networks excluded from the VPN tunnel

DLL_EXPORT_NAME const char* CDECLAPI vpn_stats_get_profile_name vpn_stats_t  stats  ) 
 

returns the name of the profile used for the current VPN tunnel

DLL_EXPORT_NAME const struct vpn_routes* CDECLAPI vpn_stats_get_secure_routes vpn_stats_t  stats  ) 
 

returns list of networks included in the VPN tunnel

DLL_EXPORT_NAME const struct vpn_tunnel_info* CDECLAPI vpn_stats_get_tunnel_info vpn_stats_t  stats  ) 
 

returns basic information about the VPN tunnel


Generated on Fri Sep 1 14:26:03 2006 for Raptor by  doxygen 1.4.4