From cc08619c3c64c2a2705642cb89af177d6cb0fcfc Mon Sep 17 00:00:00 2001 From: Roman Mashak Date: Thu, 14 Nov 2019 13:22:36 -0500 Subject: [PATCH] man: tc-ematch.8: documented canid() ematch rule tc-ematch.8 was missing the description of canid() ematch rule, so document this. Signed-off-by: Roman Mashak Signed-off-by: Stephen Hemminger --- man/man8/tc-ematch.8 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man/man8/tc-ematch.8 b/man/man8/tc-ematch.8 index 4c97044a..3df870f0 100644 --- a/man/man8/tc-ematch.8 +++ b/man/man8/tc-ematch.8 @@ -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