2.2.16 FW_ICMP_TYPE_CODE

This data type defines ICMP (internet control message protocol with protocol numbers assigned in [IANA-PROTO-NUM]) message types and codes. It specifies an ICMP type and either its specific code or all codes for that type.

 typedef struct _tag_FW_ICMP_TYPE_CODE {
   unsigned char bType;
   [range(0, 256)] unsigned short wCode;
 } FW_ICMP_TYPE_CODE,
  *PFW_ICMP_TYPE_CODE;

bType: This field specifies the ICMP type.

wCode: This field specifies the ICMP code.

The wCode field MUST contain values between 0x0000 and 0x0100. When wCode contains 0x100, it expresses any ICMP code belonging to the corresponding ICMP type. When wCode contains values in the range 0 to 0x00FF, it expresses a specific ICMP code.

All valid ICMP type and code combinations are valid, even those not currently assigned for a specific use.