]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man: tc-ematch.8: documented canid() ematch rule
authorRoman Mashak <mrv@mojatatu.com>
Thu, 14 Nov 2019 18:22:36 +0000 (13:22 -0500)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 17 Nov 2019 20:31:04 +0000 (12:31 -0800)
tc-ematch.8 was missing the description of canid() ematch rule, so document
this.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
man/man8/tc-ematch.8

index 4c97044a03dba764ffebc6c655075edc734a3ba8..3df870f03ef4b321a2809de1920b9200e49cf589 100644 (file)
@@ -109,6 +109,19 @@ test packet against xtables matches
 
 The flag options are the same as those used by the xtable match used.
 
+.SS canid
+ematch rule to match CAN frames
+
+.IR canid "( " IDLIST " )
+
+.IR IDLIST " :=  " IDSPEC [ IDLIST ]
+
+.IR IDSPEC " := { ’sff’ " CANID " | ’eff’ " CANID " }
+
+.IR CANID " := " ID [ ":MASK" ]
+
+.IR ID ", " MASK " := hexadecimal number (i.e. 0x123)
+
 .SH CAVEATS
 
 The ematch syntax uses '(' and ')' to group expressions. All braces need to be