aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/ng_patch.4
diff options
context:
space:
mode:
authorJoel Dahl <joel@FreeBSD.org>2012-11-13 20:41:36 +0000
committerJoel Dahl <joel@FreeBSD.org>2012-11-13 20:41:36 +0000
commitc60bda17f2a9ed4a8c1ef6483ee7b8f207de7129 (patch)
treec5b2cb36e2caf23c2f1c4a8c6cda36449a7c51f5 /share/man/man4/ng_patch.4
parent8f19da81d1d2e3c3514f05b615314915b9c4a16c (diff)
Updates for netgraph node manual pages.
Discussed with: glebius Submitted by: Mamontov Roman <mr.xanto@gmail.com>
Notes
Notes: svn path=/head/; revision=242997
Diffstat (limited to 'share/man/man4/ng_patch.4')
-rw-r--r--share/man/man4/ng_patch.414
1 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man4/ng_patch.4 b/share/man/man4/ng_patch.4
index b1ddf4aebd7c..db7ede54025f 100644
--- a/share/man/man4/ng_patch.4
+++ b/share/man/man4/ng_patch.4
@@ -57,7 +57,7 @@ bytes beginning from
are taken as a single integer in network byte order.
.Sh HOOKS
This node type has two hooks:
-.Bl -tag -width indent
+.Bl -tag -width ".Va out"
.It Va in
Packets received on this hook are modified according to rules specified
in config and then forwarded to
@@ -73,8 +73,8 @@ hook without any changes.
.El
.Sh CONTROL MESSAGES
This node type supports the generic control messages, plus the following:
-.Bl -tag -width indent
-.It Dv NGM_PATCH_SETCONFIG Pq Li setconfig
+.Bl -tag -width foo
+.It Dv NGM_PATCH_SETCONFIG Pq Ic setconfig
This command sets the sequence of modify operations
that will be applied to incoming data on a hook.
The following
@@ -115,16 +115,16 @@ corresponding checksum before transmitting packet on output interface.
The
.Nm
node does not do any checksum correction by itself.
-.It Dv NGM_PATCH_GETCONFIG Pq Li getconfig
+.It Dv NGM_PATCH_GETCONFIG Pq Ic getconfig
This control message obtains current set of modify operations,
returned as
.Vt "struct ng_patch_config" .
-.It Dv NGM_PATCH_GET_STATS Pq Li getstats
+.It Dv NGM_PATCH_GET_STATS Pq Ic getstats
Returns node statistics as a
.Vt "struct ng_patch_stats" .
-.It Dv NGM_PATCH_CLR_STATS Pq Li clrstats
+.It Dv NGM_PATCH_CLR_STATS Pq Ic clrstats
Clear node statistics.
-.It Dv NGM_PATCH_GETCLR_STATS Pq Li getclrstats
+.It Dv NGM_PATCH_GETCLR_STATS Pq Ic getclrstats
This command is identical to
.Dv NGM_PATCH_GET_STATS ,
except that the statistics are also atomically cleared.