Share via


2.2.2.16 ICMP Type - Code Rules

This grammar is used to identify ICMP protocol type and codes.

 ICMP-TYPE-CODE-VAL = TYPE ":" CODE
  
 TYPE = 1*3DIGIT
  
 CODE = 1*3DIGIT / "*"

TYPE: This grammar rule represents the bType field of the FW_ICMP_TYPE_CODE structure as defined in [MS-FASP] section 2.2.16. The grammar rule encodes a decimal value which MUST be less than or equal to 255.

CODE: This grammar rule represents the wCode field of the FW_ICMP_TYPE_CODE structure as defined in [MS-FASP] section 2.2.16. When the grammar rule encodes a decimal value, such value MUST be less than or equal to 255. When the grammar rule encodes a "*" token, then the meaning is the same as a value of 0x100 in the wCode field.

ICMP-TYPE-CODE-VAL: This rule represents a FW_ICMP_TYPE_CODE structure as defined in [MS-FASP] section 2.2.16. The structure MUST comply with all requirements defined in that section.