ADC Advanced Policy Expressions

PACKET_T

Designates an expresion that refers to a network packet.

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

CONNID

Returns the connection ID of current network packet

Returns: num_at

CS_VSERVER

Returns CS vserver

Returns: vserver_t

DSTIP

Returns the destination IP of the current IPv4 packet.

Returns: ip_address_at

DSTIPV6

Returns the destination IP of the current IPv6 packet.

Returns: ipv6_address_at

DSTPORT

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

Returns: num_at

IDLETIME

Returns connection idle time

Returns: num_at

INTF

Extracts the interface ID of the interface through which the current packet entered the Application

Switch, and returns that ID.

Returns: interface_t

IP

Equivalent to SRCIP() || DSTIP()

Returns: ip_address_pair_t

IPV6

Equivalent to SRCIPv6() || DSTIPv6()

Returns: ipv6_address_pair_t

LB_VSERVER

Returns LB vserver

Returns: vserver_t

PORT

equivalent to SRCPORT() || DSTPORT()

Returns: port_pair_t

PPEID

Extracts the ppeid or core ID of the current packet

Returns: num_at

SERVICE_TYPE

Returns connection service type

Returns: service_type_e

SRCIP

Returns the source IP of the current IPv4 packet.

Returns: ip_address_at

SRCIPV6

Returns the source IP of the current IPv6 packet.

Returns: ipv6_address_at

SRCPORT

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

Returns: num_at

SVCNAME

Returns the service name

Returns: text_t

TCPSTATE

Returns TCP connection state

Returns: tcp_state_e

TRAFFIC_DOMAIN_ID

Returns Traffic Domain ID of the current packet

Returns: num_at

VLANID

Returns the ID of the VLAN through which the current packet entered

the Application Switch as a number.

Returns: num_at

VXLANID

Returns the VNID of the VXLAN through which the current packet entered

the Application Switch as a number.

Returns: num_at

PACKET_T

In this article