From cdb5655ee44da4113d1ee72fbd6afa6ca4ffaa14 Mon Sep 17 00:00:00 2001 From: Arushi Singhal Date: Tue, 31 Jul 2018 19:04:33 +0530 Subject: doc: correct some typos in asciidoc Correct some typo mistakes done while converting man page source to asciidoc. Signed-off-by: Arushi Singhal Signed-off-by: Pablo Neira Ayuso --- doc/data-types.txt | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) (limited to 'doc/data-types.txt') 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| -- cgit v1.2.3