summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_one2many.4
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-02-20 09:52:26 +0000
committerpjd <pjd@FreeBSD.org>2004-02-20 09:52:26 +0000
commitb77fa6507ada80049a1111f6a693f086d1d92384 (patch)
treeae385fee35c247085f5e5ef97af066054c9ae386 /share/man/man4/ng_one2many.4
parent4a0eb3ce03d54ff9fbd72770cfd1c15a032c3393 (diff)
downloadFreeBSD-src-b77fa6507ada80049a1111f6a693f086d1d92384.zip
FreeBSD-src-b77fa6507ada80049a1111f6a693f086d1d92384.tar.gz
New failure detection algorithm was backed out, so backout manual
page change as well. Requested by: scottl (mentor)
Diffstat (limited to 'share/man/man4/ng_one2many.4')
-rw-r--r--share/man/man4/ng_one2many.438
1 files changed, 12 insertions, 26 deletions
diff --git a/share/man/man4/ng_one2many.4 b/share/man/man4/ng_one2many.4
index a5ab747..1238680 100644
--- a/share/man/man4/ng_one2many.4
+++ b/share/man/man4/ng_one2many.4
@@ -99,20 +99,15 @@ hook.
.Pp
In the future other algorithms may be added as well.
.Sh LINK FAILURE DETECTION
-.Bl -tag -width foo
-.It NG_ONE2MANY_FAIL_MANUAL
-The node is explicitly told which of the links are up via the
+At this time, the only algorithm for determining when a link
+has failed, other than the hook being disconnected, is the
+``manual'' algorithm: the node is explicitly told which of
+the links are up via the
.Dv NGM_ONE2MANY_SET_CONFIG
control message (see below).
Newly connected links are down until configured otherwise.
-.It NG_ONE2MANY_FAIL_IFACE_LINK
-In every ''interval'' seconds (where
-.Dv interval
-is defined with
-.Dv NGM_ONE2MANY_SET_CONFIG
-control message (see below))
-status of all defined links are checked and only active links
-are used for data transfer.
+.Pp
+In the future other algorithms may be added as well.
.Sh HOOKS
This node type supports up to
.Dv NG_ONE2MANY_MAX_LINKS
@@ -135,23 +130,20 @@ as the control message argument:
struct ng_one2many_config {
u_int32_t xmitAlg; /* how to distribute packets */
u_int32_t failAlg; /* how to detect link failure */
- u_int32_t interval; /* how often check links status */
u_char enabledLinks[NG_ONE2MANY_MAX_LINKS];
};
.Ed
.Pp
-Currently, the valid setting for the
+Currently, the only valid setting for the
.Dv xmitAlg
field is
-.Dv NG_ONE2MANY_XMIT_ROUNDROBIN
-(default) or
-.Dv NG_ONE2MANY_XMIT_ALL .
-The valid setting for
+.Dv NG_ONE2MANY_XMIT_ROUNDROBIN ;
+this is also the default setting.
+The only valid setting for
.Dv failAlg
is
-.Dv NG_ONE2MANY_FAIL_MANUAL
-(default) or
-.Dv NG_ONE2MANY_FAIL_IFACE_LINK .
+.Dv NG_ONE2MANY_FAIL_MANUAL ;
+this is also the default setting.
.It Dv NGM_ONE2MANY_GET_CONFIG
Returns the current node configuration in a
.Dv "struct ng_one2many_link_config" .
@@ -218,9 +210,6 @@ through
ngctl msg fxp0:upper \\
setconfig "{ xmitAlg=1 failAlg=1 enabledLinks=[ 1 1 1 1 ] }"
- # Or
- ngctl msg fxp0:upper \\
- setconfig "{ xmitAlg=1 failAlg=2 interval=3 }"
# Bring up interface
@@ -255,6 +244,3 @@ netgraph node (with round-robin algorithm) was written by
The all algorithm was added by
.An Rogier R. Mulhuijzen
.Aq drwilco@drwilco.net .
-The interface_link failure detection algorithm was added by
-.An Pawel Jakub Dawidek
-.Aq pjd@FreeBSD.org .
OpenPOWER on IntegriCloud