SmartNA-X 1G/10G Modular | Command Line Reference |
171
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
216, width:8, match:6 (0x6)
"t-IPv4-protocol-UDP"
216, width:8, match:17 (0x11)
"t-IPv6-protocol-GRE"
192, width:8, match:47 (0x2F)
"t-IPv6-protocol-TCP"
192, width:8, match:6 (0x6)
"t-IPv6-protocol-UDP"
192, width:8, match:17 (0x11)
"t-TCP-Data-Offset=5-IPv4"
400, width:4, match:5 (0x5)
"t-TCP-Data-Offset=5-IPv6"
560, width:4, match:5 (0x5)
"t-Version-IPv6"
144, width:4, match:6 (0x6)
"tt-Ethertype -ARP"
160, width:16, match:2054 (0x806)
"tt-Ethertype -IPv4"
160, width:16, match:2048 (0x800)
"tt-Ethertype -IPv6"
160, width:16, match:34525 (0x86DD)
"tt-IPv4-IHL=5"
176, width:8, match:69 (0x45)
"tt-IPv4-protocol-GRE"
248, width:8, match:47 (0x2F)
"tt-IPv4-protocol-TCP"
248, width:8, match:6 (0x6)
"tt-IPv4-protocol-UDP"
248, width:8, match:17 (0x11)
"tt-IPv6-protocol-GRE"
224, width:8, match:47 (0x2F)
"tt-IPv6-protocol-TCP"
224, width:8, match:6 (0x6)
"tt-IPv6-protocol-UDP"
224, width:8, match:17 (0x11)
"tt-TCP-Data-Offset=5-IPv4"
432, width:4, match:5 (0x5)
"tt-TCP-Data-Offset=5-IPv6"
592, width:4, match:5 (0x5)
"tt-Version-IPv6"
176, width:4, match:6 (0x6)
set packetprocessor transform match
Use the
set packetprocessor transform match
command to create a custom match within the first 120 bytes of a packet.
The matching bits can be either 0, 1 or don't care (X). All bits are assumed to be X unless they have been specified in a
match field. Multiple match fields can be defined.
Match bits have a 1:1 correspondence with the bits of a packet. Bits are counted in network order from zero starting from
the first transmitted/received bit of the MAC destination address in the Ethernet header, and ignoring the preamble. Within
the field, the start bit is the first in network order, and takes the most significant bit of the value.
In addition to these numeric matches, the system also supports pre-configured 'named matches'. See
on page 172 and the appendix
Packet Processor Preset Matches
Syntax
set packetprocessor transform
transform-name
match
start-bit
width
value
Parameters
transform-name
The name of the packet processor Transform to add the match to.