From c60bda17f2a9ed4a8c1ef6483ee7b8f207de7129 Mon Sep 17 00:00:00 2001 From: Joel Dahl Date: Tue, 13 Nov 2012 20:41:36 +0000 Subject: Updates for netgraph node manual pages. Discussed with: glebius Submitted by: Mamontov Roman --- share/man/man4/ng_patch.4 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'share/man/man4/ng_patch.4') 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. -- cgit v1.2.3