From patchwork Thu Nov 14 18:22:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Mashak X-Patchwork-Id: 1195022 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mojatatu-com.20150623.gappssmtp.com header.i=@mojatatu-com.20150623.gappssmtp.com header.b="fVF7/gph"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 47DVG96LJbz9sR5 for ; Fri, 15 Nov 2019 05:22:57 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727310AbfKNSW4 (ORCPT ); Thu, 14 Nov 2019 13:22:56 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:33558 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726557AbfKNSW4 (ORCPT ); Thu, 14 Nov 2019 13:22:56 -0500 Received: by mail-qt1-f193.google.com with SMTP id y39so7887869qty.0 for ; Thu, 14 Nov 2019 10:22:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DVcC9dDEn3WP219v26k+Bzlc9JahRrEvo2XCLhEHvZo=; b=fVF7/gphg40OA4iXphAPvX3CiQ0HI/9kZ0JkJcHNG7Fld2bDq6OMoAgz4hkNL/ChzC Z6SwAhyofxaHu9S1MbYGtUkXq+p8h2bdSsLEbdkN0EmzO0SWkGq9UQQ7YKTMH/JSXSCz RrcTY0yYvYIacJY59vTiJebKVoMsA6YdRxKeJqm8aFeCKFz7xiYAEJUNlp3pPKwQ2Tok /XGo4xMrIHyaRb2nEGHqy4sPsZtnKGb/FCrnGyn79nQyBl9YG8n+/Nw6Z1irYibj4e5Q nY9za14GGGimtKrJ4ETzUQBi0/NuKbf7oKWCx0x07u5REknfItvaGiCDiAMamCvBBVjm +iUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DVcC9dDEn3WP219v26k+Bzlc9JahRrEvo2XCLhEHvZo=; b=S+ssIP5Nmq4gQwb0cWAl/dnkLJ2p3bs92VwktQNxsxMd5D0wIBC9voELgE1vfCMu7N 3zjClXjEx6GywCnN0nmPN8EmCy97k75VhJiwDFL/lhFH+SNnc05svH7Mg6rWoHNzCi81 eszCRDiJv18DOIiWJMZBBmkbmXtIFgU0MzU7pPiIDxcMyyc4XC8tQPKBHvfSNokzpZvd OqmKrP+4GxK7Lm9c6lPoQDqGy51QAZ7G09aZXXg5/MOCMazAH/CMJFDD14n7LA4HLz+3 Evkx+IE1JXzgPYJ0k8i2d/yqyF1pvacYJyWGzwIO1HMEibDKXdv2AwfxBq72E9qlJe0v eurg== X-Gm-Message-State: APjAAAWPDvASrYTuPYPL6a3dEYpwVcKRII88oSA5dyax8FsEOq8aywXc 3kLXzZRAxN/2dyeF789e5yqWMw== X-Google-Smtp-Source: APXvYqyOTVqLwNYdmPOtcMRpIcMmOS9VnlK9HFbjk5b9MG+1bHvdUxgtGGMIWHgTVKVyx970J+mpTw== X-Received: by 2002:ac8:177c:: with SMTP id u57mr9144907qtk.216.1573755775829; Thu, 14 Nov 2019 10:22:55 -0800 (PST) Received: from mojatatu.com (69-196-152-194.dsl.teksavvy.com. [69.196.152.194]) by smtp.gmail.com with ESMTPSA id l186sm2829234qkc.58.2019.11.14.10.22.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Nov 2019 10:22:55 -0800 (PST) From: Roman Mashak To: stephen@networkplumber.org Cc: netdev@vger.kernel.org, kernel@mojatatu.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, Roman Mashak Subject: [PATCH iproute2 1/2] man: tc-ematch.8: update list of filter using extended matches Date: Thu, 14 Nov 2019 13:22:35 -0500 Message-Id: <1573755756-26556-2-git-send-email-mrv@mojatatu.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573755756-26556-1-git-send-email-mrv@mojatatu.com> References: <1573755756-26556-1-git-send-email-mrv@mojatatu.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Extended match rules are currently supported by basic, flow and cgroup filters, so update the man page. Signed-off-by: Roman Mashak --- man/man8/tc-ematch.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man8/tc-ematch.8 b/man/man8/tc-ematch.8 index 042f84045873..4c97044a03db 100644 --- a/man/man8/tc-ematch.8 +++ b/man/man8/tc-ematch.8 @@ -1,7 +1,7 @@ .TH ematch 8 "6 August 2012" iproute2 Linux . .SH NAME -ematch \- extended matches for use with "basic" or "flow" filters +ematch \- extended matches for use with "basic", "cgroup" or "flow" filters . .SH SYNOPSIS .sp From patchwork Thu Nov 14 18:22:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roman Mashak X-Patchwork-Id: 1195023 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mojatatu-com.20150623.gappssmtp.com header.i=@mojatatu-com.20150623.gappssmtp.com header.b="cNPGjxP2"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 47DVGF0dn5z9sR5 for ; Fri, 15 Nov 2019 05:23:01 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727325AbfKNSXA (ORCPT ); Thu, 14 Nov 2019 13:23:00 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:42844 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727298AbfKNSW7 (ORCPT ); Thu, 14 Nov 2019 13:22:59 -0500 Received: by mail-qt1-f196.google.com with SMTP id t20so7821348qtn.9 for ; Thu, 14 Nov 2019 10:22:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T1blah5xyd5sXVJiOFVdIEgTonYkgKnSegRTcg6KiOs=; b=cNPGjxP2cFVF2KkWZKvs2l/woGjLaRYn1VuDP63Gj0g2mYraCY0oFSGqNrGuFMcXKs 8J2PjB3w2bZtUMgVO4I/MbCsTYqb47Gi6a+jJrWwh1rn4vaYzo29wjnlceHCytr/z9/U rnth+YPTfRbHlgO4SG6cJq+QjnaKinsqmfsEhyto/BD0Sil37n1KgDwV2vmTlqnbEdxF 1oVZVoaSwZJMLPSfaSvTUsc5ENLoBMLkCrx0QXrgkF7hRs5Hf8q9D6CX0BMbdIp8d/DD yNSJPgKf42Y8D0le1VN2o/MEJP5+rOhATtSOUKwTLypEqS3HGK+QDA/yIRdCZMHU8j7N 6+XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T1blah5xyd5sXVJiOFVdIEgTonYkgKnSegRTcg6KiOs=; b=jcnDzSqPhygEpghn3DExSczz4k/Th3T29kkS30+rKDu9WQYaQoxbCWreTGUOGE9JrY JvTxhqSeEIyDXcOkHEEjuydSjT/gFMOaTKR5VFCxnJaZ3vlwUNfhpXnIpq6kwD7CJBeF qZ4mXgEKbKJ5lfE9/hT2JKJ81i6yEf9J2HLRYA19Nt+tbjE2GKiVkCtA1Zhz6Af/5YZ8 Zak8L0BSqIEW1Eutq9zhxwu0L6KfAl7qEm1af99DxLWe5tTsMgN6Jch+SJvXDfbj+VOC XEUXtop7fn0SvOpf+0adOvuV33smBk7ftOY/tpdv8HsABVpMgTUAqtGIGu0meR3PLb7D /qXg== X-Gm-Message-State: APjAAAXAQ3qNzMRXbyIwNhaX+7eQqsHN4Z+wsPH4NGCza0nF0m/dqPvP w1wHOliQhXtMv1hPcJZIdJM8Qw== X-Google-Smtp-Source: APXvYqySa6LvitqH0OAiOzrIPwWFoQFJJoznBhLd8pn0NBVWuLxkIWXDKEYfAtt82f0Xxszpl+0PIA== X-Received: by 2002:aed:35f4:: with SMTP id d49mr9604950qte.20.1573755778918; Thu, 14 Nov 2019 10:22:58 -0800 (PST) Received: from mojatatu.com (69-196-152-194.dsl.teksavvy.com. [69.196.152.194]) by smtp.gmail.com with ESMTPSA id l186sm2829234qkc.58.2019.11.14.10.22.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Nov 2019 10:22:58 -0800 (PST) From: Roman Mashak To: stephen@networkplumber.org Cc: netdev@vger.kernel.org, kernel@mojatatu.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, Roman Mashak Subject: [PATCH iproute2 2/2] man: tc-ematch.8: documented canid() ematch rule Date: Thu, 14 Nov 2019 13:22:36 -0500 Message-Id: <1573755756-26556-3-git-send-email-mrv@mojatatu.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573755756-26556-1-git-send-email-mrv@mojatatu.com> References: <1573755756-26556-1-git-send-email-mrv@mojatatu.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org tc-ematch.8 was missing the description of canid() ematch rule, so document this. Signed-off-by: Roman Mashak --- 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 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