ROUTE::rttvar¶
Description¶
The scaled average variance of the smoothed round-trip time estimates
for all TCP connections routed to the given destination.
ROUTE::rttvar has a value of 0 when there
are no statistics available.
Note: the value is in 1/32’s of a millisecond. (Divide the returned
value by 32 to get the actual round trip time in milliseconds.) Note:
When used with the fastL4 profile, rtt from client/server needs to be
enabled and the client and server need to be using TCP timestamps.
Syntax¶
ROUTE::rttvar <destination IP address>
ROUTE::rttvar <destination IP address> <gateway IP address>
ROUTE::rttvar <destination IP address>¶
- The scaled average variance in smoothed round-trip times for connections to the given destination IP address.
ROUTE::rttvar <destination IP address> <gateway IP address>¶
- The scaled average variance in smoothed round-trip times for connections to the given destination IP address reached through the given gateway.
Examples¶
when CLIENT_ACCEPTED {
log local0. "rttvar is: [ROUTE::rttvar [IP::remote_addr]]"
}
when CLIENT_ACCEPTED {
set Gateway 10.3.1.11
#
# assume that $Gateway is the gateway address for [IP::remote_addr]
#
log local0. "rttvar is: [ROUTE::rttvar [IP::remote_addr] $Gateway]"
}