diff mbox series

[iproute2,2/2] man: tc-ematch.8: documented canid() ematch rule

Message ID 1573755756-26556-3-git-send-email-mrv@mojatatu.com
State Accepted
Delegated to: stephen hemminger
Headers show
Series Updates to tc-ematch.8 man page | expand

Commit Message

Roman Mashak Nov. 14, 2019, 6:22 p.m. UTC
tc-ematch.8 was missing the description of canid() ematch rule, so document
this.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 man/man8/tc-ematch.8 | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

diff --git a/man/man8/tc-ematch.8 b/man/man8/tc-ematch.8
index 4c97044a03db..3df870f03ef4 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