ADC Advanced Policy Expressions

TCP_REQ_PROTOCOL_T


TCP Protocol Request

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

  • BANDWIDTH

    Returns the bandwidth of the TCP connection.

Returns: num_at

  • CS_VSERVER

    Returns the CS vserver serving the current request.

Returns: vserver_t

  • DSTPORT

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

Returns: num_at

  • LB_VSERVER

    Returns the LB vserver serving the current request.

Returns: vserver_t

  • MSS

    Returns the maximum segment size (MSS) for the current connection as a number.

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

  • REPEATER_OPTION

    Returns the branch repeater tcp option.

Returns: tcp_repeater_option_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

TCP_REQ_PROTOCOL_T

In this article