summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw.8
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-06-08 14:32:29 +0000
committerluigi <luigi@FreeBSD.org>2009-06-08 14:32:29 +0000
commitbf5db0adae861610024694b3fc7c339e0f2cd621 (patch)
tree840b2805e4318857276c020c7f0604c97f1f151a /sbin/ipfw/ipfw.8
parent66aa1d7eeb5ce07985741f334e7e121ee058c568 (diff)
downloadFreeBSD-src-bf5db0adae861610024694b3fc7c339e0f2cd621.zip
FreeBSD-src-bf5db0adae861610024694b3fc7c339e0f2cd621.tar.gz
Permit the specification of bandwidth values within
"profile" files (bandwidth is mandatory when using a profile, so it makes sense to have everything in one place). Update the manpage accordingly. Submitted by: Marta Carbone
Diffstat (limited to 'sbin/ipfw/ipfw.8')
-rw-r--r--sbin/ipfw/ipfw.826
1 files changed, 15 insertions, 11 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 58985cd..9777272 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1973,22 +1973,26 @@ that represents its distribution.
The empirical curve may have both vertical and horizontal lines.
Vertical lines represent constant delay for a range of
probabilities.
-Horizontal lines correspond to a discontinuty in the delay
+Horizontal lines correspond to a discontinuity in the delay
distribution: the pipe will use the largest delay for a
given probability.
.Pp
The file format is the following, with whitespace acting as
a separator and '#' indicating the beginning a comment:
.Bl -tag -width indent
-.It Cm samples Ar N
-the number of samples used in the internal
-representation (2..1024; default 100);
+.It Cm name Ar identifier
+optional name (listed by "ipfw pipe show")
+to identify the delay distribution;
+.It Cm bw Ar value
+the bandwidth used for the pipe.
+If not specified here, it must be present
+explicitly as a configuration parameter for the pipe;
.It Cm loss-level Ar L
-The probability above which packets are lost.
+the probability above which packets are lost.
(0.0 <= L <= 1.0, default 1.0 i.e. no loss);
-.It Cm name Ar identifier
-Optional a name (listed by "ipfw pipe show")
-to identify the distribution;
+.It Cm samples Ar N
+the number of samples used in the internal
+representation of the curve (2..1024; default 100);
.It Cm "delay prob" | "prob delay"
One of these two lines is mandatory and defines
the format of the following lines with data points.
@@ -1997,9 +2001,9 @@ the format of the following lines with data points.
with either delay or probability first, according
to the chosen format.
The unit for delay is milliseconds.
-Data points do not need to be ordered or equal to the number
-specified in the "samples" line.
-The
+Data points do not need to be sorted.
+Also, tne number of actual lines can be different
+from the value of the "samples" parameter:
.Nm
utility will sort and interpolate
the curve as needed.
OpenPOWER on IntegriCloud