summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_queues_edit.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-06-13 04:04:29 +0000
committerBill Marquette <billm@pfsense.org>2005-06-13 04:04:29 +0000
commit253ac60654918dc1227b1000971e55f0306c1716 (patch)
tree0d10523a967dfba84548fa8f8fe8dd737490a6a2 /usr/local/www/firewall_shaper_queues_edit.php
parent13c36e33177a884c66301053fa5fafd9045c4859 (diff)
downloadpfsense-253ac60654918dc1227b1000971e55f0306c1716.zip
pfsense-253ac60654918dc1227b1000971e55f0306c1716.tar.gz
Allow for ACK queue creation
Diffstat (limited to 'usr/local/www/firewall_shaper_queues_edit.php')
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index 42483cc..eca3f10 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -59,6 +59,7 @@ if (isset($id)) {
$pconfig['mask'] = $a_queues[$id]['mask'];
$pconfig['name'] = $a_queues[$id]['name'];
$pconfig = $a_queues[$id];
+ $pconfig['ack'] = $a_queues[$id]['ack'];
$pconfig['red'] = $a_queues[$id]['red'];
$pconfig['ecn'] = $a_queues[$id]['ecn'];
$pconfig['rio'] = $a_queues[$id]['rio'];
@@ -126,6 +127,7 @@ if ($_POST) {
$queue['attachtoqueue'] = $_POST['attachtoqueue'];
$queue['associatedrule'] = $_POST['associatedrule'];
$scheduleroptions="";
+ $queue['ack'] = $_POST['ack'];
$queue['rio'] = $_POST['rio'];
$queue['red'] = $_POST['red'];
$queue['ecn'] = $_POST['ecn'];
@@ -164,6 +166,7 @@ if ($_POST) {
<?php include("fbegin.inc"); ?>
<?php
+ $ack = $pconfig["ack"];
$red = $pconfig["red"];
$ecn = $pconfig["ecn"];
$rio = $pconfig["rio"];
@@ -243,6 +246,7 @@ if ($_POST) {
<?php if ($schedulertype == "cbq"): ?>
<input type="checkbox" id="borrow" name="borrow" <?php if($borrow) echo " CHECKED";?> > Borrow from other queues when available<br>
<? endif; ?>
+ <input type="checkbox" id="ack" name="ack" <?php if(isset($ack)) echo " CHECKED";?> > ACK/low-delay queue. At least one queue per interface should have this checked.<br>
<input type="checkbox" id="red" name="red" <?php if($red) echo " CHECKED";?> > <a target="_new" href="http://www.openbsd.org/faq/pf/queueing.html#red">Random Early Detection</a><br>
<input type="checkbox" id="rio" name="rio" <?php if($rio) echo " CHECKED";?> > <a target="_new" href="http://www.openbsd.org/faq/pf/queueing.html#red">Random Early Detection In and Out</a><br>
<input type="checkbox" id="ecn" name="ecn" <?php if($ecn) echo " CHECKED";?> > <a target="_new" href="http://www.openbsd.org/faq/pf/queueing.html#ecn">Explicit Congestion Notification</a><br>
OpenPOWER on IntegriCloud