diff mbox

[nft,2/3] doc: add description about log flags

Message ID 1474794421-5365-3-git-send-email-zlpnobody@163.com
State Changes Requested
Delegated to: Pablo Neira
Headers show

Commit Message

Liping Zhang Sept. 25, 2016, 9:07 a.m. UTC
From: Liping Zhang <liping.zhang@spreadtrum.com>

Update usage description about tcpseq, tcpopt, ipopt, uid and macdecode
flags in log statement.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
---
 doc/nft.xml | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
diff mbox

Patch

diff --git a/doc/nft.xml b/doc/nft.xml
index 3b215f8..f4b21de 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -2238,6 +2238,7 @@  ip forward ip dscp set 42
 					<replaceable>quoted_string</replaceable></arg>
 					<arg choice="opt">level
 					<replaceable>syslog-level</replaceable></arg>
+					<arg choice="opt">tcpseq,tcpopt,ipopt,uid,macdecode</arg>
 				</cmdsynopsis>
 				<cmdsynopsis>
 					<command>log</command>
@@ -2297,6 +2298,41 @@  ip forward ip dscp set 42
 						</tbody>
 					</tgroup>
 				</table>
+				<table frame="all">
+					<title>log statement flags</title>
+					<tgroup cols='2' align='left' colsep='1' rowsep='1'>
+						<colspec colname='c1'/>
+						<colspec colname='c2'/>
+						<thead>
+							<row>
+								<entry>Flag</entry>
+								<entry>Description</entry>
+							</row>
+						</thead>
+						<tbody>
+							<row>
+								<entry>tcpseq</entry>
+								<entry>Log TCP sequence numbers.</entry>
+							</row>
+							<row>
+								<entry>tcpopt</entry>
+								<entry>Log options from the TCP packet header.</entry>
+							</row>
+							<row>
+								<entry>ipopt</entry>
+								<entry>Log options from the IP/IPv6 packet header.</entry>
+							</row>
+							<row>
+								<entry>uid</entry>
+								<entry>Log the userid of the process which generated the packet.</entry>
+							</row>
+							<row>
+								<entry>macdecode</entry>
+								<entry>Decode MAC addresses and protocol.</entry>
+							</row>
+						</tbody>
+					</tgroup>
+				</table>
 			</para>
                 </refsect2>
 		<refsect2>