summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/dummynet.4 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man4/dummynet.4 3.html')
-rw-r--r--static/freebsd/man4/dummynet.4 3.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/static/freebsd/man4/dummynet.4 3.html b/static/freebsd/man4/dummynet.4 3.html
new file mode 100644
index 00000000..9bc4c22d
--- /dev/null
+++ b/static/freebsd/man4/dummynet.4 3.html
@@ -0,0 +1,81 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">DUMMYNET(4)</td>
+ <td class="head-vol">Device Drivers Manual</td>
+ <td class="head-rtitle">DUMMYNET(4)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">dummynet</code> &#x2014; <span class="Nd">traffic
+ shaper, bandwidth manager and delay emulator</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The <code class="Nm">dummynet</code> system facility permits the
+ control of traffic going through the various network interfaces, by applying
+ bandwidth and queue size limitations, implementing different scheduling and
+ queue management policies, and emulating delays and losses.</p>
+<p class="Pp">The user interface for <code class="Nm">dummynet</code> is
+ implemented by the <a class="Xr">dnctl(8)</a> utility, so please refer to
+ the <a class="Xr">dnctl(8)</a> manpage for a complete description of the
+ <code class="Nm">dummynet</code> capabilities and how to use it.</p>
+<section class="Ss">
+<h2 class="Ss" id="Kernel_Options"><a class="permalink" href="#Kernel_Options">Kernel
+ Options</a></h2>
+<p class="Pp">The following options in the kernel configuration file are related
+ to <code class="Nm">dummynet</code> operation:</p>
+<p class="Pp"></p>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt id="IPFIREWALL"><a class="permalink" href="#IPFIREWALL"><code class="Dv">IPFIREWALL</code></a></dt>
+ <dd>enable ipfirewall (if <code class="Nm">dummynet</code> is to be used with
+ ipfw)</dd>
+ <dt id="IPFIREWALL_VERBOSE"><a class="permalink" href="#IPFIREWALL_VERBOSE"><code class="Dv">IPFIREWALL_VERBOSE</code></a></dt>
+ <dd>enable firewall output</dd>
+ <dt id="IPFIREWALL_VERBOSE_LIMIT"><a class="permalink" href="#IPFIREWALL_VERBOSE_LIMIT"><code class="Dv">IPFIREWALL_VERBOSE_LIMIT</code></a></dt>
+ <dd>limit firewall output</dd>
+ <dt id="DUMMYNET"><a class="permalink" href="#DUMMYNET"><code class="Dv">DUMMYNET</code></a></dt>
+ <dd>enable <code class="Nm">dummynet</code> operation</dd>
+ <dt id="HZ"><a class="permalink" href="#HZ"><code class="Dv">HZ</code></a></dt>
+ <dd>set the timer granularity</dd>
+</dl>
+</div>
+<p class="Pp">Generally, the following options are required:</p>
+<div class="Bd Pp Bd-indent Li">
+<pre>options IPFIREWALL
+options DUMMYNET
+options HZ=1000 # strongly recommended</pre>
+</div>
+<p class="Pp">Additionally, one may want to increase the number of mbuf clusters
+ (used to store network packets) according to the sum of the bandwidth-delay
+ products and queue sizes of all configured pipes.</p>
+</section>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">setsockopt(2)</a>, <a class="Xr">if_bridge(4)</a>,
+ <a class="Xr">ip(4)</a>, <a class="Xr">pf.conf(5)</a>,
+ <a class="Xr">dnctl(8)</a>, <a class="Xr">ipfw(8)</a>,
+ <a class="Xr">sysctl(8)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The <code class="Nm">dummynet</code> facility was initially
+ implemented as a testing tool for TCP congestion control by
+ <span class="An">Luigi Rizzo</span>
+ &lt;<a class="Mt" href="mailto:luigi@iet.unipi.it">luigi@iet.unipi.it</a>&gt;,
+ as described on ACM Computer Communication Review, Jan.97 issue. Later it
+ has been modified to work at the IP and bridging levels, integrated with the
+ <a class="Xr">ipfw(4)</a> packet filter, and extended to support multiple
+ queueing and scheduling policies.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">September 10, 2021</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>