Zqosd – Znyx Networks bh5700 User Manual
Page 120

for a u16 match. In many cases, there is a field name that can be used for the match, eliminating
the need to specify the offset.
U match selectors
Field Match
Equivalent
ip src a.b.c.d/n
u32
ip dst a.b.c.d/n
u32
ip tos
u8
ip dsfield
u8
ip protocol
u8
ip precedence
u8
ip dport
u16
ip sport
u16
ip icmp_type
u8
ip icmp_code
u8
udp src
u16
udp dst
u16
tcp src
u16
tcp dst
u16
icmp type
u8
icmp code
u8
Table 7.3: U Match Selectors
Note that specifying a tcp, udp, or icmp field does not automatically include a match for the
appropriate IP protocol. To insure that only the desired packets are filtered, include a match for
IP protocol as well as the port or type. For example:
u32 match ip protocol 6 0xff match tcp dst 8 0xffff
Or
u32 match ip protocol 17 FF match ip sport 20 0xffff
zqosd
Thus far, tc has been used without zqosd. It is not sufficient to install software rules on the
Ethernet Switch Blade User's Guide
release 3.2.2j
page 120