Introduced : BIG-IP_v11.3.0
A struct that describes a firewall rule ICMP type and code, as described in RFC 792. This is used for matching against ICMP types and codes. A value of 255 for either ICMP type or code is a wildcard value. Values should be 0 to 255.
Member Type Description
type long The ICMP type. For example, 3 is destination unreachable.
code long The ICMP code. For example, 4 is fragmentation needed but don’t fragment bit is set.

See Also


The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.