Product Documentation

TCP_RES_PROTOCOL_T

Sep 12, 2016

TCP Protocol Response

This topic lists the expressions that are provided by this class.

BANDWIDTH

Returns the bandwidth of the TCP connection.

Returns: num_at

DSTPORT

Returns the ID of the current packet's destination port as a number.

Returns: num_at

MSS

Returns the maximum segment size (MSS) for the current connection as a number. Note: The MSS on the server side connection is derived using internal NetScaler logic. Typically users cannot attribute any meaning to the MSS value on the server connection and should not use this expression in policies.

Returns: num_at

OPTIONS

Returns the tcp options.

Returns: tcp_options_t

PAYLOAD (uint i)

Returns the specified portion of the TCP payload data as a string, beginning with the first character and continuing for the number of characters designated in uint.

Parameters:

i - Body length

Returns: text_t

SMOOTHRTT

Returns the smoothed round trip time of the TCP connection.

Returns: num_at

SRCPORT

Returns the ID of the current packet's source port as a number.

Returns: num_at