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 <mrv@mojatatu.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Roman Mashak 2019-11-14 13:22:36 -05:00 committed by Stephen Hemminger
parent 5d5c394726
commit cc08619c3c
1 changed files with 13 additions and 0 deletions

View File

@ -109,6 +109,19 @@ test packet against xtables matches
The flag options are the same as those used by the xtable match used. 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 .SH CAVEATS
The ematch syntax uses '(' and ')' to group expressions. All braces need to be The ematch syntax uses '(' and ')' to group expressions. All braces need to be