From 7f966efb412b475e844853e780e29eef49bcad15 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Sat, 4 Aug 2018 18:54:04 +1000 Subject: doc: Miscellaneous spelling fixes These were found by ispell -p ./ispell_nft *.txt in nftables/doc. - ispell.nft: Added some new words - nft.txt: (nothing special) - payload-expression.txt: lengthbits and offsetbits were run together before the conversion to .txt, but the conversion lost the underlining - primary-expression.txt: ispell suggested rtclassid instead of rtlclassid, which agres with previous usage - stateful-objects.txt: (nothing special) - statements.txt: nonbase chains changed back to non-base chains as it used to be Signed-off-by: Duncan Roe Signed-off-by: Florian Westphal --- doc/ispell_nft | 11 ++++++++++- doc/nft.txt | 6 +++--- doc/payload-expression.txt | 2 +- doc/primary-expression.txt | 4 ++-- doc/stateful-objects.txt | 4 ++-- doc/statements.txt | 6 +++--- 6 files changed, 21 insertions(+), 12 deletions(-) diff --git a/doc/ispell_nft b/doc/ispell_nft index 2826e29a..60f3706c 100644 --- a/doc/ispell_nft +++ b/doc/ispell_nft @@ -28,6 +28,7 @@ connlabel conntrack cpi cpu +creativecommons crit ct ctnetlink @@ -37,6 +38,7 @@ daddr datatype dccp devgroup +DF dir dmesg dnat @@ -138,6 +140,7 @@ nftrace nh nNscae noop +ntp num obrname oif @@ -146,9 +149,12 @@ oifname oiftype op org +os +osf pablo parseable pcp +pf pkt pkttype plen @@ -165,7 +171,7 @@ rst rt rtclassid ruleset -SA +sa saddr sbin sctp @@ -178,6 +184,7 @@ ShareAlike sid skgid skuid +smux snaplen snat spi @@ -192,9 +199,11 @@ syslog tc tcp TCPMSS +tproxy tsecr tsval ttl +txt udp udplite uid diff --git a/doc/nft.txt b/doc/nft.txt index dcc3bf34..0f824a52 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -197,7 +197,7 @@ Packets send by the local system are processed by the output hook. BRIDGE ADDRESS FAMILY ~~~~~~~~~~~~~~~~~~~~~ -The bridge address family handles ethernet packets traversing bridge devices. +The bridge address family handles Ethernet packets traversing bridge devices. The list of supported hooks is identical to IPv4/IPv6/Inet address families above. @@ -471,7 +471,7 @@ string, decimal followed by unit. Units are: d, h, m, s elements contained by the set | set data type |size | -maximun number of elements in the set, mandatory if set is added to from the packet path (ruleset).| +maximum number of elements in the set, mandatory if set is added to from the packet path (ruleset).| unsigned integer (64 bit) |policy | set policy | @@ -512,7 +512,7 @@ string: constant, interval elements contained by the map | map data type |size | -maximun number of elements in the map | +maximum number of elements in the map | unsigned integer (64 bit) | policy | map policy | diff --git a/doc/payload-expression.txt b/doc/payload-expression.txt index 0aae8ebf..8fc1c917 100644 --- a/doc/payload-expression.txt +++ b/doc/payload-expression.txt @@ -420,7 +420,7 @@ RAW PAYLOAD EXPRESSION [verse] *@* [base,offset,length] -The raw payload expression instructs to load lengthbits starting at offsetbits. +The raw payload expression instructs to load 'length' bits starting at 'offset' bits. Bit 0 refers to the very first bit -- in the C programming language, this corresponds to the topmost bit, i.e. 0x80 in case of an octet. They are useful to match headers that do not have a human-readable template expression yet. Note diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt index e7a022a5..13adfe38 100644 --- a/doc/primary-expression.txt +++ b/doc/primary-expression.txt @@ -53,7 +53,7 @@ iface_index Output interface name| ifname |oiftype| -Outout interface hardware type| +Output interface hardware type| iface_type |skuid| UID associated with originating socket| @@ -61,7 +61,7 @@ uid |skgid| GID associated with originating socket| gid -|rtlclassid| +|rtclassid| Routing realm| realm |ibrname| diff --git a/doc/stateful-objects.txt b/doc/stateful-objects.txt index c2bc2968..83a25753 100644 --- a/doc/stateful-objects.txt +++ b/doc/stateful-objects.txt @@ -68,9 +68,9 @@ QUOTA |Keyword | Description | Type |quota | quota limit, used as the quota name | -Two arguments, unsigned interger (64 bit) and string: bytes, kbytes, mbytes. +Two arguments, unsigned integer (64 bit) and string: bytes, kbytes, mbytes. "over" and "until" go before these arguments |used | initial value of used quota | -Two arguments, unsigned interger (64 bit) and string: bytes, kbytes, mbytes +Two arguments, unsigned integer (64 bit) and string: bytes, kbytes, mbytes |================= diff --git a/doc/statements.txt b/doc/statements.txt index a0053e09..8a54a6b3 100644 --- a/doc/statements.txt +++ b/doc/statements.txt @@ -86,13 +86,13 @@ quoted string Syslog level of logging | string: emerg, alert, crit, err, warn [default], notice, info, debug |group| -NFLOG group to sned messages to| +NFLOG group to send messages to| unsigned integer (16 bit) |snaplen| Length of packet payload to include in netlink messages | unsigned integer (32 bit) |queue-threshold| -Number of packets to queue inside the kernel before sending them to userpace | +Number of packets to queue inside the kernel before sending them to userspace | unsigned integer (32 bit) |================================== @@ -293,7 +293,7 @@ packet should be modified. While *snat* is only valid in the postrouting and input chains, *masquerade* makes sense only in postrouting. The dnat and redirect statements are only valid in the prerouting and output chains, they specify that the destination address of the packet should be modified. You can -use nonbase chains which are called from base chains of nat chain type too. +use non-base chains which are called from base chains of nat chain type too. All future packets in this connection will also be mangled, and rules should cease being examined. -- cgit v1.2.3