![]() |
AnyConnect Secure Mobility Client
5.1.2.42
|
#include <VPNStats.h>
Public Member Functions | |
const std::list< RouteInfo * > & | getSecureRoutes () |
const std::list< RouteInfo * > & | getNonsecureRoutes () |
const std::list< ProtocolInfo * > & | getProtocolInfo () |
const std::list< FirewallInfo * > & | getFirewallInfo () |
const tstring & | getStatValue (tstring &label) |
const tstring & | getValue (tstring &label) |
![]() | |
VPNStatsBase (const VPNStatsBase &existing) | |
VPNStatsBase & | operator= (const VPNStatsBase &) |
const std::list< RouteInfo * > & | getSecureRoutes () |
uint16_t | getAppliedSecureRouteCount (bool bIPv6) |
const std::list< RouteInfo * > & | getNonsecureRoutes () |
uint16_t | getAppliedNonsecureRouteCount (bool bIPv6) |
const std::list< ProtocolInfo * > & | getProtocolInfo () |
const std::list< FirewallInfo * > & | getFirewallInfo () |
const tstring & | getStatValue (tstring &label) |
void | setConnectionStatistics (CStatisticsTlv *connectionStats) |
bool | ClearConnectionStatistics () |
bool | ClearVPNSessionStats () |
bool | hasSessionInfo () |
bool | IsFirewallInfoEqual (VPNStatsBase &stats) |
void | setDisconnected () |
bool | setStateInfo (CStateTlv *stateInfo, STATE &rSessionState, VPNCON_SUBSTATE &rSessionSubState, STATE &rMgmtTunSessionState, VPNCON_SUBSTATE &rMgmtTunSessionSubState, NETENV_STATE &rNetEnvState, NETCTRL_STATE &rNetCtrlState, NETWORK_TYPE &rNetType) |
void | setSessionInfo (CSessionInfoTlv *sessionInfo) |
void | setTNDInfo (CSessionInfoTlv &sessionInfo) |
void | setClientOperatingMode (uint32_t operatingMode) |
void | StreamStats (tostream &outStream) |
Static Public Member Functions | |
static tstring | getTranslatedLabel (tstring &label) |
![]() | |
static const tstring::value_type *const * | getVpnStatsStringTable () |
Additional Inherited Members | |
![]() | |
static const tstring::value_type *const | sm_pVpnStatsStringTable [] |
Use this class to retrieve statistics related to the tunnel and protocol being used.
The class has two uses: it provides a consistent localized label definition mechanism and it uses this label mechanism to do values lookups.
Labels are automatically localized at application startup. See the AnyConnect Release notes for additional information on localization.
To retrieve a value for one of the labels, use the method getStatValue(). For example, to get Time connected use: getStatValue(VPNStats::TimeConnected)
const std::list<FirewallInfo *>& VPNStats::getFirewallInfo | ( | ) |
Get a list of firewall Info objects. Method returns a list of FirewallInfo pointers
const std::list<RouteInfo *>& VPNStats::getNonsecureRoutes | ( | ) |
Get a list of Nonsecure Routes. Method returns a list of RouteInfo pointers
const std::list<ProtocolInfo *>& VPNStats::getProtocolInfo | ( | ) |
Get a list of protocol Info objects. Method returns a list of ProtocolInfo pointers
const std::list<RouteInfo *>& VPNStats::getSecureRoutes | ( | ) |
Get a list of Secure Routes. Method returns a list of RouteInfo pointers
Method used to retrieve statistics by name.
Return a translated stats label. As an example, passing VPNStats::State will return a translated label for State text.
NOTE: Do not use this translated label to retrieve stats values; it is meant only as a label translation mechanism.
Alias for getStatValue.
|
static |
Administrative Domain Name:
|
static |
< Trusted Network Detection. Values are "Enabled" or "Disabled" Always On. Values are "Enabled" or "Disabled"
|
static |
Bytes received from the remote network.
|
static |
Bytes sent to the remote network.
|
static |
Client IPv4 address.
|
static |
Client IPv6 address.
|
static |
Compressed bytes received from the remote network.
|
static |
Compressed bytes sent to the remote network.
|
static |
Compressed packets received from the remote network.
|
static |
Compressed packets sent to the remote network.
|
static |
Control bytes received from the remote gateway.
|
static |
Control bytes sent to the remote gateway.
|
static |
Control packets received from the remote gateway.
|
static |
Control packets sent to the remote gateway.
|
static |
DAP message received from gateway. Used for Quarantine mode, etc.
|
static |
Domain names dynamically excluded from tunneling
|
static |
Domain names dynamically added to tunnel
|
static |
Encrypted bytes received from the remote network.
|
static |
Encrypted bytes sent to the remote network.
|
static |
Encrypted packets received from the remote network.
|
static |
Encrypted packets sent to the remote network.
|
static |
FIPS mode (Federal security standard). Values are "Enabled" or "Disabled"
|
static |
Incoming skipped bytes.
|
static |
Incoming discarded bytes.
|
static |
MUS Host delivered from secure gateway.
|
static |
MUS Status: Enabled, Disabled.
|
static |
Network Status. Values include are: "No Networks Detected", "DNS Services Unavailable", "Web Authentication Required", "Proxy Authentication Required", "Access Restricted", "Access Unrestricted"
|
static |
Outgoing skipped bytes.
|
static |
Outgoing discarded bytes.
|
static |
Packets received from the remote network.
|
static |
Packets sent to the remote network.
|
static |
Active profile name.
|
static |
Proxy server IP address.
|
static |
Proxy server host name.
|
static |
Port used for communicating with proxy server.
|
static |
Remote gateway IP address.
|
static |
Host name of the remote gateway.
|
static |
Estimate of time left until VPN session is disconnected due to ASA configured timeout.
|
static |
Time hh:mm:ss the VPN tunnel has been active.
|
static |
Mode IPv4 traffic is being passed over the tunnel. Values are "Tunnel All Traffic", "Split Include", "Split Exclude", "Application Tunnel", "Drop All Traffic" or "Bypass All Traffic".
|
static |
Mode IPv6 traffic is being passed over the tunnel. Values are "Tunnel All Traffic", "Split Include", "Split Exclude", "Drop All Traffic" or "Bypass All Traffic".
|
static |
Used for Secure Mobility Solution. If the WSA is not reachable from the agent, it might be due to private side proxy configuration. In such a case report Unconfirmed to the UI