From patchwork Wed Aug 8 05:30:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arushi Singhal X-Patchwork-Id: 954785 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netfilter-devel-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lk0fSFUz"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41lg2j5D3dz9s4V for ; Wed, 8 Aug 2018 15:30:37 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbeHHHsa (ORCPT ); Wed, 8 Aug 2018 03:48:30 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:35418 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbeHHHs3 (ORCPT ); Wed, 8 Aug 2018 03:48:29 -0400 Received: by mail-pl0-f65.google.com with SMTP id w3-v6so513427plq.2 for ; Tue, 07 Aug 2018 22:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=wKN50OurqXzXLNrIyM+3hSMvaONAfpLwC5br8hMmn10=; b=lk0fSFUz5/UM7B84S5tRF+qDud824mTvlXJiAjCMZkoWtnLIPiwu7aw61vf/xnZh79 z4L/E8iDr9RTBOumP8iPxzOgPDrE/wF7ReO3on8ZtwApDejq/EjW/9Hi31ve/Eehte4K oZ05NKOxfdKXISdbrCHwM5ojXKjEc3M8DHhUv/6jkEkH3/fyf5J4MhDUbilGZvPCainQ rCBVls7gfMT7aBiL2XBkqZjpohaJGitujFsAA1c/gLuoxM8UrtkOyDwL08WNFW4F5J89 SxDl9JrqS7hm+8eXXWnHskSyLbcPvL4s6Umjn4EQZfTne7OkMz+6Da7iRi3hxydHa2uF cR6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=wKN50OurqXzXLNrIyM+3hSMvaONAfpLwC5br8hMmn10=; b=FGsVV6vwz36Nc6iNM8VliC+d/FUufRSVRWj5tLn+ulyNUBPXLMrAadbR4AJBvfSevF eOYWvjjxUgO7DEPlP8z9F714sBLQVUjkXY0Qq55zre/hG2kBeqGbsUvZQQK/cSOeAHFp Oj41DoxQTb6D0vbV85SFpXMk8xqHhefaMo0xqwbpxg359BwkVuspKWb8mySiK9tWVvph q8iA7JCSRba68wcyodRlFwJhe1UlvLZU97UYNxTHj95txvl+jTPjo2CzdsaCt+I1IDw+ g7nfaqyKFt0VX2JgX7wZuqx5Rs4aHEB5PvNLfoU82wiLefQD14/ql19wRCNZBU2Phbwa VMBA== X-Gm-Message-State: AOUpUlEIM28K7RxJ6cyx8XcMerpywTT7+RI+jPYkQ2bhWawCCFkmz13L hx+BjFgAhRI1xTucTuQkoJ4xcUlIz8k= X-Google-Smtp-Source: AA+uWPzxQazIBHUHzbBwcfkMJeu8zTNzvvdw18UIPnnRBhgb5gWSzGu6+T0BRMLzjJXqmMRaLyKvIQ== X-Received: by 2002:a17:902:7803:: with SMTP id p3-v6mr1145395pll.119.1533706235461; Tue, 07 Aug 2018 22:30:35 -0700 (PDT) Received: from arushi-HP-Laptop-15-bs1xx ([14.139.82.6]) by smtp.gmail.com with ESMTPSA id 22-v6sm6287119pfl.126.2018.08.07.22.30.34 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Aug 2018 22:30:35 -0700 (PDT) Date: Wed, 8 Aug 2018 11:00:36 +0530 From: Arushi Singhal To: pablo@netfilter.org Cc: netfilter-devel@vger.kernel.org Subject: [PATCH] nft: doc: Fixed all the typos in asciidoc Message-ID: <20180808053035.GA7469@arushi-HP-Laptop-15-bs1xx> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Correct all the typo mistakes done while converting man page source to asciidoc. Signed-off-by: Arushi Singhal --- doc/data-types.txt | 2 +- doc/nft.txt | 7 +++---- doc/primary-expression.txt | 2 +- doc/statements.txt | 6 +++--- 4 files changed, 8 insertions(+), 9 deletions(-) mode change 100644 => 100755 doc/nft.txt diff --git a/doc/data-types.txt b/doc/data-types.txt index 8bbdd57..39c65ac 100644 --- a/doc/data-types.txt +++ b/doc/data-types.txt @@ -362,7 +362,7 @@ ICMPVX CODE TYPE |================== |Name | Keyword | Size | Base type |ICMPvX Code | -icmpv6_type | +icmpx_code | 8 bit | integer |=================== diff --git a/doc/nft.txt b/doc/nft.txt old mode 100644 new mode 100755 index 0f824a5..c1e807c --- a/doc/nft.txt +++ b/doc/nft.txt @@ -61,8 +61,8 @@ For a full summary of options, run *nft --help*. *-e*:: *--echo*:: - When inserting items into the ruleset using add, insert or replace commands, print notifications - just like nft monitor. + When inserting items into the ruleset using *add*, *insert* or *replace* commands, print notifications + just like *nft monitor*. *-I*:: *--includepath directory*:: @@ -72,7 +72,7 @@ For a full summary of options, run *nft --help*. *-f*:: *--file 'filename'*:: Read input from 'filename'. If 'filename' is -, read from stdin. + - nft scripts must start #!/usr/sbin/nft -f + nft scripts must start *#!/usr/sbin/nft -f* *-i*:: *--interactive*:: @@ -571,7 +571,6 @@ numbers etc. or data gathered from the packet during ruleset evaluation. Expressions can be combined using binary, logical, relational and other types of expressions to form complex or relational (match) expressions. They are also used as arguments to certain types of operations, like NAT, packet marking etc. -+ Each expression has a data type, which determines the size, parsing and representation of symbolic values and type compatibility with other expressions. diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt index 13adfe3..3cea23e 100644 --- a/doc/primary-expression.txt +++ b/doc/primary-expression.txt @@ -130,7 +130,7 @@ raw prerouting meta secpath exists accept SOCKET EXPRESSION ~~~~~~~~~~~~~~~~~ [verse] -socket {transparent} +socket \{transparent\} Socket expression can be used to search for an existing open TCP/UDP socket and its attributes that can be associated with a packet. It looks for an established diff --git a/doc/statements.txt b/doc/statements.txt index 8a54a6b..19ed197 100644 --- a/doc/statements.txt +++ b/doc/statements.txt @@ -62,8 +62,8 @@ tcp flags syn tcp option maxseg size set rt mtu LOG STATEMENT ~~~~~~~~~~~~~ [verse] -log [prefix quoted_string] [level syslog-level] [flags log-flags] -log group nflog_group [prefix quoted_string] [queue-threshold value] [snaplen size] +*log* [prefix 'quoted_string'] [level 'syslog-level'] [flags 'log-flags'] +*log* group 'nflog_group' [prefix 'quoted_string'] [queue-threshold 'value'] [snaplen 'size'] The log statement enables logging of matching packets. When this statement is used from a rule, the Linux kernel will print some information on all matching @@ -165,7 +165,7 @@ COUNTER STATEMENT A counter statement sets the hit count of packets along with the number of bytes. [verse] -counter [ packets 'number' bytes 'number' ] +*counter* [ packets 'number' bytes 'number' ] CONNTRACK STATEMENT ~~~~~~~~~~~~~~~~~~~