diff options
author | Arushi Singhal <arushisinghal19971997@gmail.com> | 2018-07-31 19:04:33 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-03 17:58:04 +0200 |
commit | cdb5655ee44da4113d1ee72fbd6afa6ca4ffaa14 (patch) | |
tree | 26d3de71f4bc9e040b51706435359e05b33b01ee /doc/data-types.txt | |
parent | 9ea0401e385e1dd3f1579a4e772aa876a5e21288 (diff) |
doc: correct some typos in asciidoc
Correct some typo mistakes done while converting man page source to
asciidoc.
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/data-types.txt')
-rw-r--r-- | doc/data-types.txt | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/doc/data-types.txt b/doc/data-types.txt index 57aa3a40..2c6108fb 100644 --- a/doc/data-types.txt +++ b/doc/data-types.txt @@ -136,30 +136,18 @@ The boolean type is a syntactical helper type in user space. It's use is in the right-hand side of a (typically implicit) relational expression to change the expression on the left-hand side into a boolean check (usually for existence). + -The following keywords will automatically resolve into a boolean type with given value: -The bitmask type (bitmask) is used for bitmasks. +.The following keywords will automatically resolve into a boolean type with given value [options="header"] |================== |Keyword | Value -|exits | +|exists | 1 | missing | 0 |=================== -[options="header"] -|====================================== -|Expression | Behaviour -|fib | -Check route existence. -|exthdr| -Check IPv6 extension header existence. -|tcp option | -Check TCP option header existence. -|=================== - -.expressions support a boolean comparison: +.expressions support a boolean comparison [options="header"] |====================================== |Expression | Behaviour @@ -242,15 +230,15 @@ ICMP CODE TYPE [options="header"] |================== |Name | Keyword | Size | Base type -|ICMP Type | -icmp_type | +|ICMP Code | +icmp_code | 8 bit | integer |=================== The ICMP Code type is used to conveniently specify the ICMP header's code field. -.Keywords may be used when specifying the ICMP type +.Keywords may be used when specifying the ICMP code [options="header"] |================== |Keyword | Value @@ -339,7 +327,7 @@ ICMPV6 CODE TYPE |================== |Name | Keyword | Size | Base type |ICMPv6 Code | -icmpv6_type | +icmpv6_code | 8 bit | integer |=================== @@ -412,7 +400,7 @@ ct_status| 4 byte| bitmask |conntrack event bits| -ct_events | +ct_event | 4 byte | bitmask |conntrack label| @@ -456,7 +444,7 @@ For each of the types above, keywords are available for convenience: |expected| 1 |seen-reply| -1 +2 |assured| 4 |confirmed| |