diff options
author | Joel Dahl <joel@FreeBSD.org> | 2012-11-13 20:41:36 +0000 |
---|---|---|
committer | Joel Dahl <joel@FreeBSD.org> | 2012-11-13 20:41:36 +0000 |
commit | c60bda17f2a9ed4a8c1ef6483ee7b8f207de7129 (patch) | |
tree | c5b2cb36e2caf23c2f1c4a8c6cda36449a7c51f5 /share/man/man4/ng_one2many.4 | |
parent | 8f19da81d1d2e3c3514f05b615314915b9c4a16c (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_one2many.4')
-rw-r--r-- | share/man/man4/ng_one2many.4 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/share/man/man4/ng_one2many.4 b/share/man/man4/ng_one2many.4 index 948b763f911c..288ea1868785 100644 --- a/share/man/man4/ng_one2many.4 +++ b/share/man/man4/ng_one2many.4 @@ -34,7 +34,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 1, 2011 +.Dd November 13, 2012 .Dt NG_ONE2MANY 4 .Os .Sh NAME @@ -107,7 +107,7 @@ In the future other algorithms may be added as well. The node distinguishes between active and failed links. Data is sent only to active links. The following link failure detection algorithms are available: -.Bl -tag -width indent +.Bl -tag -width foo .It Dv NG_ONE2MANY_FAIL_MANUAL The node is explicitly told which of the links are up via the .Dv NGM_ONE2MANY_SET_CONFIG @@ -149,7 +149,7 @@ plus a single hook named This node type supports the generic control messages, plus the following: .Bl -tag -width foo -.It Dv NGM_ONE2MANY_SET_CONFIG +.It Dv NGM_ONE2MANY_SET_CONFIG Pq Ic setconfig Sets the node configuration using a .Dv "struct ng_one2many_link_config" as the control message argument: @@ -174,10 +174,10 @@ are .Dv NG_ONE2MANY_FAIL_MANUAL (default) or .Dv NG_ONE2MANY_FAIL_NOTIFY . -.It Dv NGM_ONE2MANY_GET_CONFIG +.It Dv NGM_ONE2MANY_GET_CONFIG Pq Ic getconfig Returns the current node configuration in a .Dv "struct ng_one2many_link_config" . -.It Dv NGM_ONE2MANY_GET_STATS +.It Dv NGM_ONE2MANY_GET_STATS Pq Ic getstats This command takes a 32 bit link number as an argument and returns a .Dv "struct ng_one2many_link_stats" @@ -191,6 +191,7 @@ struct ng_one2many_link_stats { uint64_t recvPackets; /* total pkts rec'd on link */ uint64_t xmitOctets; /* total octets xmit'd on link */ uint64_t xmitPackets; /* total pkts xmit'd on link */ + uint64_t memoryFailures; /* times couldn't get mem or mbuf */ }; .Ed .Pp @@ -198,10 +199,10 @@ To access statistics for the .Dv one link, use the link number .Dv -1 . -.It Dv NGM_ONE2MANY_CLR_STATS +.It Dv NGM_ONE2MANY_CLR_STATS Pq Ic clrstats This command takes a 32 bit link number as an argument and clears the statistics for that link. -.It Dv NGM_ONE2MANY_GETCLR_STATS +.It Dv NGM_ONE2MANY_GETCLR_STATS Pq Ic getclrstats Same as .Dv NGM_ONE2MANY_GET_STATS , but also atomically clears the statistics for the link as well. |