IP::protocol

Description

Returns the IP protocol value. This command replaces the BIG-IP 4.X variable ip_protocol. For a list of the IP protocol numbers, see /etc/protocols or the IANA protocol number list

Syntax

IP::protocol

IP::protocol

  • Returns the IP protocol value.

Examples

when CLIENT_ACCEPTED {
  if { [IP::protocol] == 6 } {
     pool tcp_pool
  } else {
     pool slow_pool
 }
}