summaryrefslogtreecommitdiffstats
path: root/doc/payload-expression.txt
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2018-08-06 11:14:48 +1000
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-06 13:09:35 +0200
commitb8fc1f0e39d2ffc18c5db1b129b10f2bfe77e708 (patch)
tree18533591a783da9c3090a096d2ed3c8462db803e /doc/payload-expression.txt
parent7f966efb412b475e844853e780e29eef49bcad15 (diff)
doc: Changes following detailed comparison with last XML version
These were found by a combination of tkdiff and side-by-side man pages Most changes preserve or (occasionally) fix highlighting, casing or plurality. No major omissions were found. - data-types.txt: (Nothing special) - nft.txt: -- changed "`nft' stands for Netfilter" back to "`nf' stands for Netfilter" -- removed mysterious plus sign - payload-expression.txt: -- XML had MTU as 16-bit so changed back from 32. Is that correct? - primary-expression.txt: (Nothing special) - statements.txt: (Nothing special) This patch does not address any of the following observations: 1. Title has changed from nft to NFT 2. There is no attempt at justification. 3. There is no attempt at hyphenation. 4. Long lines of code now wrap instead of indenting nicely. See e.g. "tcp option" line under EXTENSION HEADER EXPRESSIONS 5. Tables have a lot of empty lines in them. 6. Occasionally there is severe wrapping, e.g. under CHAINS see add/create/delete/&c. which wrap at about cc40. Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/payload-expression.txt')
-rw-r--r--doc/payload-expression.txt40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/payload-expression.txt b/doc/payload-expression.txt
index 8fc1c917..b67818b6 100644
--- a/doc/payload-expression.txt
+++ b/doc/payload-expression.txt
@@ -70,7 +70,7 @@ arp_op
IPV4 HEADER EXPRESSION
~~~~~~~~~~~~~~~~~~~~~~
[verse]
-ip ['IPv4' 'header' 'field']
+*ip* ['IPv4' 'header' 'field']
.IPv4 header expression
[options="header"]
@@ -117,7 +117,7 @@ ipv4_addr
ICMP HEADER EXPRESSION
~~~~~~~~~~~~~~~~~~~~~~
[verse]
-icmp ['ICMP' 'header' 'field']
+*icmp* ['ICMP' 'header' 'field']
.ICMP header expression
[options="header"]
@@ -131,7 +131,7 @@ ICMP code field |
integer (8 bit)
|checksum|
ICMP checksum field |
-integer (16 nit)
+integer (16 bit)
|id|
ID of echo request/response |
integer (16 bit)
@@ -143,19 +143,19 @@ gateway of redirects|
integer (32 bit)
|mtu|
MTU of path MTU discovery|
-integer (32 bit)
+integer (16 bit)
|============================
IPV6 HEADER EXPRESSION
~~~~~~~~~~~~~~~~~~~~~~
[verse]
-ip6 ['IPv6' 'header' 'field']
+*ip6* ['IPv6' 'header' 'field']
-This expression refers to the ipv6 header fields. Caution when using ip6
-nexthdr, the value only refers to the next header, i.e. ip6 nexthdr tcp will
+This expression refers to the ipv6 header fields. Caution when using *ip6
+nexthdr*, the value only refers to the next header, i.e. *ip6 nexthdr tcp* will
only match if the ipv6 packet does not contain any extension headers. Packets
that are fragmented or e.g. contain a routing extension headers will not be
-matched. Please use meta l4proto if you wish to match the real transport header
+matched. Please use *meta l4proto* if you wish to match the real transport header
and ignore any additional extension headers instead.
.IPv6 header expression
@@ -192,12 +192,12 @@ ipv6_addr
|=======================
*matching if first extension header indicates a fragment* +
-ip6 nexthdr ipv6-frag counter
+*ip6* nexthdr ipv6-frag counter
ICMPV6 HEADER EXPRESSION
~~~~~~~~~~~~~~~~~~~~~~~~
[verse]
-icmpv6 ['ICMPv6' 'header' 'field']
+*icmpv6* ['ICMPv6' 'header' 'field']
.ICMPv6 header expression
[options="header"]
@@ -232,14 +232,14 @@ integer (16 bit)
TCP HEADER EXPRESSION
~~~~~~~~~~~~~~~~~~~~~
[verse]
-tcp ['TCP' 'header' 'field']
+*tcp* ['TCP' 'header' 'field']
.TCP header expression
[options="header"]
|==================
|Keyword| Description| Type
|sport|
-source port|
+Source port|
inet_service
|dport|
Destination port|
@@ -258,12 +258,12 @@ Reserved area |
integer (4 bit)
|flags|
TCP flags|
-tcp_flags
+tcp_flag
|window|
Window|
integer (16 bit)
|checksum|
-checksum|
+Checksum|
integer (16 bit)
|urgptr|
Urgent pointer|
@@ -273,14 +273,14 @@ integer (16 bit)
UDP HEADER EXPRESSION
~~~~~~~~~~~~~~~~~~~~~
[verse]
-udp ['UDP' 'header' 'field']
+*udp* ['UDP' 'header' 'field']
.UDP header expression
[options="header"]
|==================
|Keyword| Description| Type
|sport|
-source port|
+Source port|
inet_service
|dport|
Destination port|
@@ -303,7 +303,7 @@ UDP-LITE HEADER EXPRESSION
|==================
|Keyword| Description| Type
|sport|
-source port|
+Source port|
inet_service
|dport|
Destination port|
@@ -323,7 +323,7 @@ SCTP HEADER EXPRESSION
|==================
|Keyword| Description| Type
|sport|
-source port|
+Source port|
inet_service
|dport|
Destination port|
@@ -346,7 +346,7 @@ DCCP HEADER EXPRESSION
|==================
|Keyword| Description| Type
|sport|
-source port|
+Source port|
inet_service
|dport|
Destination port|
@@ -604,7 +604,7 @@ integer (64 bit)
byte count seen, see description for *packets* keyword |
integer (64 bit)
|avgpkt|
-average bytes per packet, see description for packets keyword |
+average bytes per packet, see description for *packets* keyword |
integer (64 bit)
|zone|
conntrack zone |