ADC Advanced Policy Expressions

IP_RES_PROTOCOL_T


IP Protocol Response.

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

  • DST

    Returns the destination IP of the current packet.

Returns: ip_address_at

  • HEADER_CHECKSUM

    Returns the Header Checksum of the current IP Packet.

Returns: num_at

  • HEADER_LENGTH

    Returns the Header length of the current IP Packet in units of 32 bits.

Returns: num_at

  • IDENTIFICATION

    Returns the current IP Packet Identification field value.

Returns: num_at

  • OPTIONS

    Returns the entire set of current IP packet options as a single text chunk, which can also be used to access the options individually.

Returns: ip_options_t

  • PAYLOAD

    Returns the current IP Packet Payload.

Returns: text_t

  • PROTOCOL

    Returns the Protocol of the current packet.

Returns: ip_protocol_type_t

  • SRC

    Returns the source IP of the current packet.

Returns: ip_address_at

  • TOS

    If the current packet is IPv4, then it returns the TOS field value. If the current packet is IPv6 then it returns the Traffic Class field value.

Returns: ip_tos_t

  • TTL

    If the current packet is IPv4, then it returns the TTL field value. If the current packet is IPv6 then it returns the Hop Limit field value.

Returns: num_at

  • VERSION

    Returns the Version of the current IP Packet.

Returns: num_at

IP_RES_PROTOCOL_T

In this article