IPv4 Packet Classification Encodings
1: IPv4 Type of Service Range and Mask
The values of the field specify the matching parameters for the IPv4 TOS byte range and mask. An IP packet with
IPv4 TOS byte value "ip-tos" matches this parameter if tos-low <= (ip-tos AND tos-mask) <= tos-high.
If this field is omitted, then comparison of the IP packet TOS byte for this entry is irrelevant.
Type Length Value
[22/23/60].9.1 3 tos-low, tos-high, tos-mask
2: IP Protocol
The value of the field specifies the matching value for the IP Protocol field [RFC 1700].
If this parameter is omitted, then comparison of the IP header Protocol field for this entry is irrelevant.
There are two special IP Protocol field values:"256" matches traffic with any IP Protocol value, and "257" matches
both TCP and UDP traffic. An entry that includes an IP Protocol field value greater than 257 MUST be invalidated
for comparisons (i.e., no traffic can match this entry).
Type Length Value
[22/23/60].9.2 2 prot1, prot2
Valid range: 0 - 257
The value of the IP protocol
1 Internet Control Message Protocol (ICMP)